Claude Opus 5 API
Anthropic says it comes close to the frontier intelligence of Claude Fable 5 at half the price. Call claude-opus-5 through the native Anthropic API on AnyAIGC from $0.6177 per million input tokens, 88% off Anthropic's list price.
A newer version is available: Anthropic now lists Claude Opus 5 as a legacy model (Active · Legacy) and commits to retiring it no earlier than July 24, 2027. It still works normally today. For new projects, we recommend Claude Opus 5.5.
- Model ID claude-opus-5
- Endpoint /v1/messages
- Price 88% off list
- Concurrency Unlimited
- Tools Works with Claude Code
- Business Self-service invoices
What is Claude Opus 5
-
Near Fable 5 intelligence at half the price
Anthropic released Claude Opus 5 on July 24, 2026, describing it as a thoughtful and proactive model that comes close to the frontier intelligence of Claude Fable 5 at half the price. Anthropic says it costs the same as Opus 4.8 while performing much better, and that on Frontier-Bench v0.1 it more than doubles Opus 4.8's score at a lower cost per task.
View benchmarks -
Native API, one key for everything
AnyAIGC exposes a
Get started in three steps/v1/messagesendpoint that speaks the Anthropic Messages format. To switch an existing project, change the base URL tohttps://anyaigc.aiand set model toclaude-opus-5. The same key also works with 300+ other models on the platform.
Claude Opus 5 API pricing
Pay per token at fixed rates, with no subscription or monthly fee. Every line item is about 12.4% of Anthropic's list price.
- Pay per tokenInput, output, and cache priced separately
- 88% offCompared with Anthropic's list price
- Unlimited concurrencyIncluded on every account
- USDOne balance for 300+ models
| Item | AnyAIGC | Anthropic list | You save |
|---|---|---|---|
| Inputper 1M tokens | $0.6177 | $5.00 | 88% |
| Outputper 1M tokens | $3.0880 | $25.00 | 88% |
| 5-minute cache writeper 1M tokens | $0.7721 | $6.25 | 88% |
| 1-hour cache writeper 1M tokens | $1.2350 | $10.00 | 88% |
| Cache hitper 1M tokens | $0.0618 | $0.50 | 88% |
Model name claude-opus-5. Prices are in USD and billed on actual tokens used. List prices are from Anthropic's website; see the AnyAIGC Model Catalog for live pricing.
Cost examples
Estimates for common workloads. Strikethrough shows the same usage at Anthropic's list price.
-
One code review
50K input + 5K output tokens
$0.046
List
$0.38 -
A cached agent session
200K tokens written to a 5-minute cache, then 20 turns that each hit the cache and add 5K input and 2K output
$0.59
List
$4.75 -
1M input + 1M output
1M input + 1M output tokens
$3.71
List
$30.00
What Claude Opus 5 is good at
Existing Opus 5 integrations
If your prompts and evals are already tuned for Opus 5, keep running claude-opus-5 in production and migrate on your own schedule. Coming from Opus 4.8, the list price is the same and the only change is the model field.
Long-running coding and agent work
Plans, calls tools, and checks its results across multi-step tasks. Anthropic says it more than doubles Opus 4.8's score on Frontier-Bench v0.1. Add prompt caching to pay the cache-hit rate on long context every turn, and run many agents side by side with unlimited concurrency.
Computer use and automation
Opus 5 scores 70.6% on the OSWorld 2.0 computer use benchmark, according to Anthropic. Use it to drive interfaces, fill in forms, and finish repetitive work across apps.
Knowledge work and agentic search
Works through long documents, reports, and research, or searches the web over many turns and pulls the findings together. Anthropic reports 1861 on GDPval-AA v2 and 90.8% on BrowseComp.
Benchmarks
Anthropic's published results for frontier tasks, knowledge work, computer use, and agentic search, compared with Fable 5 and Opus 4.8.
| Benchmark | Opus 5 | Fable 5 | Opus 4.8 |
|---|---|---|---|
| Frontier tasksFrontier-Bench v0.1 | 43.3% | 33.7% | 21.1% |
| Knowledge workGDPval-AA v2 | 1861 | 1747 | 1593 |
| Computer useOSWorld 2.0 | 70.6% | 66.1% | 55.7% |
| Agentic searchBrowseComp | 90.8% | 87.4% | 84.3% |
Source: Anthropic's launch announcement. GDPval-AA v2 is an Elo score; the other rows are percentages.
Call the Claude Opus 5 API in three steps
- Sign up and add credit: create an account at anyaigc.ai. Your balance works across every model on the platform.
- Create an API key: create a token in the console and copy the key that starts with
sk-. - Send a request: POST an Anthropic Messages request to
https://anyaigc.ai/v1/messages, authenticating withAuthorization: Bearer.
curl https://anyaigc.ai/v1/messages \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5",
"max_tokens": 4096,
"system": "You are a senior engineer. Lay out a plan first, then work through it step by step and say how you will verify each step.",
"messages": [
{"role": "user", "content": "Split a Flask monolith into separate users and orders services. Give me the migration steps and API contracts."}
]
}'
import os, requests
resp = requests.post(
"https://anyaigc.ai/v1/messages",
headers={"Authorization": f"Bearer {os.environ['ANYAIGC_API_KEY']}"},
json={
"model": "claude-opus-5",
"max_tokens": 4096,
"messages": [
{"role": "user", "content": "Compare these three quarterly reports. Which business line changed most in revenue, and why?\n<reports>"},
],
},
timeout=300,
)
resp.raise_for_status()
for block in resp.json()["content"]:
if block["type"] == "text":
print(block["text"])
# Put long context (codebase, docs) in system and mark it for caching; later cache hits cost only $0.0618/1M
curl https://anyaigc.ai/v1/messages \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5",
"max_tokens": 2048,
"system": [
{"type": "text", "text": "You are the code assistant for this project."},
{"type": "text", "text": "<your whole codebase or long document here>",
"cache_control": {"type": "ephemeral"}}
],
"messages": [{"role": "user", "content": "Find every unhandled exception and rank them by risk"}]
}'
# Cache lasts 5 minutes by default; for 1 hour use {"type": "ephemeral", "ttl": "1h"}
For more parameters (tools, thinking, streaming, PDF and image input, and more), see the AnyAIGC Messages API docs. Fields behave the same as in Anthropic's official docs.
Use Opus 5 in Claude Code
Install with one command that writes your AnyAIGC config automatically, or edit settings.json by hand to pin the main model to claude-opus-5.
curl -fsSL https://www.anyaigc.ai/install.sh | bash -s claude
# Windows PowerShell: irm https://www.anyaigc.ai/install.ps1 | iex
{
"env": {
"ANTHROPIC_BASE_URL": "https://anyaigc.ai",
"ANTHROPIC_AUTH_TOKEN": "sk-your-api-key",
"ANTHROPIC_MODEL": "claude-opus-5",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5",
"API_TIMEOUT_MS": "300000"
}
}
For full setup steps and common errors, see the Claude Code setup guide.
Claude Opus 5 API for teams and enterprises
Top up, issue invoices yourself, and work with a dedicated support and technical contact.
- Invoices
Issue them yourself
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
- Dedicated support
Account and technical contacts
Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.
- WeChat Pay
- Alipay
- USDT
- Credit card
Why teams trust AnyAIGC
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
5M free tokens to start
New accounts get trial credit, so you can test before you top up.
Top up from $1, refundable
Top up from $1. Unused balance can be refunded with no fee.
Official channels, real models
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
No retention, no training
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
Transparent billing, spend caps
See tokens and cost for every request in the console, and set a quota on each API key.
24/7 support
Contact support any time about integration, billing or incidents.
Why use AnyAIGC
- 88% off
12.4% of list price
Anthropic prices Opus 5 at half of Fable 5. On AnyAIGC, input, output, and cache each cost about 12.4% of that list price on top.
- Unlimited concurrency
Included on every account
Run long agent loops and batch jobs in parallel without queuing or requesting a quota increase.
- Native API
Works with the Anthropic SDK
Keep the Messages format and cache_control. Moving up from Opus 4.8 or on to Opus 5.5 is a one-field change.
- 300+ models
One key for all of them
Claude, GPT, Gemini, and more share one API key and one balance.
Other Claude models
The same API key works for every Claude model below. Pick by task difficulty and budget, or see the Claude overview and price comparison.
- LatestClaude Opus 5.5Current Opus for coding and agents · Input $0.4941 / 1M
- LatestClaude Sonnet 5.5Faster, cheaper everyday coding and documents · Input $0.2471 / 1M
- LatestClaude Haiku 5.5Fast and low-cost, for volume work and sub-agents · Input $0.0247 / 1M
- LatestClaude Fable 5.2Next-gen Fable for the hardest long-running work · Input $1.9760 / 1M
- Claude Fable 5.1Previous Fable, still available · Input $2.4710 / 1M
- Claude Opus 5Near Fable 5 intelligence at half the price (legacy) · Input $0.6177 / 1M
- Claude Fable 5Mythos-class legacy model for long-horizon agent work · Input $2.4710 / 1M
- Claude Sonnet 5Close to Opus 4.8, a value pick for everyday agents · Input $0.2471 / 1M
- Claude Opus 4.8Final 4.x Opus with more efficient tool calling · Input $0.6177 / 1M
- Claude Opus 4.7Big jump on hard coding, sharper high-res vision · Input $0.6177 / 1M
- Claude Opus 4.6Legacy Opus with 1M context, still live · Input $0.6177 / 1M
Specs and how to choose it
Claude Opus 5 was released on July 24, 2026.
Anthropic's docs describe Claude Opus 5 as built for complex agentic coding and enterprise work, with particular strengths in long-horizon agentic tasks.
It has a 1M-token context window, up to 128K output tokens, and adaptive thinking with a default effort of high.
Its reliable knowledge cutoff is May 2026.
This page lists Input at $0.6177, Output at $3.0880, 5-minute cache write at $0.7721, 1-hour cache write at $1.2350, matching the pricing table above.
Compared with claude-opus-5-5: Compared with Claude Opus 5.5, context and max output are the same; Opus 5.5 keeps thinking always on, defaults to medium effort, and has a June 2026 knowledge cutoff.
Specs come from the vendor's official documentation (platform.claude.com). The table on this page is the price, and the model catalog is authoritative for live rates.
Claude Opus 5 API FAQ
How much does the Claude Opus 5 API cost?
On AnyAIGC, claude-opus-5 is billed per token: $0.6177 per million input tokens, $3.088 per million output tokens, $0.7721 for 5-minute cache writes, $1.2350 for 1-hour cache writes, and $0.0618 for cache hits. Anthropic's list price is $5 input and $25 output, so AnyAIGC comes in at about 12.4% of list price.
What is the Claude Opus 5 model ID, and is the API Anthropic-compatible?
The model ID is claude-opus-5. Put it in the model field of your request body. The endpoint is https://anyaigc.ai/v1/messages and the request body follows the Anthropic Messages format (model, max_tokens, system, messages, tools, cache_control, and so on). Authenticate with Authorization: Bearer followed by your API key. With the official SDK, just set the base URL to https://anyaigc.ai.
Opus 4.8 vs Opus 5: what's the difference?
Both have the same list price ($5 input, $25 output), and Anthropic says Opus 5 delivers greatly improved performance for the same cost. In Anthropic's published results, Opus 5 scores 43.3% on Frontier-Bench v0.1 versus 21.1% for Opus 4.8, and 70.6% versus 55.7% on OSWorld 2.0. On AnyAIGC both are billed at about 12% of list price, so upgrading only means changing model to claude-opus-5.
Is Claude Opus 5 deprecated? How long can I use it?
It is not retired. Anthropic lists Claude Opus 5 as a legacy model (Active · Legacy) and commits to retiring it no earlier than July 24, 2027. It still works normally today. For new projects, Anthropic recommends Claude Opus 5.5 (claude-opus-5-5).
Can I use Claude Opus 5 in Claude Code?
Yes. In the env block of ~/.claude/settings.json, set ANTHROPIC_BASE_URL to https://anyaigc.ai, ANTHROPIC_AUTH_TOKEN to your API key, and both ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_OPUS_MODEL to claude-opus-5, then run claude. You can also install and configure everything with one command: curl -fsSL https://www.anyaigc.ai/install.sh | bash.
How is prompt caching billed?
Add cache_control to a content block to enable caching. The first write is billed at the cache write rate ($0.7721 for 5 minutes or $1.2350 for 1 hour, per million tokens). After that, cached tokens cost only $0.0618 per million, about 10% of the regular input price. Caching works well for long system prompts, large codebase context, and multi-turn agent tasks.
Are there concurrency or rate limits?
AnyAIGC sets no concurrency limit on claude-opus-5. Every account gets this by default, so it works well for batch jobs and running multiple agents in parallel.
What is Claude Opus 5 good at?
Anthropic describes Opus 5 as a thoughtful and proactive model that comes close to the frontier intelligence of Claude Fable 5 at half the price. It fits existing Opus 5 integrations, long-running agent tasks, computer use automation, knowledge work, and agentic search. In Anthropic's published results, it scores 43.3% on Frontier-Bench v0.1 and 70.6% on OSWorld 2.0.
Can I get an invoice from AnyAIGC?
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
Which payment methods are supported?
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Is there free trial credit for new users?
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Can I get a refund on my balance?
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Are these the real models? Is my data safe?
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Is my data used for training?
Requests are encrypted in transit over HTTPS. See the AnyAIGC Privacy Policy for data handling details. The model's own data policy is governed by Anthropic's official terms.
Run Opus 5 at 12% of list price
Sign up, create an API key, and you can be calling claude-opus-5 from your code or Claude Code in minutes.