LLM Context Window Comparison: GPT-6, Claude 5.5, Gemini 4, DeepSeek and Qwen
TL;DR: Most flagship models now list about a 1M-token context, but context window, maximum input and maximum output are three different limits, and some models charge more once a prompt crosses a threshold.
Most flagship models now advertise a context of about a million tokens, but “context window” hides three different limits and, for some models, a price jump. Here are the current numbers from each vendor’s own model pages and what they mean in practice.
Count your prompt’s tokens →All guides
Three numbers, not one
- Context window — the total number of tokens the model can handle in one request. On some models input and output share it (Google calls Gemini 4 Argon’s limit a “unified input and output token limit”).
- Maximum input — how much you can send. OpenAI lists it separately: GPT-6 models have a 1,050,000-token window but accept at most 922,000 input tokens.
- Maximum output — how much the model may generate in one response, including reasoning tokens on most thinking models. This is usually far smaller than the window.
The comparison (checked 2026-10-20)
| Model | Context window | Max output | Notes |
|---|---|---|---|
| gpt-6-astra | 1,050,000 | 128,000 | Max input 922,000; prompts >272K billed at 2× input, 1.5× output |
| gpt-6.1-sol | 1,050,000 | 128,000 | Max input 922,000; same long-prompt pricing |
| gpt-6-luna | 1,050,000 | 128,000 | Max input 922,000; same long-prompt pricing |
| gpt-5.3-codex | 400,000 | 128,000 | Max input 272,000 |
| Claude Fable 5.1 | 1M | 128K | Full 1M at standard pricing |
| Claude Opus 5.5 | 1M | 128K | Up to 300K output on the Batches API with a beta header |
| Claude Sonnet 5.5 | 1M | 128K | Up to 300K output on the Batches API with a beta header |
| Claude Haiku 5.5 | 1M | 128K | Prompts over 100K tokens pay higher prices |
| gemini-4-argon | 1,048,576 | 65,536 | Unified input+output limit; up to 1,048,576 output with long decode |
| gemini-3.8-flash | 1,048,576 (input) | 65,536 | |
| gemini-3.5-flash-lite | 1,048,576 (input) | 65,536 | |
| deepseek-v4-pro | 1M | 384K | |
| deepseek-flash | 1M | 384K | |
| qwen3.8-max | 1M | — | Output limit not listed on the overview page |
| qwen3.7-plus | 1M | — | Prompts over 256K billed at a higher tier |
| qwen3.8-flash | 1M | — |
Sources: OpenAI model pages (gpt-6-astra, gpt-6.1-sol, gpt-6-luna, gpt-5.3-codex), Anthropic models overview, Google model pages (gemini-4-argon, gemini-3.8-flash, gemini-3.5-flash-lite), DeepSeek models & pricing and Alibaba Cloud Model Studio text generation models. “1M” is written exactly as each vendor writes it.
Reading the output column
Output limits differ more than context windows do. OpenAI’s GPT-6 models and Anthropic’s current models allow 128K output tokens per synchronous request; DeepSeek lists up to 384K; Google’s Gemini models default to 65,536, with Gemini 4 Argon able to go further using long decode. On thinking models the reasoning tokens are generated output too, so a deep reasoning pass can use a large share of that budget before the visible answer starts. If you need a long document generated, check this column first — a 1M-token window does not help if the answer is capped at 64K.
How much text is a million tokens?
It depends on the tokenizer and the language. Anthropic says 1M tokens is roughly 555k words or 2.5M Unicode characters on Claude’s current tokenizer, while models before Claude Opus 4.7 fit about 750k words. Alibaba Cloud gives about 1.5 million Chinese characters per 1M tokens for Qwen, as an illustration only. Paste a representative document into the token counter to measure your own ratio.
Long context changes the price
A big window does not mean every token costs the same. Several models switch to a higher rate once a single prompt crosses a threshold, and that rate applies to the whole request:
- OpenAI GPT-6 family: prompts with more than 272K input tokens are priced at 2× input and cache rates and 1.5× output for the full request.
- Claude Haiku 5.5: a request whose prompt is over 100,000 tokens pays the higher price set; cache reads and writes count toward the prompt length. Anthropic says its other current models bill the full 1M window at standard rates.
- qwen3.7-plus: a separate price tier applies from 256K to 1M input tokens.
Our cost calculator picks the right tier from your average input size, so you can see the jump before it shows up on an invoice.
Check the size before you send
If a request might be close to a limit or a price threshold, count it first. OpenAI offers POST /v1/responses/input_tokens, Anthropic POST /v1/messages/count_tokens and Google models.countTokens; each counts the full request, including tools and attachments. Our tokens guide explains the differences. Every response’s usage field then tells you what was actually billed.
Matching the window to the job
| Workload | What usually matters |
|---|---|
| Chat and support bots | Price per token and latency; conversations rarely approach 100K tokens if you summarise history |
| Coding agents | Large window plus cheap cache hits, because the same files and instructions are re-sent on every step |
| Whole-document analysis | Maximum input, the long-prompt price tier, and enough output budget for the answer |
| Long generated reports | Maximum output (64K–384K across the models above), not the window |
Should you fill the window?
Usually not. Every token you send is billed on every request, larger prompts take longer to process, and the model has to find the relevant part among everything else. Practical rules:
- Retrieve, then send. Search or filter documents first and pass only the relevant chunks.
- Keep a stable prefix (system prompt, tool definitions, reference docs) at the start so prompt caching can make repeat requests cheaper — see our prompt caching guide.
- Leave room for the answer. Reserve the output (and reasoning) budget you need before you count how much input fits.
- Summarise long conversations instead of re-sending the entire history on every turn.
Numbers in this table change with new model releases. Each row links to the vendor page it came from — check it before you design around a limit.
Sources
Vendor features and prices were checked against these official pages on 2026-10-20. Products change; if something here no longer matches, the official page is right.
- OpenAI — GPT-6 Astra model page
https://developers.openai.com/api/docs/models/gpt-6-astra - OpenAI — GPT-6.1 Sol model page
https://developers.openai.com/api/docs/models/gpt-6.1-sol - OpenAI — GPT-6 Luna model page
https://developers.openai.com/api/docs/models/gpt-6-luna - OpenAI — GPT-5.3-Codex model page
https://developers.openai.com/api/docs/models/gpt-5.3-codex - Anthropic — Models overview
https://docs.anthropic.com/en/docs/about-claude/models/overview - Anthropic — Pricing (long context)
https://docs.anthropic.com/en/docs/about-claude/pricing - Google — Gemini 4 Argon
https://ai.google.dev/gemini-api/docs/models/gemini-4-argon - Google — Gemini 3.8 Flash
https://ai.google.dev/gemini-api/docs/models/gemini-3.8-flash - Google — Gemini 3.5 Flash-Lite
https://ai.google.dev/gemini-api/docs/models/gemini-3.5-flash-lite - DeepSeek — Models & pricing
https://api-docs.deepseek.com/quick_start/pricing - Alibaba Cloud Model Studio — Text generation models
https://www.alibabacloud.com/help/en/model-studio/text-generation-model - Alibaba Cloud Model Studio — Model pricing
https://www.alibabacloud.com/help/en/model-studio/model-pricing