Claude Opus 5.5 API Pricing (2026): Cost per Task and Code
Unicorn API Team · · 10 min read
Claude Opus 5.5 API pricing comes down to three numbers: what you pay for tokens you send, tokens the model writes back, and tokens it reads from cache. This post gives those rates in credits and dollars, works through real request costs, compares them with the other frontier models on the same API, and shows code that logs the cost of every call.
A quick definition before the numbers. A token is a chunk of text the model reads or writes, usually a word fragment. Prices are quoted per million tokens, and every request reports how many tokens it used, so your bill matches what actually ran.
What Is Claude Opus 5.5 API Pricing on Unicorn API?
Claude Opus 5.5 is Anthropic’s Opus-tier chat model, available on Unicorn API since 11 November 2026 under the model id claude-opus-5-5. You call it through the OpenAI-compatible chat completions endpoint and pay in credits. Here is the full rate card:
| Token type | Credits per 1M tokens | $ per 1M (plan credits) | $ per 1M (top-up credits) |
|---|---|---|---|
| Input | 320 | $3.20 | $4.80 |
| Output | 1,600 | $16.00 | $24.00 |
| Cached input (cache read) | 32 | $0.32 | $0.48 |
| Cache write | 32 | $0.32 | $0.48 |
Three things stand out in this Claude Opus 5.5 API pricing:
- Output costs 5x input. Every token the model writes is five times the price of a token you send. Long answers, verbose reasoning and generated code are where the money goes.
- Cached input is a tenth of normal input. If you resend the same long prefix (a system prompt, a codebase, a document), cached reads cost 32 credits per million instead of 320.
- Cache writes are cheap too. Storing a prefix in the cache costs the same 32 credits per million, so there is little penalty for trying caching even if you are not sure it will be reused.
The cost of each request is debited from the usage the model reports, so you never pay for a fixed bucket of tokens you did not use. If you want the exact price of a request before running it, the API exposes POST /v1/models/price; the request format is in the API documentation.
How Credits Turn Into Dollars
Unicorn API bills every model, chat, image, video or audio, in one currency: credits. How much a credit costs depends on how you buy it.
- Monthly plans give credits at $0.01 each. Starter is $25 a month (2,500 credits), Creator $50 (5,000), Studio $100 (10,000) and Pro $200 (20,000).
- Top-ups cost $0.015 per credit and never expire.
So the same Opus 5.5 request costs 1.5x more when paid for with top-up credits. That is the only variable in the conversion: the credit rate per token stays fixed whichever way you buy. A rule of thumb that holds for Claude Opus 5.5 API pricing on a plan: divide the credit figure by 100 to get dollars. 1,600 credits per million output tokens is $16.
Which option fits? If you run Opus 5.5 every month at a predictable volume, a plan is cheaper. If your usage is bursty, a side project you touch twice a quarter, top-ups avoid paying for credits you will not use that month. Many teams use both: a plan for the baseline and top-ups for spikes. The pricing page lists the current plans.

