Skip to content

LLM context window lookup ​

The context window decides how much a model can read at once: a long contract, a whole codebase, a book. Look it up here.

LookupLLM context window lookupOfficial model pages, as of 2026-11-23
Not sure? Count with the token counter →
  1. GPT-6.2 AstraOpenAI1.05MMax output 128Ksource
  2. GPT-6.2 SolOpenAI1.05MMax output 128Ksource
  3. GPT-6.1 TerraOpenAI1.05MMax output 128Ksource
  4. GPT-6 LunaOpenAI1.05MMax output 128Ksource
  5. Kimi K3 seriesMoonshot1,048,576Max output not listedsource
  6. Claude Fable 5.2Anthropic1MMax output 128Ksource
  7. Claude Opus 5.5Anthropic1MMax output 128Ksource
  8. Claude Sonnet 5.5Anthropic1MMax output 128Ksource
  9. Claude Haiku 5.5Anthropic1MMax output 128Ksource
  10. Gemini 4 CarbonGoogle1MMax output 64K / 1Msource
  11. Gemini 4 ArgonGoogle1MMax output 64K / 1Msource
  12. Gemini 4 NeonGoogle1MMax output 64K / 1Msource
  13. Gemini 4 HydrogenGoogle1MMax output 64K / 1Msource
  14. deepseek-flashDeepSeek1MMax output not listedsource
  15. deepseek-v4-proDeepSeek1MMax output not listedsource
  16. GLM-5.3Zhipu1MMax output 128Ksource
  17. GLM-5.3-FlashXZhipu1MMax output 128Ksource
  18. GLM-5.2Zhipu1MMax output 128Ksource
  19. Grok 4.7xAI500kMax output not listedsource
  20. Kimi K2 seriesMoonshot262,144Max output not listedsource
  21. Claude Haiku 4.5Anthropic200KMax output 64Ksource
  22. GLM-5.1Zhipu200KMax output 128Ksource
  23. GLM-4.7Zhipu200KMax output 128Ksource

How to read the table ​

  • Context: the token limit for input plus output in one request, written as on the official page (OpenAI says 1.05M, Kimi says 1,048,576).
  • Max output: the most tokens the model can generate in one response; "not listed" when the official page does not say. Gemini 4's page says "64K / 1M tokens", copied as is.
  • Fits or not: enter roughly how many tokens your content has; models that cannot hold it are dimmed. Count first with the token counter.
  • Local models: tick the box to show the context lengths listed in the Ollama library. Ollama only uses 4096 tokens by default, and longer contexts need more VRAM; see the GPU VRAM calculator.

Qwen and MiniMax are not included because the official pages we fetched do not list context lengths.

FAQ ​

Is a longer context always better? ​

A long context means the text fits, not that it is read well: longer prompts cost more, respond slower, and details in the middle can be missed. Sending only the relevant parts is usually better and cheaper.

What is the difference between context and max output? ​

The context window covers input plus output; max output caps how much of it can be generated. For long articles or code, check max output.

Discussion

Sign in with GitHub to comment. When asking for help, include your OS and the exact error message.

Updated:

gaodong.aiAboutPrivacyTermsContact

Created and maintained by Haorui Li, co-author of the KiT candlestick foundation model.

Independent tutorials, not affiliated with any product mentioned. Product names and trademarks belong to their owners. Check official pages for prices and policies.