Skip to content
llmkitty calico cat logo llmkitty

OpenAI API Pricing Calculator

Estimate ChatGPT/GPT API cost by model, GPT-5.6 Sol/Terra/Luna, GPT-5.5, and GPT-4.1. Enter token counts and requests/month to project your bill in your browser.

Your usage

Prices per 1M tokens · Last verified: 2026-07-12

 · verify price

Estimated Monthly Cost

$0.0075

≈ $0.00/day

Cost per API call

$0.0075

Input 0% · $0

Output 0% · $0

Input tokens (0) $0
Output tokens (0) $0
Total per call $0
llmkitty sleeping cat, curled up next to the cost readout

OpenAI's current API model lineup

OpenAI's current generation is GPT-5.6, sold across three tiers rather than a single product. At the top sits Sol, priced as the most expensive model in the lineup on both input and output tokens (the bare "gpt-5.6" model id routes here), the choice when you need the strongest available reasoning and quality. Below it, Terra offers a lower rate for general-purpose work, with Luna stepping down further for high-volume, low-complexity tasks. GPT-5.5, the prior-generation flagship, stays priced and available for teams that haven't re-validated against 5.6 yet. Alongside all of that, OpenAI keeps GPT-4.1 available specifically as a long-context option; it supports up to a 1-million-token context window and is positioned as the cheaper route for very large prompts, even though it isn't the newest release.

Where reasoning-model pricing went

If you're used to pricing a dedicated reasoning model like o3 separately from a general-purpose one, that split no longer exists at OpenAI. The standalone o-series, o1, o3, o4-mini, was retired from ChatGPT in February 2026 and folded into the GPT-5.x generation as a "Thinking" tier: turn up reasoning effort on GPT-5.6 Sol and you get the multi-step reasoning behavior the o-series used to provide, billed at that model's normal input/output rate rather than a separate SKU. Practically, this means there's one fewer axis to shop on. You're choosing a model tier (Sol down to Luna) and a reasoning-effort setting, not a model tier and a separate reasoning-versus-general-purpose model family.

How OpenAI's pricing structure works

Every model bills input tokens (what you send) and output tokens (what the model generates) at separate per-million-token rates, and output is consistently priced higher than input across the whole lineup. Generation is more compute-intensive than reading a prompt. The spread between input and output rate is fairly wide on the flagship models, which means a task that produces long answers (drafting, summarizing at length, code generation) is disproportionately sensitive to the output rate, while a task that mostly reads a large prompt and returns a short answer (classification, extraction, routing) is dominated by the input rate. Reasoning-heavy calls with effort turned up tend to generate substantially more output tokens before the final answer, so they lean further toward output-rate-sensitive than a typical direct-answer call on the same model, worth accounting for separately from the base per-token rate. GPT-5.6 also prices cache reads at 90% off the standard input rate and cache writes at 1.25x input, on top of the base rate and the 272K-token long-context surcharge (2x input / 1.5x output above that threshold) it inherits from GPT-5.5's structure. Use the calculator above with your actual average prompt and completion lengths, not round numbers, since the ratio of input to output tokens in your real traffic decides which rate matters more to your bill.

Model-lineup quirks worth knowing

Two things stand out in how OpenAI has structured this lineup. First, the Sol/Terra/Luna naming replaces the previous generation's "mini"/"nano" suffixes, but the price gap between tiers is still large, so if your product routes a mix of simple and complex requests through Sol by default, you're very likely overpaying on the simple half of that mix; route it to Terra or Luna instead. Second, GPT-4.1's role as a dedicated long-context model means it can beat newer, nominally more advanced models on cost for large-document tasks specifically, even though it isn't the newest release; pricing and capability don't move in lockstep with model generation, so it's worth checking GPT-4.1 against GPT-5.6 Terra or Luna whenever your prompts run long.

A worked example on GPT-5.6 Sol

At Sol's standard rate ($5 input / $30 output per million tokens, below the 272K-token threshold), a 1,000-token prompt with a 500-token answer costs 1,000 ÷ 1,000,000 × $5 = $0.005 for input, plus 500 ÷ 1,000,000 × $30 = $0.015 for output, $0.02 per call, or $2,000 a month at 100,000 calls. Route the same volume to Luna instead ($1 input / $6 output) and the bill drops to 1,000 ÷ 1,000,000 × $1 = $0.001 plus 500 ÷ 1,000,000 × $6 = $0.003, $0.004 per call, $400 a month, a 5x reduction for a task that doesn't need Sol's full capability.