Worked Example: What Real Requests Cost
Per-million rates are hard to reason about. Here is what typical requests cost, using the rates above. The arithmetic is simple: tokens multiplied by the rate, divided by one million.
A short chat request
A support-style question with a system prompt: 2,000 input tokens, 800 output tokens.
- Input: 2,000 × 320 / 1,000,000 = 0.64 credits
- Output: 800 × 1,600 / 1,000,000 = 1.28 credits
- Total: 1.92 credits, about $0.019 on a plan or $0.029 with top-ups
Notice that the 800 output tokens cost twice as much as the 2,000 input tokens.
Summarising a long document
A 100,000-token contract, summarised into 2,000 tokens.
- Input: 100,000 × 320 / 1,000,000 = 32 credits
- Output: 2,000 × 1,600 / 1,000,000 = 3.2 credits
- Total: 35.2 credits, about $0.35 on a plan
Here input dominates. If you ask several questions about the same document, caching that 100,000-token prefix cuts each follow-up’s input cost from 32 credits to 3.2.
Generating code
A 3,000-token prompt that asks for a 6,000-token module.
- Input: 3,000 × 320 / 1,000,000 = 0.96 credits
- Output: 6,000 × 1,600 / 1,000,000 = 9.6 credits
- Total: 10.56 credits, about $0.11 on a plan
A coding-agent session
This is the case most people searching for Claude Code Opus 5.5 costs care about. A coding agent resends the whole conversation, plus files it has read, on every turn. Assume a 40-turn session where each turn sends 60,000 tokens of context and gets 1,500 tokens back.
Without caching, each turn costs 60,000 × 320 / 1,000,000 = 19.2 credits of input plus 2.4 credits of output, so 21.6 credits. Over 40 turns: 864 credits, about $8.64 on a plan.
With caching, suppose 55,000 of the 60,000 tokens are an unchanged prefix read from cache and 5,000 are new. Each turn costs:
- Cached input: 55,000 × 32 / 1,000,000 = 1.76 credits
- New input: 5,000 × 320 / 1,000,000 = 1.6 credits
- Output: 1,500 × 1,600 / 1,000,000 = 2.4 credits
That is 5.76 credits a turn and 230.4 credits for the session, about $2.30 on a plan. If the new tokens are also written to cache each turn, add up to 0.16 credits a turn, roughly 6.4 credits for the session. Caching cuts this session’s cost by almost three quarters.
On a Starter plan’s 2,500 credits, that is about ten cached sessions of this size a month; on Pro’s 20,000 credits, about 86.
How Prompt Caching Changes the Bill
Prompt caching means the provider stores the processed version of a repeated prompt prefix, so later requests that start with the same text are read from cache rather than processed from scratch. You pay less because less work is done.
For Claude Opus 5.5 API pricing, caching is the single biggest lever after output length. Cached reads cost 32 credits per million against 320 for fresh input, a 10x difference. The workloads that benefit most:
- Coding agents that resend a growing conversation and file contents every turn.
- Chatbots with long system prompts, tool definitions or knowledge snippets that stay the same across users.
- Document Q&A, where many questions are asked about the same large text.
- Batch jobs that apply the same instructions to many items.
To make caching work, structure prompts so the stable part comes first and the changing part comes last. A prompt that starts with today’s date or a random request id breaks the shared prefix, and every request pays full input price. Put the system prompt, tool schemas and reference material at the top; put the user’s message at the bottom.
Check the usage your responses report. If cached token counts stay at zero on requests you expected to hit the cache, something in your prefix is changing between calls.
Claude Opus 5.5 vs GPT 6.2 Astra, GPT 6.2 Sol and Gemini 4 Neon on Price
Price only matters relative to what else you could run. These are the other frontier chat models on Unicorn API, at their listed credit rates per million tokens:
| Model | Input | Output | Cached input | Cache write | Short chat example (2,000 in / 800 out) |
|---|---|---|---|---|---|
| GPT 6.2 Sol | 120 | 600 | 6 | 150 | 0.72 credits |
| Gemini 4 Neon | 240 | 1,200 | 12 | not listed | 1.44 credits |
| Claude Opus 5.5 | 320 | 1,600 | 32 | 32 | 1.92 credits |
| GPT 6.2 Astra | 480 | 2,400 | 24 | 600 | 2.88 credits |
Reading the table:
- GPT 6 Astra vs Claude Opus 5.5: Astra’s input and output rates are 1.5x Opus 5.5’s. Astra’s cached reads are slightly cheaper (24 vs 32 credits), but its cache writes cost 600 credits per million against 32 for Opus. For agent loops that write new context to cache every turn, that gap adds up. We cover this pair in more depth in GPT 6 Astra vs Claude Opus 5.5, where you can compare outputs side by side.
- Gemini 4 Neon costs three quarters of Opus 5.5 on input and output and has a 1M-token context with four thinking levels up to xhigh. It is also available through an OpenAI-compatible variant with Google Search grounding, at the same rates.
- GPT 6.2 Sol is the budget option here: Opus 5.5 costs about 2.7x more per token.
Per-token price is not the full picture. A model that solves a task in one attempt with a short answer can be cheaper than a lower-priced model that needs three tries or writes twice as much. The honest way to compare is to run a sample of your real prompts through each model and divide total credits by the number of tasks that came out right. Because all four models sit behind one key and one endpoint, that test is a one-line change to the model field. The model catalog lists every option.

