Claude Opus 5 API pricing

Anthropic's strongest model for long-horizon agentic coding and enterprise work. Available at about 50% below official list.

In short: Claude Opus 5 costs $2.5 per 1M input tokens and $12.5 per 1M output tokens through this route, against an official list price of $5 / $25 (about 50% below official list). At 50M input and 10M output tokens a month that works out to about $250. Rates verified 2026-11-01.
RouteInput / 1MOutput / 1M
Official list price$5$25
Discounted route$2.5$12.5

USD, standard tier. List price cross-checked against Anthropic’s published pricing on 2026-11-01; the discounted route was read from the provider’s live rate config the same day.

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

Specifications

VendorAnthropic
Context window1M
Max output128K
CategoryUS frontier
These rates apply only through the gateway route. Claude Code and Cursor each need one base URL setting before requests bill here instead of direct.

What Claude Opus 5 costs at your volume

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

Calculated at $2.5 input / $12.5 output per 1M tokens, 5.0× apart on this model, assuming a 5:1 input-to-output ratio. That ratio is the single largest source of error in this table: resend-heavy workloads drift well past it, and at 5.0× the correction is not linear. The cost calculator takes the actual figures.

What Claude Opus 5 costs on real traffic

The output skew on Claude Opus 5 is close to the norm for expensive models: roughly 5.0× input against output. In practice that means a chat turn costs about $2.5 worth of input and then several times that in generation. Sizing a budget off the input rate understates the real number by most of its value.

This sits high enough that triggers matter. Anything running unattended — a nightly pipeline, a background reindex — should either use something cheaper or be capped. Where Claude Opus 5 pays for itself is interactive work with real stakes: a hard refactor, an ambiguous brief, a debugging session that has already burned an hour.

Where Claude Opus 5 sits in the index

Claude Opus 5 is 203 of 226 on input rate and 207 of 226 on output rate. A gap of 4 places, because on this model the output rate is 5.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 226 models in this index that cost more than Claude Opus 5.

Claude Opus 5 against all 226 models in the rate index. Rates checked 2026-11-01.
Ranked byPositionPercentileRate
Input rate203 of 22610%$2.5
Output rate207 of 2268%$12.5
Agent mix 1:3, blended205 of 2269%$10.00

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

Claude Opus 5 is 203 of 226 across every model in the index; the comparison that usually settles a choice is Anthropic's own lineup further down.

Claude Opus 5 among Anthropic's 9 models

Claude Opus 5 is the 7th cheapest of Anthropic's 9 models in this index at $2.5 per 1M input tokens. The range inside that group runs from Claude Haiku 5.5 at $0.05 to Claude Fable 5 at $5, a spread of 100×, and this one sits at 50.0× the group's cheapest tier.

Claude Opus 5 against the rest of the group, by input rate per 1M tokens. Rates checked 2026-11-01.
ModelIn / 1MOut / 1Mvs this
Claude Haiku 5.5$0.05$0.250.02×
Claude Haiku 4.5$0.5$2.50.20×
Claude Sonnet 5$1$50.40×
Claude Sonnet 5.5$1$50.40×
Claude Sonnet 4.6$1.5$7.50.60×
Claude Opus 5.5$2$100.80×
Claude Opus 5$2.5$12.5—
Claude Opus 4.8$2.5$12.51.00×
Claude Fable 5$5$252.00×

On input rate alone, stepping up to Claude Opus 4.8 costs 1.0× the input rate and dropping to Claude Opus 5.5 cuts it by 20%. Both measured at 2026-11-01, the same check as every other rate on this page.

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

Similarly priced alternatives

Similarly pricedVendorIn / out per 1Mvs this
Claude Opus 4.8Anthropic$2.5 / $12.5same
GPT-5.6 SolOpenAI$2.5 / $15+$2.50
Claude Opus 5.5Anthropic$2 / $10−$3.00

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

Calling Claude Opus 5

The identifier you send is claude-opus-5. 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, Claude Opus 5'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="claude-opus-5",
    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 Claude Opus 5 output costs 5.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 Claude Opus 5 is a base URL change, not a rewrite. Pick your tool:

What different usage shapes cost on Claude Opus 5

A monthly token budget does not convert cleanly into a monthly invoice, and Claude Opus 5 is an ordinary case rather than an extreme one: output is priced at 5.0× input, above the median of 4.0× across the 226 models in our index. Everything follows from that one number, at 5:1 it is manageable, at 1:1 the same token count costs half as much. Below are five shapes real Claude Opus 5 deployments fall into, each costing it out at the split it actually produces.

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

The cheapest comparison is GPT-5 nano at $0.025 / $0.2 per 1M — 66.7× cheaper than Claude Opus 5 on a blended rate. Treat it as a rate floor, not a recommendation: it says nothing about whether GPT-5 nano can do the work you need Claude Opus 5 for.

Read the table as a sanity check rather than a forecast. If your own output share sits anywhere near 3%, everything above is priced almost entirely at Claude Opus 5's $2.5 input rate; at 40% the $12.5 output rate has taken the larger half. Nobody's split is exactly the one you assumed when you picked the model, which is why the calculator asks for it before quoting anything.

FAQ

How much does Claude Opus 5 cost per million tokens?

$2.5 per million input tokens and $12.5 per million output tokens. Anthropic/OpenAI list the same model at $5 / $25

Is Claude Opus 5 cheaper than buying direct?

Yes. Currently 50% lower on input and 50% lower on output than the published list price. Rates move with upstream promotions, so check the live number before budgeting.

What does Claude Opus 5 cost per month in practice?

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

Which models cost about the same as Claude Opus 5?

The comparison table further up this page lists the three closest to Claude Opus 5's $15 blended rate. If you are choosing on cost alone, test the top two on your own prompts — $2.5 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 Claude Opus 5?

You need an API key, then point your client at the gateway base URL with claude-opus-5 as the model id. On Claude Opus 5 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 Claude Opus 5 snippet is in the calling section above.

What is the Claude Opus 5 API price per 1M tokens?

$2.5 per 1M input and $12.5 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 Claude Opus 5 they differ by 5.0x.

How much more does Claude Opus 5 charge for output than input?

Output tokens cost 5.0x what input tokens do here — $2.5 per 1M in against $12.5 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 Claude Opus 5 a coding agent's output takes 50% of the bill, so the input rate people usually compare is the smaller half. See why output pricing dominates.

How much does Claude Opus 5 cost for a coding agent?

About $2,500.00 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 same workload at official list would be roughly $5,000.00. The biggest lever is not the model but how much context you resend each turn, at 2,500 dollars a month on Claude Opus 5, halving the resend roughly halves that. See what actually drives agent cost.

Why does Claude Opus 5 show two different prices?

Because there are two routes to the same model. Anthropic publishes a list price ($5 / $25 per 1M) while gateways resell access to the same weights, occasionally under upstream promotional pricing. The table at the top of this page shows both side by side. Promotions move, so read the number as a snapshot taken 2026-11-01, not as a standing discount.

Get Claude Opus 5 access