anthropic logo 55% off

Claude Sonnet 5 API

Anthropic·Text· 99.1% success (7d)

Claude Sonnet 5 is Anthropic's flagship Sonnet — a 1M-token context window with adaptive thinking and selectable reasoning effort (low/medium/high/max/x-high). Released 2026-06-30.

1M Context 64.0K out $2,109.51 capacity 82.3K req/24h $537.70 24h volume
Input
Text
Output
Text

Pricing

Cheapest live price, per 1 million tokens.

Input / 1M tokens

$0.90055% off

$2.00 OpenRouter

Output / 1M tokens

$4.5055% off

$10.00 OpenRouter

Cache read / 1M

$0.130

Repeated prompt prefixes

Cache read is the discounted rate for repeated prompt prefixes (system prompts, agent context).

Capabilities · 10

Vision Reasoning Tool calling Parallel tools JSON mode JSON schema File input PDF Prompt caching Streaming

Specifications

Context window
1M
Max output
64K
Type
Text
Creator
Anthropic
Live sellers
112
Requests / 24h
82,311

Price history · 60 days

Sep 5 — Nov 4▲ 342.06% vs last week
Compare all top models

Estimated monthly cost

30 days at the cheapest live price.

AI Chatbot
1,000 req/day · 2K in · 0.5K out
$121.50/mo
$270.00 OpenRouter
Coding Copilot
500 req/day · 8K in · 2K out
$243.00/mo
$540.00 OpenRouter
AI Agent
100 req/day · 50K in · 5K out
$202.50/mo
$450.00 OpenRouter

Benchmarks & reliability

LiveBench score + measured network performance. Leaderboard →

LiveBench
76.0
#6 of 16
Success rate
99.1%
7-day window
TTFT p95
3.5s
time to first token
Quality / $
35.4
pts per $1/1M
IF: 63.9Coding: 80.7Language: 75.0Reasoning: 88.7Mathematics: 92.9Data Analysis: 71.7Agentic Coding: 59.4

Quick start

OpenAI-compatible — change the base URL and key. Get a key from the dashboard.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.qubax.ai/v1",
    api_key="YOUR_QUBAX_API_KEY",
)

response = client.chat.completions.create(
    model="claude-sonnet-5",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

About Claude Sonnet 5

Claude Sonnet 5 is a language model developed by Anthropic. It's particularly well-suited for analyzing images, screenshots, and visual content, tackling complex, multi-step reasoning problems, orchestrating tool-using agents that call APIs and external services, producing structured outputs for reliable data extraction and handling large contexts of up to 1M tokens. Its 1M-token context window means you can pass in entire documents, codebases, or conversation histories without losing context. It can write up to 64K tokens in a single response.

As of Nov 4, 2026, Claude Sonnet 5 costs $0.900 per 1M input tokens and $4.50 per 1M output tokens on Qubax, versus $2.00 / $10.00 on OpenRouter (55% less on input). A typical 1,000 chat requests (2K tokens in, 500 out) come to about $4.05. Measured availability over the last 7 days: 99.1%. 112 independent compute providers currently serve it, so requests fail over automatically. It handled 82,311 requests on Qubax in the last 24 hours. Pay with USDC, USDT, BTC, ETH or 350+ other coins — no credit card required.

Visual Analysis
Analyze images, screenshots, diagrams, and visual content
Complex Reasoning
Multi-step problem solving, math, and logical analysis
Function Calling
Build agents and tool-using applications
Long Documents
Process entire codebases, books, or lengthy conversations
Chat & Conversation
Build AI chatbots and conversational assistants

Similar-priced alternatives

Frequently asked questions

How much does the Claude Sonnet 5 API cost?

On Qubax, Claude Sonnet 5 costs $0.900 per 1M input tokens and $4.50 per 1M output tokens. This is 55% cheaper than OpenRouter's price of $2.00 per 1M input tokens.

Is the Claude Sonnet 5 API compatible with OpenAI?

Yes. Qubax provides an OpenAI-compatible API. You can use Claude Sonnet 5 as a drop-in replacement by changing your base URL to https://api.qubax.ai/v1 and using your Qubax API key. It works with Cline, Cursor, OpenCode, Hermes Agent, and any tool that supports OpenAI APIs.

Why is Claude Sonnet 5 cheaper on Qubax than OpenRouter?

Qubax sources AI inference from an open compute marketplace on the Base blockchain where GPU providers compete on price. We pass the savings to you — 55% cheaper than OpenRouter's price for Claude Sonnet 5.

How do I pay for Claude Sonnet 5 API usage?

Qubax uses prepaid crypto credits. Top up with USDC, USDT, BTC, ETH, SOL or 350+ other coins and your balance is deducted as you use the API. No credit card or KYC required.

What is the context window of Claude Sonnet 5?

Claude Sonnet 5 supports a context window of 1M tokens, allowing you to process large documents, codebases, or long conversations in a single request.

What can I build with Claude Sonnet 5?

You can use Claude Sonnet 5 to analyze images and visual content, tackle complex multi-step reasoning tasks, build autonomous agents that call external tools and APIs, generate structured JSON output for data pipelines and process long documents and entire codebases. Because it's served through Qubax's OpenAI-compatible API, integration into existing apps, agents, or workflows takes just a few lines of code.

How fast and reliable is Claude Sonnet 5 on Qubax?

Measured time to first token (p95) on Qubax is 3.5s. Its 7-day success rate is 99.1%. Responses stream token by token. 112 sellers serve it, so if one is slow or down the request moves to the next.

How good is Claude Sonnet 5 on benchmarks?

Claude Sonnet 5 scores 76.0 on LiveBench, ranking #6 of 16 models we track. At Qubax prices that is 35.4 points per $1 per 1M tokens.

Claude Sonnet 5 vs NVIDIA Nemotron 3 Ultra 550B: which should I choose?

Claude Sonnet 5 by Anthropic and NVIDIA Nemotron 3 Ultra 550B by Other are both strong models in a similar price tier. Claude Sonnet 5 excels at complex reasoning and supports vision/image inputs. NVIDIA Nemotron 3 Ultra 550B comes from a different lab and may have different strengths depending on your workload. On Qubax, Claude Sonnet 5 starts at $0.900/1M input tokens while NVIDIA Nemotron 3 Ultra 550B comes in at $0.460/1M, so NVIDIA Nemotron 3 Ultra 550B may be worth considering if you need to minimize per-token cost. Both are available on Qubax with crypto payments and OpenAI-compatible APIs, so you can try each and switch freely.

Can I use Claude Sonnet 5 for commercial projects?

Yes. Claude Sonnet 5 on Qubax can be used for commercial purposes. You own the outputs you generate. Qubax provides the API infrastructure — you bring your use case.

Why use Claude Sonnet 5 on Qubax?

55% cheaper

Providers compete on price — you get the cheapest healthy seller.

Pay with crypto

350+ coins (BTC, ETH, SOL, USDT, USDC). No card, no KYC.

OpenAI & Anthropic compatible

Drop-in base URL. Works with Cline, Cursor, Claude Code, OpenAI and Anthropic SDKs.

Get started free →

More from Anthropic

Browse 380+ other AI models

GPT, Claude, Gemini, Llama, DeepSeek & more.

See all models →

Claude Sonnet 5

$0.900 in · $4.50 out

Get API key