How to Use Claude Opus 5.5 and Track the Cost
Getting started takes three steps: create a key on the API keys page, export it as UNICORN_API_KEY, and send a request. If you would rather try prompts before writing code, the browser playground runs the same models.
A minimal request with curl
curl https://api.unicornapi.net/v1/chat/completions \
-H "Authorization: Bearer $UNICORN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5-5",
"messages": [
{"role": "user", "content": "Write one sentence about unicorns."}
],
"max_tokens": 200
}'
Python that logs the cost of every call
This script sends a request, reads the token usage from the response, and converts it into credits and dollars using the rates above. It reads usage fields defensively, since cached-token details only appear when caching applies.
import os
import requests
API_URL = "https://api.unicornapi.net/v1/chat/completions"
API_KEY = os.environ["UNICORN_API_KEY"]
# Claude Opus 5.5 rates, credits per 1M tokens
RATES = {
"input": 320,
"output": 1600,
"cached_input": 32,
}
PLAN_USD_PER_CREDIT = 0.01
TOPUP_USD_PER_CREDIT = 0.015
def ask(prompt, max_tokens=800):
resp = requests.post(
API_URL,
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json",
},
json={
"model": "claude-opus-5-5",
"messages": [
{"role": "system", "content": "You are a concise senior engineer."},
{"role": "user", "content": prompt},
],
"max_tokens": max_tokens,
},
timeout=120,
)
resp.raise_for_status()
data = resp.json()
usage = data.get("usage", {})
prompt_tokens = usage.get("prompt_tokens", 0)
output_tokens = usage.get("completion_tokens", 0)
details = usage.get("prompt_tokens_details") or {}
cached = details.get("cached_tokens", 0)
fresh_input = prompt_tokens - cached
credits = (
fresh_input * RATES["input"]
+ cached * RATES["cached_input"]
+ output_tokens * RATES["output"]
) / 1_000_000
print(f"input={fresh_input} cached={cached} output={output_tokens}")
print(f"credits={credits:.4f} "
f"plan=${credits * PLAN_USD_PER_CREDIT:.4f} "
f"topup=${credits * TOPUP_USD_PER_CREDIT:.4f}")
return data["choices"][0]["message"]["content"]
if __name__ == "__main__":
answer = ask("Explain prompt caching in three sentences.")
print(answer)
Treat this as an estimate for logging and dashboards. Your account is debited from the usage the model reports, and that debit is the authoritative number. To check a price before sending, use POST /v1/models/price as described in the docs.
Controlling cost from the request
The request fields that affect your bill most:
max_tokenscaps output length. Since output is the expensive side, set it to what you actually need rather than a large default.reasoning_effortcontrols how much the model thinks before answering. Lower effort usually means fewer tokens produced; reserve high effort for hard problems. Accepted values are listed in the docs.response_formatasks for structured output such as JSON, which tends to be shorter than prose and removes the need for a second parsing call.streamdoes not change price, but it lets you stop reading early and show progress to users.
Using Opus 5.5 from Claude Code and other agents
If you work in Claude Code, Cursor or another agent, you can route requests to Unicorn API over MCP and pick claude-opus-5-5 as the model. Setup steps are on the agents page. Agent sessions are where the coding-session example above applies, so keep an eye on cached token counts.
Common Mistakes That Inflate the Bill
Most surprise invoices come from a handful of patterns. Each one is easy to fix once you know where to look.
- Budgeting on input price alone. People see 320 credits per million and forget output is 1,600. For chat and code generation, output often makes up most of the cost. Estimate both sides.
- Breaking the cache prefix. Timestamps, user ids or shuffled tool lists at the top of a prompt make every request look new. Keep the stable part first and identical between calls.
- Leaving
max_tokenswide open. A model that rambles on one request in fifty can quietly double your output spend. Cap it per use case. - Using Opus for everything. Classification, routing, short rewrites and extraction rarely need an Opus-tier model. Sending those to GPT 6.2 Sol and saving Opus 5.5 for hard reasoning is a common way to cut spend without hurting quality where it counts.
- Letting conversations grow forever. Every turn resends the history. Summarise or trim old turns in long chats so input does not grow without limit.
- Buying the wrong kind of credits. Steady monthly usage paid for with top-ups costs 1.5x what a plan would. Uneven usage on a large plan can leave credits unused. Match the purchase to your pattern.
- Trusting “free unlimited Opus 5.5” offers. The model weights are not public, so there is no free download or GitHub release you can self-host. Sites promising unlimited free access are reselling someone’s quota or worse.
Is Claude Opus 5.5 Worth the Price?
That depends on the task, not the rate card. Claude Opus 5.5 API pricing sits in the middle of the frontier models on Unicorn API: cheaper per token than GPT 6.2 Astra, more expensive than Gemini 4 Neon and GPT 6.2 Sol. Its cache rates are low on both reads and writes, which makes it a reasonable fit for long agent sessions and repeated-context workloads where caching does most of the saving.
A practical approach:
- Pick 20 to 50 real prompts from your product.
- Run them through Opus 5.5 and one or two alternatives by changing only the
modelfield. - Score which outputs you would actually ship.
- Divide total credits by accepted outputs to get cost per useful result.
That number, not the per-million rate, tells you whether the price is worth paying. If you want a reference for how we run these comparisons, see Grok 4.7 vs Opus 5 and GPT-6 Luna pricing, which follow the same method.
When you are ready, create a key, set a sensible max_tokens, structure your prompts for caching, and log the cost of every call from day one. With those four habits, Claude Opus 5.5 API pricing becomes a number you can predict rather than one you discover at the end of the month.
Frequently asked questions
How much does the Claude Opus API cost?
On Unicorn API, Claude Opus 5.5 costs 320 credits per million input tokens, 1,600 credits per million output tokens, and 32 credits per million cached input or cache write tokens. With monthly plan credits at $0.01 each, that works out to $3.20, $16 and $0.32 per million tokens. Top-up credits cost $0.015 each, so the same usage costs 1.5x more but never expires.
Is Claude Opus 5.5 free?
No. Claude Opus 5.5 is a paid model on the API, and every request is billed from the tokens the model reports. There is no free download because the model weights are not public, and any site offering free unlimited Opus 5.5 is reselling access or misleading you. A small test request costs a fraction of a credit, so trying it is cheap.
Is Opus 5.5 cheaper than Opus 5?
Anthropic priced Opus 5.5 lower per token than Opus 5 when it launched, so moving to the newer model reduces the rate you pay for the same token count. Your real saving also depends on how many tokens each model uses to finish a task, since output tokens dominate the bill. Run your own prompts through both and compare the reported usage.
How do I use Claude Opus 5.5 in Claude Code?
Claude Code and other coding agents can reach Unicorn API through its MCP setup, which lets you route requests to claude-opus-5-5 with your Unicorn API key. Coding agents resend large amounts of context every turn, so prompt caching matters a lot: cached input costs 32 credits per million versus 320 for fresh input. Check the agents page for setup steps.
Is Claude Opus 5.5 cheaper than GPT 6.2 Astra?
Yes, on listed token rates. GPT 6.2 Astra costs 480 credits per million input and 2,400 per million output on Unicorn API, which is 1.5x the Claude Opus 5.5 rates of 320 and 1,600. Astra has a slightly lower cached input rate, 24 versus 32 credits, but a much higher cache write rate of 600 credits per million.
Do Unicorn API credits expire?
Top-up credits never expire. They cost $0.015 each and suit uneven or occasional usage. Monthly plans give credits at $0.01 each: Starter is $25, Creator $50, Studio $100 and Pro $200 per month. If you run Claude Opus 5.5 every month at a steady volume, a plan is the cheaper way to buy the same credits.