A 10,023-word document costs between 0.16¢ and 22¢ to summarize in my runs, depending on the model. GPT-6 Luna was the cheapest at 0.16¢ per task, and Claude Fable 5.1 the most expensive at 22¢. For a document this size, the input price, the reasoning tokens and the tokenizer decide most of the cost. The context window is rarely the constraint.
The test document
The input was a 20-page PDF of 10,023 words, J. S. Mill's On Liberty. Each model received the full text and was asked for a summary. Most models counted between 12,741 and 13,954 input tokens. Claude models counted 18,004, because Anthropic's tokenizer produces more tokens for the same English text (a ratio of 1.39 against OpenAI's 1.00).
So the same document is not the same size for every model. A Claude model pays for more input tokens before price per token even enters the picture.
Reasoning tokens are billed as output tokens. Some models produced large reasoning counts on this task. DeepSeek V4.1 Flash used 1,565 and Qwen3.8 Flash used 2,141, which pushes up cost even when the input price is low.
Input prices and context windows
List prices per million tokens as of 2026-11-10, in USD:
| Model | Input ($/1M) | Cached input ($/1M) | Context window (tokens) |
|---|---|---|---|
| DeepSeek V4.1 Flash | 0.051 | 0.018 | 1,048,576 |
| GLM 5.3 | 0.07 | 0.069 | 1,048,576 |
| GPT-6 Luna | 0.10 | 0.01 | 1,050,000 |
| Claude Haiku 5.5 | 0.10 | 0.01 | 1,000,000 |
| Qwen3.8 Flash | 0.15 | 0.016 | 1,000,000 |
| GLM 5.3 Flash | 0.15 | 0.03 | 1,048,576 |
| Mistral Small 4 | 0.15 | 0.015 | 262,144 |
| GPT-5.4 Nano | 0.20 | 0.02 | 400,000 |
| Command A+ | 0.30 | 0.15 | 192,000 |
| Claude Sonnet 5.5 | 2.00 | 0.10 | 1,000,000 |
| GPT-6.1 Sol | 2.00 | 0.10 | 1,050,000 |
| Claude Opus 5.5 | 4.00 | 0.20 | 1,000,000 |
| Claude Fable 5.1 | 10.00 | 0.25 | 1,000,000 |
| GPT-6 Astra | 10.00 | 1.00 | 1,050,000 |
Cost per long prompt, ranked
This is the cost of one summarize-a-PDF task. The median across all 324 models is 0.83¢.
| # | Model | Cost per task | Text score | Tokens in / out | Basis | |
|---|---|---|---|---|---|---|
| 1 | GLM 5.3 FlashZ.ai | 0.07¢$0.66 / 1,000 | 1476 | 12,995 / 1,814 | measured best value | |
| 2 | DeepSeek V4.1 FlashDeepSeek | 0.10¢$1.04 / 1,000 | 1476 | 12,970 / 1,992 | measured | |
| 3 | GPT-6 LunaOpenAI | 0.16¢$1.57 / 1,000 | 1441 | 12,987 / 533 | measured | |
| 4 | Claude Haiku 5.5Anthropic | 0.22¢$2.20 / 1,000 | 1425 | 18,004 / 790 | measured | |
| 5 | Qwen3.8 FlashAlibaba Qwen | 0.32¢$3.21 / 1,000 | - | 13,119 / 2,642 | measured | |
| 6 | GPT-5.4 NanoOpenAI | 0.33¢$3.26 / 1,000 | 1401 | 12,987 / 533 | estimated | |
| 7 | Mistral Small 4Mistral | 0.33¢$3.31 / 1,000 | - | 13,373 / 2,170 | estimated | |
| 8 | GLM 5.3Z.ai | 0.34¢$3.45 / 1,000 | 1481 | 12,995 / 1,814 | estimated best value | |
| 9 | MiniMax M3MiniMax | 0.47¢$4.72 / 1,000 | 1439 | 12,901 / 708 | measured | |
| 10 | Command A+Cohere | 0.49¢$4.95 / 1,000 | - | 12,939 / 709 | estimated |
Featured models, cheapest to most expensive:
- GPT-6 Luna: 0.16¢ ($1.57 per 1,000 tasks), measured
- DeepSeek V4.1 Flash: 0.18¢ ($1.79 per 1,000), measured
- Claude Haiku 5.5: 0.22¢ ($2.20 per 1,000), measured
- GLM 5.3 Flash: 0.29¢ ($2.86 per 1,000), measured
- Qwen3.8 Flash: 0.32¢ ($3.21 per 1,000), measured
- GPT-5.4 Nano: 0.33¢ ($3.26 per 1,000), estimated
- Mistral Small 4: 0.33¢ ($3.31 per 1,000), estimated
- GLM 5.3: 0.34¢ ($3.45 per 1,000), estimated
- MiniMax M3: 0.47¢ ($4.72 per 1,000), measured
- Command A+: 0.49¢ ($4.95 per 1,000), estimated
- Mistral Large 4: 1.4¢ ($13.92 per 1,000), measured
- GPT-6.1 Sol: 3.1¢ ($31.05 per 1,000), measured
- Grok 4.7: 3.4¢ ($34.26 per 1,000), measured
- Claude Sonnet 5.5: 4.5¢ ($44.58 per 1,000), measured
- Claude Opus 5.5: 8.9¢ ($89.16 per 1,000), estimated
- GPT-6 Astra: 16¢ ($155.27 per 1,000), estimated
- Claude Fable 5.1: 22¢ ($222.89 per 1,000), estimated
The spread is wide. It comes from the price per token, the reasoning output and the tokenizer. Note that "measured" means I ran the model once with default settings, while "estimated" means the figure is derived from list prices and token counts. See the methodology for details.
One detail stands out. GLM 5.3 has the second-lowest input price in the table at $0.07, but its output price of $1.40 and 1,270 reasoning tokens keep it at 0.34¢ per task, behind GPT-6 Luna. Input price alone does not rank the models.
Is any context window too small?
No featured model is too small for this document. It needs between 12,741 and 18,004 input tokens depending on the tokenizer. The smallest window among the featured models is Command A+ at 192,000 tokens, followed by Mistral Small 4 and Nemotron 3 Ultra at 262,144. Every other featured model offers 400,000 tokens or more.
Window size starts to matter when the input is many times longer than this one, such as a large codebase, or when you data many documents into one request. For a single 20-page PDF, price and output behavior matter more.
Where input caching matters
Caching is a concept, not a discount to assume. When the same long text is sent repeatedly, a provider can bill the repeated part at a cached input rate instead of the standard input rate. The table above lists each model's cached rate.
It matters when a long prefix stays identical across calls, for example a manual that many user questions refer to. A one-off summary sends the document once, so caching does not change that task's cost. My per-task figures are single runs and do not model caching. For repeated-prefix workloads, compare the cached column, and see the RAG answer task for a shorter-context case.
Cheapest models for long documents
For summarizing a single long document, the cheapest models in my data are:
- GPT-6 Luna: 0.16¢ per task, 1,050,000 context
- DeepSeek V4.1 Flash: 0.18¢ per task, 1,048,576 context
- Claude Haiku 5.5: 0.22¢ per task, 1,000,000 context
If you want a stronger model from the higher tiers, GPT-6.1 Sol costs 3.1¢ per task and Claude Sonnet 5.5 costs 4.5¢. Both are far below Claude Fable 5.1 at 22¢.
To test your own document length and volume, use the calculator. The full task is at summarize PDF.
FAQ
Is a 10,023-word prompt too big for most models?
No. The 10,023-word document fit within every featured model's context window. The smallest featured window was 192,000 tokens.
Why do models cost so different amounts for the same document?
Input price per million tokens, reasoning tokens billed as output, and each provider's tokenizer all differ. Claude models counted 18,004 input tokens for this document, while most others counted between 12,741 and 13,954.
Does caching make long documents cheap?
It can lower the cost of a long prefix that is sent repeatedly. A document summarized once gets little benefit, and my per-task figures do not model caching.