GPT-5 nano API pricing

The smallest GPT-5 tier. Available at listed at platform rate (no published official USD price).

In short: GPT-5 nano costs $0.025 per 1M input tokens and $0.2 per 1M output tokens. No official USD list price is published for this model, so it bills at platform rate. The reason to use it is access and consolidated billing rather than a discount. At 50M input and 10M output a month that is about $3. Rates verified 2026-11-14.
RouteInput / 1MOutput / 1M
Platform rate$0.025$0.2

USD, standard tier. Rate read from the live rate config on 2026-11-14. OpenAI publishes no USD list price for this model, so nothing here is cross-checked against one — this is a gateway rate, not a discount.

Check live rates on the platform →Free to sign up · $1 minimum top-up · No prepayment

Specifications

VendorOpenAI
Context window—
Max output—
CategoryUS frontier

What GPT-5 nano costs at your volume

Usage levelInput / output per monthMonthly cost
Light, prototyping, a few thousand calls5M / 1M$0.33
Working (one developer), daily use50M / 10M$3.25
Heavy — team or agent loops in production500M / 100M$32.50

Calculated at $0.025 input / $0.2 output per 1M tokens, 8.0× apart on this model. The 5:1 input-to-output assumption in this table is generous, responses longer than that cost more per response than the row suggests, so treat these as floors rather than estimates. Put your own split through the cost calculator before committing a budget.

Cheap in, expensive out: how GPT-5 nano is priced

GPT-5 nano will quote you $0.025 per million input tokens, which reads as very cheap. It is. The trap is the other side of the request: output bills at $0.2, around 8.0×. A task that sends a short instruction and gets back a long answer pays most of its cost at the output rate, and this model stops being cheap there.

Where the shape works in your favour is the reverse: large input, small output. Classification of big documents, extraction from long text, embedding-adjacent pipelines, anything that swallows a lot and answers briefly. That is what $0.025 is genuinely good for.

Where GPT-5 nano sits in the index

GPT-5 nano is 5 of 231 on input rate and 17 of 231 on output rate. A gap of 12 places, because on this model the output rate is 8.0× the input rate, steeper than the index median of 4.0× An output-heavy workload therefore leaves it almost where it started, which is why the cheapest model per input token is routinely not the cheapest per task. Percentile is the share of the 231 models in this index that cost more than GPT-5 nano.

GPT-5 nano against all 231 models in the rate index. Rates checked 2026-11-14.
Ranked byPositionPercentileRate
Input rate5 of 23198%$0.025
Output rate17 of 23193%$0.20
Agent mix 1:3, blended17 of 23193%$0.1563

On an agent mix the lowest blended rate in the same index is Gemma2 9B It at $0.01 per 1M tokens, about 15.6× less than this model at the same ratio. Across the whole index, sorting by input price alone moves a model by as much as 77 places; on GPT-5 nano specifically the shift is 12 — which is what the re-ranked index exists to show.

GPT-5 nano is 5 of 231 across every model in the index; the comparison that usually settles a choice is OpenAI's own lineup further down.

GPT-5 nano among OpenAI's 12 models

GPT-5 nano is the cheapest of OpenAI's 12 models in this index at $0.025 per 1M input tokens. The range inside that group runs from GPT-5 nano at $0.025 to GPT-6 Astra at $5 (a spread of 200×), and every other model in the group costs more on input than this one.

GPT-5 nano against the rest of the group, by input rate per 1M tokens. Rates checked 2026-11-14. Showing 9 of 12, those closest in rate to this one.
ModelIn / 1MOut / 1Mvs this
GPT-5 nano$0.025$0.2—
GPT-6 Luna$0.05$0.252.00×
GPT-5.6 Luna$0.1$0.64.00×
GPT-5 mini$0.125$15.00×
GPT-6.1 Terra$0.5$2.520.00×
GPT-5$0.625$525.00×
GPT-5.6 Terra$1$640.00×
GPT-6 Sol$1$540.00×
o3$1$440.00×

On input rate alone, stepping up to GPT-6 Luna costs 2.0× the input rate. Both measured at 2026-11-14, the same check as every other rate on this page.

Full OpenAI range, including models outside this shortlist: OpenAI rate index.

Similarly priced alternatives

Similarly pricedVendorIn / out per 1Mvs this
GPT-6 LunaOpenAI$0.05 / $0.25+$0.07
Claude Haiku 5.5Anthropic$0.05 / $0.25+$0.07
MiniMax M3.1 FlashMiniMax$0.075 / $0.3+$0.15

Blended comparison (input + output per 1M). Price is one axis, these are the three closest to GPT-5 nano in blended rate, not interchangeable substitutes for it.

Calling GPT-5 nano

The identifier you send is gpt-5-nano. Copy it exactly, because a mismatch returns a model error rather than a connection error, which sends most people to debug the wrong thing. Everything else is a base URL argument, GPT-5 nano's own SDKs work unchanged.

