Skip to content
llmkitty calico cat logo llmkitty

OpenAI API Pricing Calculator

Estimate ChatGPT/GPT API cost by model, GPT-5.5, GPT-5.4, GPT-5.4 mini/nano, 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 sells API access to a tiered family of models rather than a single product. At the top sits GPT-5.5, priced as the most expensive model in the lineup on both input and output tokens, the choice when you need the strongest available reasoning and quality. Below it, GPT-5.4 offers a lower rate for general-purpose work, with GPT-5.4 mini and GPT-5.4 nano stepping down further for tasks that don't need full flagship capability. Alongside the GPT-5.x generation, 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.5 or GPT-5.4 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 (flagship down to nano) 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. 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 "mini" and "nano" naming isn't marketing fluff. The price gap between GPT-5.4 and its mini/nano variants is large, so if your product routes a mix of simple and complex requests through the same flagship model by default, you're very likely overpaying on the simple half of that mix. 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.4 whenever your prompts run long.

Cutting your OpenAI bill

The single biggest lever is model routing: send simple, high-volume requests to GPT-5.4 mini or nano instead of a flagship model by default, and reserve GPT-5.5 (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 avoid resending large blocks of unchanging context on every call where your integration allows you to persist or reuse it. 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 with GPT-5.4, background classification on nano, reasoning-heavy analysis on GPT-5.5 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 prices its lineup across a wide range, from small "mini" and "nano" tiers up to the flagship, 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.5 and GPT-5.4?

GPT-5.5 is priced as the more expensive, presumably more capable flagship, while GPT-5.4 sits below it on both input and output rate. OpenAI also ships GPT-5.4 mini and GPT-5.4 nano as progressively cheaper, smaller variants of the same generation, useful when a task doesn’t need full flagship reasoning.

Why does OpenAI offer a mini and a nano model?

Smaller models trade some capability for a much lower per-token rate, which matters at volume: a high-throughput task like classification, extraction, or short replies rarely needs flagship-level reasoning, so routing it to a mini or nano model can cut the bill sharply without changing the product experience.

Is GPT-4.1 still worth using over GPT-5.x?

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.x models exist. Compare its rate against GPT-5.4 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.5 or GPT-5.4 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.4 mini or nano 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.

Related tools

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