GPT-5.6 long-context cost calculator
Estimate token charges for GPT-5.6 Sol, Terra, or Luna. The calculator automatically changes to the long-context rate when the entered input total is greater than 272,000 tokens.
Rate table used by this calculator
| Model / mode | Band | Input | Cached | Cache write | Output |
|---|
Formula
(uncached input × input rate + cached input × cached rate + cache writes × write rate + output × output rate) ÷ 1,000,000
The context band is selected from the total entered input: uncached input + cached input + cache-write tokens. Exactly 272,000 uses the short-context row; a total greater than 272,000 uses the long-context row.
Sources and scope
Rates come from the official OpenAI API pricing page. The threshold and context limits are documented on the official GPT-5.6 Sol, Terra, and Luna model pages. Fast configuration and effective-tier behavior are documented in the Fast mode guide.