Home / News / Long-context price tiers

Long prompts cost more: the context-length price tiers on Claude, Grok and Gemini

Some APIs charge a higher rate once a prompt passes a size threshold, and the higher rate then applies to every token in that request. A prompt one token over the line can cost several times more than one just under it.

5.1×Claude Haiku 5.5: cost jump at 100K
2.0×Grok 4.7: cost jump at 200K
2.0×Gemini 3.1 Pro Preview: cost jump at 200K

Published Dec 6, 2026 · Prices checked against official pages · Sources at the end

Where the thresholds are

ModelThresholdBelow (in / out)Above (in / out)
Claude Haiku 5.5100K tokens$0.10 / $0.50$0.50 / $2.50
Grok 4.7200K tokens$2.00 / $6.00$4.00 / $12.00
Gemini 3.1 Pro Preview200K tokens$2.00 / $12.00$4.00 / $18.00

USD per 1M tokens. Anthropic counts cache reads and writes toward Haiku 5.5's threshold. xAI says Grok 4.7's higher rate applies to all tokens in the request once the threshold is reached. Gemini 3.1 Pro Preview is a preview model.

What one long request costs

A request with a prompt 1,000 tokens under each threshold, compared with one 1,000 tokens over, both producing 1,000 tokens of output:

ModelJust underJust overJump
Claude Haiku 5.5$0.010$0.0535.1×
Grok 4.7$0.404$0.8162.0×
Gemini 3.1 Pro Preview$0.410$0.8222.0×

Haiku 5.5 has the steepest step: crossing 100K tokens multiplies the price of every token by five.

Not every model has a tier

Several current models show a single rate regardless of prompt length, including Claude Opus 5.5 and Sonnet 5.5, Gemini 3.8 Flash and Gemini 4 Carbon, as listed on their vendors' pricing pages when we checked. OpenAI's pricing page has separate short- and long-context views for its flagship models, so check the long-context rate there if your prompts are large.

How to stay under the line

  • Trim retrieved context. In retrieval apps, send fewer or shorter document chunks instead of whole files.
  • Summarise long histories. Replace old conversation turns with a short summary once a chat grows long.
  • Count before you send. Measure prompt size in code and route oversized requests to a flat-rate model.
  • Watch caching on Haiku 5.5. Cached tokens still count toward its 100K threshold.

Sources