opyebCloudCostCal

The long-context cliff: 272,000 tokens and the bill after it

Long context is sold as a bigger window. In the price list it is a second, steeper price for everything in the request.

2026-11-28 · OPYEB

Four providers now ship context windows between 200,000 and 1,000,000 tokens. Almost all of them price the long window differently, and the detail that matters is buried in a footnote: when a prompt crosses the threshold, the higher rate applies to the whole request, not just the excess.

Where the thresholds are

ProviderThresholdShort-context in / outLong-context in / out
OpenAI GPT-6.2 Sol272k$2.00 / $10.00$4.00 / $15.00
OpenAI GPT-6.2 Astra272k$8.00 / $40.00$16.00 / $60.00
xAI Grok 4.7200k$2.00 / $6.00$4.00 / $12.00
Anthropic Claude Haiku 5.5100k$0.10 / $0.50$0.50 / $2.50

Claude Opus 5.5, Sonnet 5.5 and Fable 5.2 publish a separate long-context tier on their 1M-token window; check the current table before you send a 400,000-token prompt. Gemini's 4-series prices do not show a context threshold on the pricing page, but they do bill thinking tokens as output.

The cost of crossing a line

10,000 requests a month with a 300,000-token prompt and 1,000 output tokens, on GPT-6.2 Sol:

Prompt sizeBilling tierMonthly cost
270,000 tokensshort$5,500
300,000 tokenslong$12,150

Thirty thousand extra tokens — 11% more context, perhaps three more pages of a PDF — more than doubles the bill, because every one of the 300,000 tokens is now billed at the long-context rate.

How to stay under the line

  • Trim to a target, not to the limit. Aim for 80% of the threshold so a slightly longer document does not flip the tier for the whole batch.
  • Summarise, then append. Keep a rolling summary of the conversation and the last N turns, instead of resending the whole history.
  • Retrieve less. A RAG pipeline that stuffs 120,000 tokens of context usually gets the same answer from 8,000 tokens of better-ranked chunks.
  • Split the job. Map-reduce over document sections is cheaper than one 400k-token call at double rates, even though it uses more requests.
If a prompt needs more than 200,000 tokens, ask what the model is supposed to do with them. Long-context prompts are usually a retrieval problem wearing a bigger context window.

Toggle long-context rates in the calculator

Guides →
Rate library About Contact