Cutting your OpenAI bill

The single biggest lever is model routing: send simple, high-volume requests to GPT-5.6 Luna instead of a flagship model by default, and reserve Sol (with reasoning effort turned up, if the task needs it) for the requests that actually need that level of capability. Beyond routing, cap max output tokens so a verbose response doesn't silently inflate cost (this matters even more once reasoning effort is on, since the model generates more before it answers), trim system prompts and few-shot examples down to what's actually improving output quality, and structure a stable prefix to repeat byte-identical across calls so it qualifies for the 90%-off cache-read rate instead of the full input rate every time. If your workload regularly sends very large prompts, compare GPT-4.1's long-context rate directly against your default model. For that specific shape of traffic it's often the cheaper option even without switching to a smaller model.

Who the OpenAI API suits

OpenAI's spread across five models in active pricing gives you unusually fine-grained control over the cost/capability trade-off within a single provider, which suits teams that want to standardize on one API surface but still tune cost per feature, running chat on Terra, background classification on Luna, reasoning-heavy analysis on Sol with effort turned up, and long-document work on GPT-4.1, all from the same lineup. If you'd rather compare OpenAI's rates directly against Anthropic, Google, or the smaller open-model providers before committing, the all-provider hub calculator puts every vendor's models in the same view.

Compare OpenAI against Anthropic's Claude API pricing, Google's Gemini API pricing, or the budget-focused DeepSeek API pricing calculator.

Frequently asked questions

How much does the ChatGPT/GPT API cost?

It depends entirely on which model you call. OpenAI's current generation is GPT-5.6, priced across three tiers, Sol, Terra, and Luna, from flagship down to budget, each with separate input and output rates per million tokens. Pick your model in the calculator above to see the exact per-call and per-month cost for your traffic.

What is the difference between GPT-5.6 Sol, Terra, and Luna?

Sol is the flagship, priced highest on both input and output and the choice for the strongest available reasoning and quality; calling the bare "gpt-5.6" model id routes to Sol. Terra sits in the middle on both rate and capability. Luna is the budget tier, priced lowest, aimed at high-volume, low-complexity calls. All three replace the previous generation's "GPT-5.4 / mini / nano" naming, but the underlying idea, flagship down to a cheap high-volume tier within one model family, carries over.

Is GPT-5.5 still worth calling now that GPT-5.6 shipped?

GPT-5.5 remains priced and available as the prior-generation flagship. Its rate and capability sit close to GPT-5.6 Sol, so it's mainly relevant if you've already tuned prompts against it and want to hold steady rather than re-validate against Sol; for new integrations, default to the current generation.

Is GPT-4.1 still worth using over GPT-5.6?

GPT-4.1 is positioned by OpenAI as a long-context option; it supports a 1-million-token context window and can be the cheaper choice specifically for workloads that need to send very large prompts, even though newer GPT-5.6 models exist. Compare its rate against GPT-5.6 Terra or Luna for your actual prompt size before deciding.

Where did the o-series (o1/o3/o4-mini) go?

It was folded into GPT-5.x. OpenAI retired the standalone o-series from ChatGPT in February 2026 and moved multi-step reasoning into a "Thinking" tier built into the GPT-5.x models themselves, rather than keeping it as a separately priced model line. If you were calling o3 for reasoning-heavy work, the equivalent today is GPT-5.6 Sol with reasoning effort turned up, same API surface, one fewer model to choose between.

How do I reduce my OpenAI API bill?

Route high-volume, low-complexity calls to GPT-5.6 Luna instead of a flagship model, cap max output tokens so the model doesn’t run long, trim system prompts and few-shot examples to the minimum that keeps quality, and reuse or cache context that repeats across calls rather than resending it every time -- GPT-5.6's cache reads run 90% off the standard input rate, so a stable prefix repeated across calls is worth structuring for specifically.

Related tools

AI Token Cost CalculatorClaude API Pricing CalculatorGemini API Pricing CalculatorLlama API Pricing CalculatorMistral API Pricing Calculator