A long-context pricing threshold is the token count at which an LLM vendor stops billing your request at the headline rate — and on the two providers that state the rule outright, OpenAI and xAI, crossing it reprices the entire request, not just the tokens above the line. One token past the threshold, and every input token you sent bills at the higher rate.
That asymmetry is what makes these thresholds cliffs rather than tiers. A marginal scheme — pay the premium only on the overflow — would make a 201,000-token prompt cost pennies more than a 199,000-token one. Whole-request repricing makes it cost roughly twice as much on the vendors that bill this way. Teams budgeting long-context workloads off the headline per-million rate are budgeting off a number that, on some models, covers less than a fifth of the advertised window.
This guide maps every documented cliff as of the time of writing — OpenAI’s 272K line, xAI’s and Google’s 200K lines, and Anthropic’s deliberate absence of one — then works the arithmetic: what a single crossing costs, why prompt caching does not dodge it, and the four engineering mitigations that actually hold up. Every number is recomputed from vendor-published rates.
- 01Cliffs reprice the whole request, not the overflow.OpenAI and xAI both state this explicitly in their docs: once a prompt crosses the threshold, every token in the request bills at the long-context rate. One token past the line can nearly double the input bill.
- 02The map: 272K at OpenAI, 200K at xAI and Google.The 272K rule appears verbatim on both the GPT-5.6 Sol and Terra model pages (the Luna row is inferred from the shared pricing table). Grok 4.6 reprices at 200K, and Google's current Pro flagship, Gemini 3.1 Pro Preview, carries a live 200K cliff today.
- 03Anthropic has no cliff at all.Anthropic's docs state that 1M-context requests bill at standard per-token pricing — a 900k-token request bills at the same per-token rate as a 9k-token one. On Anthropic, trimming context is a quality decision, not a cost decision.
- 04Caching does not escape the cliff.On OpenAI and xAI, cached-input rates double above the threshold along with everything else. Once a cached prefix sits above the line, every cache hit pays the elevated rate — the fix is caching a below-threshold slice, not caching more.
- 05Treat the threshold as a hard budget boundary.Measure prompt size before dispatch and route by threshold; split retrieval so a marginal gain never triggers a crossing; and in agent loops that grow context turn over turn, compact before the line — the worked examples below put the payoff at 56 to 61 percent per request.
01 — The MechanismOne token past the line, everything reprices.
The mechanism is easy to miss because the pricing pages present it as an innocuous second table row. It is not a surcharge on the tokens above the threshold. It is a request-level classification: the moment the prompt qualifies as long-context, the long-context rate applies to all tokens in that request — input, output, and cached input alike.
Both vendors that run the largest cliffs say this in so many words. OpenAI’s GPT-5.6 model pages state that prompts above 272K input tokens are priced at 2x input and 1.5x output for the full request. xAI’s pricing docs make the same rule explicit as a general policy across its long-context models.
Two properties follow. First, the cost function is discontinuous: request cost jumps at the threshold rather than bending. On Grok 4.6, the input bill for a 201,000-token prompt is $0.804 at the long-context rate of $4.00 per million, while a 199,000-token prompt bills $0.398 at the standard $2.00 — a 2.02x jump for 1% more context. Second, the multiplier stacks with every other multiplier the vendor runs. On OpenAI, batch and flex tiers stay at 50% of standard at both context lengths, fast mode stays at 2x, and the 10% regional data-residency uplift applies on top — the long-context multiplier compounds independently with each. The batch-pricing lane halves the long-context rate the same way it halves the short one; it does not remove the cliff.
“The threshold is not a surcharge on the overflow. It reclassifies the request — one token past the line, and every token in it bills at the long-context rate.”— Digital Applied editorial synthesis
02 — The MapWhere every documented cliff sits today.
Most coverage we reviewed while researching this post reports one vendor’s threshold in isolation, which is exactly how the pattern stays invisible. Lined up side by side, the vendor docs show three distinct multiplier shapes: OpenAI and Google share 2x input / 1.5x output, xAI runs a uniform 2x on everything — input, cached input, and output — and Anthropic runs no threshold at all. The shapes are similar in mechanism but not identical in ratio; conflating Grok’s 2x output multiplier with OpenAI’s 1.5x would overstate or understate a budget by real money at scale.
2x in / 1.5x out
The same multiplier shape on two vendors. OpenAI applies it family-wide across GPT-5.6; Google applies it to Gemini 3.1 Pro Preview, its current Pro flagship — a live tier today, not a leftover from earlier Gemini generations.
2x in / 2x out
Grok 4.6 doubles input, cached input, and output at or above 200K. grok-build-0.1 carries the same 200K whole-request rule on a 256K window — the cliff is xAI's house style, not a one-off.
No cliff
Anthropic's docs state that long-context requests on its 1M-window models bill at standard per-token pricing — no beta header, no second tier. Prompt-caching and batch discounts apply across the full context window.
The table below assembles every documented threshold from the vendors’ own pricing and model pages. Two cells need flags. The GPT-5.6 Luna row is inferred from OpenAI’s shared short-context / long-context pricing table — the 272K sentence is verbatim on the Sol and Terra model pages, but Luna’s own page was not independently confirmed. And Google’s tier is phrased as a per-request bracket (prompts up to 200K versus above 200K), which is consistent with whole-request billing, but unlike OpenAI and xAI, we found no explicit sentence in the fetched Gemini API pricing pages stating the higher rate applies to the entire request.
| Model | Window | Threshold | Input $/M | Cached $/M | Output $/M | Scope |
|---|---|---|---|---|---|---|
| OpenAI — GPT-5.6 family (standard tier) | ||||||
| GPT-5.6 Sol | 1.05M | >272K | $5.00 → $10.00 | $0.50 → $1.00 | $30.00 → $45.00 | Whole request — stated |
| GPT-5.6 Terra | 1.05M | >272K | $2.00 → $4.00 | $0.20 → $0.40 | $12.00 → $18.00 | Whole request — stated |
| GPT-5.6 Luna† | — | >272K† | $0.20 → $0.40 | $0.02 → $0.04 | $1.20 → $1.80 | Inferred from shared table† |
| xAI — long-context pricing table | ||||||
| Grok 4.6 | 500K | ≥200K | $2.00 → $4.00 | $0.50 → $1.00 | $6.00 → $12.00 | Whole request — stated |
| grok-build-0.1 | 256K | ≥200K | $1.00 → $2.00 | $0.20 → $0.40 | $2.00 → $4.00 | Whole request — stated |
| Google — Gemini API pricing | ||||||
| Gemini 3.1 Pro Preview | 1,048,576 | >200K | $2.00 → $4.00 | $0.20 → $0.40 | $12.00 → $18.00 | Per-request bracket‡ |
| Anthropic — all current 1M-context models | ||||||
| Opus 5 · 4.8 · 4.7 · 4.6 · Sonnet 5 · 4.6 · Fable 5 · Mythos 5 · Mythos Preview | 1M | None | Flat | Flat | Flat | No long-context tier |
Reading the footnotes: † the Luna threshold and rates are inferred from OpenAI’s shared short/long pricing table; the verbatim 272K sentence was confirmed on the Sol and Terra model pages only. ‡ Google’s pricing table brackets prompts at 200K in the wording it has used since earlier Gemini generations — consistent with whole-request billing, but without the explicit full-request sentence OpenAI and xAI publish. All rates are standard-tier, per million tokens, from the vendors’ live pricing pages at the time of writing. For raw window sizes across the wider field, see our context-window comparison across every frontier model.
One more OpenAI detail worth knowing: cache writes bill at 1.25x the uncached input rate of whichever tier applies. On Terra that is $2.50 per million short-context but $5.00 per million once the request is long-context — the write premium compounds on top of the doubled base, a detail that matters for agent frameworks that re-write large prefixes.
03 — The OutlierAnthropic’s deliberate absence of a cliff.
Anthropic is the one major vendor in this comparison with no long-context premium of any kind. This is not an omission in its context-windows documentation — it is stated policy, twice, in unusually plain language.
The models carrying the full 1M-token window at flat pricing, per the same page: Claude Opus 5, Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 5, Sonnet 4.6, Fable 5, Mythos 5, and Mythos Preview. Claude Sonnet 4.5 and Haiku 4.5 remain capped at a 200K window — they have no long-context tier because they physically cannot exceed 200K, which is a different thing from a cliff.
This asymmetry has a practical consequence that is easy to state and easy to forget: on Anthropic, trimming context is a quality argument, not a cost argument. Retrieval quality can still degrade at extreme lengths, so keeping prompts tight remains good engineering — but the billing meter does not care. On OpenAI, xAI, and Google, the same trim is a direct line item. Conflating the two arguments leads teams to over-invest in retrieval infrastructure for Anthropic workloads and under-invest for the vendors where the cliff is real. Our break-even math for 1M-context workloads covers the Claude-specific side of that decision.
One adjacent data point, scoped to exactly what we checked: the Kimi K3 pricing page presents K3 as a single flagship-tier product with a 1M-token context and no second context-length pricing row visible in the page structure — consistent with flat pricing. Its per-token dollar figures render client-side and were not re-verified in this pass, so we print none of them.
04 — The Coverage GapThe headline rate covers a fraction of the window.
The marketing number for these models is the context window — 1M tokens, 500K tokens. The budgeting number is the headline per-million rate. What the cliff does is quietly decouple the two: the headline rate only applies while the prompt stays under the threshold, which on the vendors with cliffs is a minority share of the advertised window. Computed from each vendor’s own window and threshold: Gemini 3.1 Pro Preview’s $2.00 input rate covers 200,000 of 1,048,576 tokens — 19% of the window. GPT-5.6 Terra and Sol’s headline rates cover 272,000 of 1,050,000 tokens — 26%. Grok 4.6’s covers 200,000 of 500,000 — 40%. Everything beyond those lines lives on the repriced tier.
Share of the advertised context window billed at the headline rate
Computed from each vendor’s published window and threshold, August 2026This is the chart to keep in mind when reading the context-window arms race coverage: as advertised windows grow faster than thresholds move, the fraction of the window that the headline rate actually covers shrinks. A vendor can double its context window without touching its pricing page and, if the threshold stays put, the marketing number improves while the effective economics of using the new headroom get worse relative to the headline. Watching the threshold, not the window, is the procurement-grade habit.
05 — The ArithmeticWhat one crossing costs, in dollars.
Two worked examples, computed from the standard-tier rates in the table above. Take GPT-5.6 Terra, with a 300,000-token prompt and 5,000 output tokens. Stuffed — sent as one over-threshold request — the whole request bills long-context: 300,000 tokens at $4.00 per million is $1.20, plus 5,000 output tokens at $18.00 per million is $0.09, for $1.29. Trim the same task to 250,000 tokens with retrieval, and it bills short-context: 250,000 at $2.00 per million is $0.50, plus 5,000 at $12.00 per million is $0.06, for $0.56. Same task, $0.73 cheaper per request — a 56.6% saving, and the stuffed version costs 130% more than the trimmed one.
Grok 4.6, same exercise: a 250,000-token prompt with 10,000 output tokens bills $1.00 input plus $0.12 output long-context — $1.12. Trimmed to 190,000 tokens, it bills $0.38 plus $0.06 short-context — $0.44. That is $0.68 saved, or 60.7% — and note the output line doubled too, because Grok’s output multiplier is 2x, not OpenAI’s 1.5x.
Saved per request
300K-token prompt stuffed: $1.29. Same task trimmed to 250K: $0.56. Both computed from Terra's published $2/$12 short and $4/$18 long standard rates, with 5K output tokens.
Saved per request
250K-token prompt stuffed: $1.12. Trimmed to 190K: $0.44. Computed from Grok 4.6's $2/$6 short and $4/$12 long rates, with 10K output tokens — the output rate doubles too.
199K vs 201K on Grok 4.6
Input bill for 199,000 tokens at $2.00/M: $0.398. For 201,000 tokens at the whole-request $4.00/M: $0.804. One percent more context, roughly double the input cost.
The general form is worth having on hand. With short-context rates Cs_in and Cs_out, input multiplier r, output multiplier s, a stuffed prompt of P tokens, a trimmed prompt of P' tokens, and O output tokens, splitting beats stuffing whenever your per-request retrieval overhead E satisfies:
E < Cs_in × (r×P − P') + Cs_out × O × (s − 1)
Plugging the Terra example in: $2.00/M × (2 × 300,000 − 250,000) plus $12.00/M × 5,000 × 0.5 = $0.70 + $0.03 = $0.73 of headroom per request. Any retrieval or compaction infrastructure that costs less than that per request pays for itself immediately — which is most of them, at any reasonable volume. That formula is the honest version of the abstract advice to avoid the cliff: it tells you exactly how much engineering spend the avoidance is worth.
06 — Cache InterplayCaching does not dodge the cliff.
The tempting mitigation is prompt caching: if the big prefix is cached, surely the cliff stops mattering. The vendor rate cards say otherwise. On OpenAI, cached-input reads keep their 90% discount off whichever tier applies — $0.20 per million on a short-context Terra request, $0.40 per million once the request is long-context. On xAI the shape is the same: $0.50 short, $1.00 long, an exact 2x matching the input multiplier. A cache hit on an over-threshold request bills at the elevated cached rate, every time.
On Anthropic this whole section is moot — with no cliff, caching discounts apply uniformly regardless of prompt length, which is one more way the no-cliff design simplifies cost modeling. For the mechanics of structuring prefixes so they actually hit cache, see our guide to prompt caching mechanics. And remember the write side on OpenAI: cache writes at 1.25x the tier’s uncached input rate mean an agent framework that re-writes a 300K-token prefix pays the long-context write premium of $5.00 per million on Terra — double the $2.50 short-context write rate — before it has answered a single question.
07 — Engineering PlaybookFour mitigations that actually work.
The mitigations below are ordered by leverage. None of them requires switching vendors; all of them require knowing your prompt size before you send it — which is the real discipline shift, because most stacks today discover token counts on the invoice.
Count tokens, route by threshold
Tokenize the assembled prompt before sending it. Requests under the threshold go anywhere; requests approaching it get a routing decision — trim, split, or send to a no-cliff model. A tokenizer pass costs milliseconds; an unnoticed crossing costs a 2x multiplier on the whole request.
Never cross for a marginal gain
The break-even formula in section 05 prices the decision: on the Terra example, any retrieval overhead under $0.73 per request beats stuffing. Chunked retrieval that keeps the prompt at 250K instead of 300K is not a compromise — above the threshold it is strictly cheaper and usually better-focused.
Cache-scoped chunking
Keep the reusable cached prefix under the threshold and retrieve the rest per turn. A cached prefix above the line drags every future cache hit onto the elevated rate; a hot slice under it keeps the vendor's cache-read discount working at the cheap tier.
Treat the threshold as a hard budget
Agent context grows turn over turn, so a loop that starts at 150K tokens drifts across 200K mid-session — and every turn after that bills long-context. Set a context ceiling below the vendor's threshold, compact or summarize when the loop approaches it, and alert on crossings the way you alert on error rates.
Projecting forward: thresholds are schedule terms, and schedules move. Google’s bracket has now outlived several model generations, and xAI applies the same rule to its grok-build-0.1 coding model as well as to Grok 4.6 — so the pattern is stable enough to build against, but none of it is contractual. Treat the threshold like any other price term your vendor can change: know what notice your AI vendor owes you before a price change, and keep the routing layer flexible enough that a moved threshold is a config edit, not a re-architecture. Teams that want the cliff map, token-measurement layer, and routing rules built into their stack — rather than rediscovered on an invoice — can lean on our AI transformation engagements, which start with exactly this kind of cost-surface audit. For the launch-day context on xAI’s pricing decisions, see Grok 4.6’s launch pricing.
08 — ConclusionBudget the threshold, not the window.
The cliff is a request-level classification — treat it like one.
The long-context price cliff is not a premium on big prompts. It is a binary reclassification of the entire request, documented in OpenAI’s and xAI’s own words and mirrored in Google’s bracket pricing on its current Pro flagship. On those vendors’ flagship models, the headline rate covers 19% to 40% of the advertised window — and one token past the line reprices everything behind it.
The engineering response is mechanical, not clever: measure prompt size before dispatch, route by threshold, split retrieval so a marginal context gain never triggers a crossing, keep cached prefixes under the line, and give agent loops a hard context budget. The worked examples put the payoff at 56 to 61 percent per request — at any real volume, that funds the retrieval infrastructure many times over.
And the vendor asymmetry is a genuine routing signal. Anthropic’s flat-to-1M pricing means context discipline there is about output quality, while on OpenAI, xAI, and Google it is about money. A stack that knows which argument applies to which vendor — and prices the difference with the break-even formula rather than instinct — turns the cliff from a billing surprise into a routing rule.