Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Update context-length.mdx

Maternion6162374ca967
diff --git a/docs/context-length.mdx b/docs/context-length.mdx
index 6255bcd09..679137168 100644
--- a/docs/context-length.mdx
+++ b/docs/context-length.mdx
@@ -5,7 +5,10 @@ title: Context length
Context length is the maximum number of tokens that the model has access to in memory.
<Note>
- The default context length in Ollama is 4096 tokens.
+ Ollama defaults to the following context lengths based on VRAM:
+< 24 GiB VRAM: 4,096 context
+24-48 GiB VRAM: 32,768 context
+>= 48 GiB VRAM: 262,144 context
</Note>
Tasks which require large context like web search, agents, and coding tools should be set to at least 64000 tokens.