from openai import OpenAI

client = OpenAI(base_url="https://aicomp.ai/v1", api_key="sk-...")

resp = client.chat.completions.create(
    model="gpt-5-nano",
    messages=[
        {"role": "system", "content": "Answer in one short paragraph."},
        {"role": "user", "content": "Explain what changed in this release."},
    ],
    max_tokens=300,
)

# prompt_tokens / completion_tokens 是真实账单的唯一依据 —— 记下来,别猜
print(resp.usage.prompt_tokens, resp.usage.completion_tokens)

Log the usage object on every call, not just while you are optimising. On GPT-5 nano output costs 8.0× what input costs, so the same monthly token count bills very differently depending on how much of it comes back as output — measure your own split before extrapolating from the headline input rate, because rates move with vendor promotions.

Setting it up

Pointing an existing integration at GPT-5 nano is a base URL change, not a rewrite. Pick your tool:

Where GPT-5 nano bills from: the output half

Quoting a monthly token figure tells you very little about GPT-5 nano. Output here costs 8.0× what input does, above the index median of 4.0× across 231 models, so two deployments moving the same number of tokens can differ by several times depending purely on how much the model writes back. Generation is the bill; everything else is rounding. The five shapes below are the ones GPT-5 nano actually gets used for, priced out at each one's real ratio.

One month on GPT-5 nano, five workload shapes — gateway rates checked 2026-11-14
WorkloadTokensOutput shareMonthly costvs cheapest in index
Classification / tagging
100k short jobs, 300 in / 20 out
32M6%$1.151.0×
Support triage
20k conversations, 1.5k in / 400 out
38M21%$2.351.0×
RAG question answering
50k questions, 6k in / 500 out
325M8%$12.51.0×
Agent loop (coding)
8k sessions, 400k in / 6k out
3248M1%$89.61.0×
Long-form generation
5k documents, 2k in / 4k out
30M67%$4.251.0×

This is the lowest blended rate in the index at $0.025 / $0.2 per 1M. Even so it is only a rate floor. Whether it can do the work is a separate question from what it costs.

The spread between the first and last row above is not caused by doing more work — it is caused by asking GPT-5 nano to write more. At 8.0×, the cheapest intervention available to you is shortening responses: a tighter system prompt, a lower max_tokens, a shorter answer format. Optimising the input side barely registers against your $0.2 per 1M output rate.

FAQ

How much does GPT-5 nano cost per million tokens?

$0.025 per million input tokens and $0.2 per million output tokens. No official USD list price is published for this model, so it is billed at platform rate.

Is GPT-5 nano cheaper than buying direct?

There is no published official USD price to compare against for this model It is billed at platform rate, and the reason to route it through a gateway is access and consolidated billing rather than a discount.

What does GPT-5 nano cost per month in practice?

At a 5:1 input-to-output ratio it is about $0.33 a month for light use (5M input tokens) and roughly $32.50 for heavy use (500M input). Agent workloads sit at the high end here because every turn resends the context and GPT-5 nano bills output at 8.0x input — see what actually drives Claude Code cost.

Which models cost about the same as GPT-5 nano?

The comparison table further up this page lists the three closest to GPT-5 nano's $0.225 blended rate. If you are choosing on cost alone, test the top two on your own prompts — $0.025 per input token is only half the equation, the other half is how many tokens a model needs before it finishes the task.

How do I start using GPT-5 nano?

You need an API key, then point your client at the gateway base URL with gpt-5-nano as the model id. On GPT-5 nano it is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools. The GPT-5 nano snippet is in the calling section above.

What is the GPT-5 nano API price per 1M tokens?

$0.025 per 1M input and $0.2 per 1M output. The two directions are quoted separately because a request is billed twice, once for what you send, once for what comes back, and on GPT-5 nano they differ by 8.0x.

How much more does GPT-5 nano charge for output than input?

Output tokens cost 8.0x what input tokens do here — $0.025 per 1M in against $0.2 per 1M out. The median output-to-input multiple across our full price index is 4.0x, so this model sits above that line. It matters more than it looks: on GPT-5 nano a coding agent's output takes 62% of the bill, so the input rate people usually compare is the smaller half. See why output pricing dominates.

How much does GPT-5 nano cost for a coding agent?

About $32.50 a month at 500M input and 100M output tokens (the shape a coding assistant really produces), because every turn resends the whole context and the model writes more than it reads. The biggest lever is not the model but how much context you resend each turn, at 32 dollars a month on GPT-5 nano, halving the resend roughly halves that. See what actually drives agent cost.

Does GPT-5 nano have an official list price?

No (OpenAI does not publish a USD list price for this model), so there is nothing to compare against and it bills at platform rate: $0.025 in / $0.2 out per 1M. The reason to route it through a gateway is access and one consolidated bill across vendors, not a discount.

Get GPT-5 nano access