Home / Guides / Long context pricing: what a 10,000-word prompt costs

Long context pricing: what a 10,000-word prompt costs

Sending a long document to a model is mostly an input bill. Context window size and input price decide who is cheap.

By Piotr Olszewski · Nov 10, 2026 · prices as of Nov 22, 2026

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:

ModelInput ($/1M)Cached input ($/1M)Context window (tokens)
DeepSeek V4.1 Flash0.0510.0181,048,576
GLM 5.30.070.0691,048,576
GPT-6 Luna0.100.011,050,000
Claude Haiku 5.50.100.011,000,000
Qwen3.8 Flash0.150.0161,000,000
GLM 5.3 Flash0.150.031,048,576
Mistral Small 40.150.015262,144
GPT-5.4 Nano0.200.02400,000
Command A+0.300.15192,000
Claude Sonnet 5.52.000.101,000,000
GPT-6.1 Sol2.000.101,050,000
Claude Opus 5.54.000.201,000,000
Claude Fable 5.110.000.251,000,000
GPT-6 Astra10.001.001,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¢.

#ModelCost per taskText scoreTokens in / outBasis
1Z.ai logo
GLM 5.3 FlashZ.ai
0.07¢$0.66 / 1,000
147612,995 / 1,814measured best value
2DeepSeek logo
DeepSeek V4.1 FlashDeepSeek
0.10¢$1.04 / 1,000
147612,970 / 1,992measured
3OpenAI logo
GPT-6 LunaOpenAI
0.16¢$1.57 / 1,000
144112,987 / 533measured
4Anthropic logo
Claude Haiku 5.5Anthropic
0.22¢$2.20 / 1,000
142518,004 / 790measured
5Alibaba Qwen logo
Qwen3.8 FlashAlibaba Qwen
0.32¢$3.21 / 1,000
-13,119 / 2,642measured
6OpenAI logo
GPT-5.4 NanoOpenAI
0.33¢$3.26 / 1,000
140112,987 / 533estimated
7Mistral logo
Mistral Small 4Mistral
0.33¢$3.31 / 1,000
-13,373 / 2,170estimated
8Z.ai logo
GLM 5.3Z.ai
0.34¢$3.45 / 1,000
148112,995 / 1,814estimated best value
9MiniMax logo
MiniMax M3MiniMax
0.47¢$4.72 / 1,000
143912,901 / 708measured
10Cohere logo
Command A+Cohere
0.49¢$4.95 / 1,000
-12,939 / 709estimated

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:

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.

Sources