Token Cost Engineering · 4 / 13

GLM's Short-Output Game: the 200-Token Cliff

Look at GLM-4.6's pricing structure and you'll spot a clever design: it doesn't tier by input length—it tiers by output length, with the boundary at 200 Tokens. Output 199 vs output 201: completely different prices.

Output tieringRetroactive pricingTask splittingBoundary volatility
The pattern: output jumps, and input jumps with it
MetricOutput ≤ 200Output > 200Change
Output unit price4 ¥/M7 ¥/M+75%
Input unit price1 ¥/M1.5 ¥/M+50%

The easy-to-miss part: once output crosses 200 Tokens, the thousands of input Tokens you already sent also rebill at the higher price. Two extra words of output, and the whole request gets a retroactive price bump.

Why Zhipu prices it this way

This mirrors the marginal-cost curve of inference compute. Short output (<200 Tokens) is light: Decode pressure is low, KV Cache footprint is limited, and it may finish in tens of milliseconds. Once output gets long, every extra Token grows KV Cache VRAM and adds another Attention round—cost scales nonlinearly.

Vendors use the price lever as a signal: reward short, sharp tasks; punish long-winded generation.
Interactive Demo · A bill that keeps hopping the cliff

Scenario: extract structured JSON from user reviews (sentiment / aspects / pain_points / suggestions). The Prompt is already clean, but you can't predict how much each review will yield—a simple one is 150 Tokens; two extra complaints push it to 230. Drag the slider to feel this “structural conflict.”

150 Tokens
100← 200 cliff →320
Input unit price (3k context)
1 ¥/M
Output unit price
4 ¥/M
Cost per call
Structural conflict between business volatility and the pricing cliff
Business output naturally swings between 150–230, and the cliff sits right at 200: a structural conflict between volatility and pricing. (Figure: from the author's internal share deck)
Four counter-strategies
StrategyWhat you doTrade-off
Task splittingSplit extraction into multiple calls; pull only 1–2 fields each timeMore calls, higher latency
Field tieringExtract core fields in real time; fill secondary fields async or in post-processingMore architectural complexity
Accept volatility + monitorAllow occasional tier jumps, but monitor the overall distributionCost is controllable, not optimal
Model degradeRoute price-sensitive high-volume tasks to high-volume models like Qwen-FlashMay trade a bit of accuracy

The key question: where does this task's output naturally land? If most requests sit at 100–150 and only rarely cross 200, you can live with it. If the median is already 180–220, the task sits on the cliff—you must redesign task granularity, or switch to a model that doesn't tier by output. The same pattern shows up in codegen: a 20-line function easily burns 100+ Tokens, and a slightly more complex edit tip crosses 200.

Key Takeaways

GLM-4.6 tiers by output length; 200 is the cliff: output +75%, input retroactive +50%.

Pricing mirrors compute cost: long-output KV Cache and Attention grow nonlinearly—vendors use price to push you toward short, sharp work.

Check the output distribution first, then pick a strategy. Tasks whose median sits on the cliff need a granularity cut—or a different billing model.

Source: Adapted from the author's internal team share “AI Token Cost Engineering Strategies,” section “GLM-4.6's Short-Output Game.” Prices are the author's discounted rates at the time; check Zhipu's open platform for live quotes.