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-09-26.
RouteInput / 1MOutput / 1M
Platform rate$0.025$0.2

USD, standard tier, verified 2026-09-26.

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, assuming a 5:1 input-to-output ratio. Your ratio decides the real number — run your own figures through the cost calculator.

When GPT-5 nano is the right call

At $0.025 per million input tokens this sits in the low-cost band. It is a good fit for high-volume work — classification, extraction, summarisation at scale, autocomplete, and any pipeline where you call the model thousands of times a day.

It is usually the wrong call for tasks where a wrong answer is expensive to unwind; at this price the saving is small enough that escalating a hard case to a stronger model is usually worth it.

Where GPT-5 nano sits in the index

One model, three rankings — because the model that is cheapest per input token is frequently not the cheapest per task. Output tokens cost a median of 4.0× what input costs across these 216 models, so a workload that generates more than it reads flips the order. Percentile is the share of models that cost more than this one.

GPT-5 nano against all 216 models in the rate index. Rates checked 2026-09-26.
Ranked byPositionPercentileRate
Input rate5 of 21698%$0.025
Output rate17 of 21692%$0.20
Agent mix 1:3, blended17 of 21692%$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. That gap is what the re-ranked index exists to show: sorting by input price alone can put a model 68 places out.

Inside OpenAI's 42 listed models, GPT-5 nano is 1 of 42 on the same agent mix, between GPT 5 Nano at $0.1563 and GPT 5.5 Pro at $71.25 per 1M blended tokens. Most real decisions are made inside one vendor's range rather than across the whole index — see the full OpenAI range.

Similarly priced alternatives

Similarly pricedVendorIn / out per 1Mvs this
GPT-6 LunaOpenAI$0.05 / $0.25+$0.07
Llama 4 MaverickMeta$0.07 / $0.35+$0.19
GPT-5.6 LunaOpenAI$0.1 / $0.6+$0.47

Blended comparison (input + output per 1M). Price is one axis — the models above are not interchangeable, they are the ones worth testing side by side at this budget.

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; official 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. Rates follow vendor promotions and can move without notice, so a per-call record is the only thing that tells you later whether a price change actually hit you — and in which direction.

import json

# 把每次调用的 usage 落盘,一周后你就有了自己的 in:out 比例。
# 拿这个比例去 /calculator/ 比价,比对着价目表猜准得多 ——
# output 单价是 input 的好几倍,猜错方向就是往贵了算。
with open("usage.jsonl", "a") as fh:
    fh.write(json.dumps({
        "model": model,
        "in": resp.usage.prompt_tokens,
        "out": resp.usage.completion_tokens,
    }) + "\n")

Setting it up

Pointing an existing integration at this model is a base URL change, not a rewrite. Pick your tool:

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 because every turn resends the context — 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 in blended price. If you are choosing on cost alone, start there and test the top two on your own prompts — price per token is only half the equation, the other half is how many tokens a model needs to finish the task.

How do I start using GPT-5 nano?

You need an API key, then point your client at the gateway base URL. It is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools.

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 the rates differ.

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: a coding agent writes far more than it reads, so on this model the output rate — not the input rate people usually compare — decides the bill. 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 usually not the model but how much context you resend each turn — 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