From 875cecba74a3722cc8d490d3c65682f8ed82d122 Mon Sep 17 00:00:00 2001 From: Maternion <98753158+maternion@users.noreply.github.com> Date: Wed, 14 Jan 2026 14:31:28 +0530 Subject: [PATCH] docs: update default context window size to 4096 tokens (#13709) --- docs/faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.mdx b/docs/faq.mdx index 4237da41f..a751c0c3f 100644 --- a/docs/faq.mdx +++ b/docs/faq.mdx @@ -22,7 +22,7 @@ Please refer to the [GPU docs](./gpu). ## How can I specify the context window size? -By default, Ollama uses a context window size of 2048 tokens. +By default, Ollama uses a context window size of 4096 tokens. This can be overridden with the `OLLAMA_CONTEXT_LENGTH` environment variable. For example, to set the default context window to 8K, use: