Skip to content

AI model pricing

Claude Sonnet 4.6 API

claude-sonnet-4-6

80% off official

Context window
Not available
You save
80%

About Claude Sonnet 4.6 API pricing

Claude Sonnet 4.6 is available through the zrouter gateway behind one API key, alongside every other model in the catalog. Claude Sonnet 4.6 API pricing is pay-as-you-go: $0.60 per 1M input tokens and $3.00 per 1M output tokens — no subscription, no monthly minimum, and the same OpenAI-compatible endpoint your tools already use.

Against the official API — $3.00 input and $15.00 output per 1M tokens — zrouter runs about 80% cheaper, so sustained workloads cost a fraction of list price. Every request is metered per token and settled in real time, and live rates stay visible on the pricing page.

For predictable spend, prepaid Token Plans for Claude Sonnet 4.6 start at $1 and are consumed first; PAYG covers anything beyond the plan. With chat completions, responses, messages, streaming support, Claude Sonnet 4.6 slots into existing OpenAI-compatible and Anthropic-compatible tooling after a one-line base-URL change — a practical fit for chat products, coding agents and batch jobs that need frontier quality without official-API prices.

Price comparison

PAYG rates · per 1M tokens

input

80%
$3.00
Official price
$0.60
zrouter price

output

80%
$15.00
Official price
$3.00
zrouter price

Cache read $0.06Cache write $0.75

Token Plan tiers

Token Plans are tied to one model. Your plan balance is used first, then PAYG covers the remainder.

$1per plan

6,990,000 tokens

$2per plan

13,980,000 tokens

$5per plan

34,950,000 tokens

$10per plan

69,900,000 tokens

Capabilities

ChatResponsesMessagesStreaming

Claude Sonnet 4.6 price per 1M tokens: zrouter vs official

Pay as you go, billed per token used. The official column is the list price of the model creator; the zrouter column is what you pay.

Token typeOfficialzrouterYou save
Input$3.00$0.6080%
Output$15.00$3.0080%

Prices are in USD per 1,000,000 tokens. When the provider serves part of your prompt from its cache, that part is billed at a discounted read rate; the usage page shows the exact split for every request.

Context and output limits

The context size of Claude Sonnet 4.6 follows the model creator's published limit; long prompts are billed per token like any other request. Set max_tokens to cap the length of the answer, and stream the response to see the first tokens sooner.

Call Claude Sonnet 4.6 with your zrouter key

One zr_ key works on every endpoint. Replace the key and keep the model name claude-sonnet-4-6.

curl (OpenAI-compatible)

curl https://api.zrouter.dev/v1/chat/completions \
  -H "Authorization: Bearer $ZROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-sonnet-4-6", "messages": [{"role": "user", "content": "Hello"}]}'

Python (openai SDK)

from openai import OpenAI

client = OpenAI(base_url="https://api.zrouter.dev/v1", api_key="zr_...")
reply = client.chat.completions.create(
    model="claude-sonnet-4-6",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Anthropic SDK / Claude Code

export ANTHROPIC_BASE_URL="https://api.zrouter.dev"
export ANTHROPIC_AUTH_TOKEN="zr_..."
export ANTHROPIC_MODEL="claude-sonnet-4-6"
claude

Get started with Claude Sonnet 4.6 in three steps

  1. Sign in with Google and create an API key. The key starts with zr_ and is shown once, so store it somewhere safe.
  2. Top up a pay-as-you-go balance with QRIS, USDT or USDC, or buy a Token Plan for this model. No credit card is required.
  3. Send your first request to claude-sonnet-4-6 with the curl or Python example above. Usage and cost show up in your dashboard right away.

How billing works for Claude Sonnet 4.6

Every request is billed by the tokens it actually used, as reported by the model provider: input tokens and output tokens are priced separately, which is why the table above has one row for each.

If you hold a Token Plan for this model, it is spent first. When it runs out, the request falls back to your pay-as-you-go balance. If neither has funds, the gateway answers 402 instead of running the request.

The usage page lists each request with its token counts and cost, and you can export it as CSV or JSON. Your balance does not expire and is not reset on a schedule.

Why call Claude Sonnet 4.6 through zrouter

Claude Sonnet 4.6 API: frequently asked questions

How much does the Claude Sonnet 4.6 API cost on zrouter?
Pay-as-you-go is $0.60 per 1M input tokens and $3.00 per 1M output tokens, 80% below the official price. You only pay for tokens you use, and the balance does not expire.
How do I call Claude Sonnet 4.6 with the OpenAI SDK?
Create a zrouter key, set the base URL to https://api.zrouter.dev/v1 and use the model name claude-sonnet-4-6. The request and response shapes are the same as the OpenAI Chat Completions API.
Can I use Claude Sonnet 4.6 with Claude Code or the Anthropic SDK?
Yes. The gateway also speaks the Anthropic messages protocol. Point ANTHROPIC_BASE_URL at https://api.zrouter.dev, use your zr_ key as the auth token and set the model to claude-sonnet-4-6.
Is there a Token Plan for Claude Sonnet 4.6?
Yes. Token Plans start at $1 and are used before your pay-as-you-go balance. The balance never expires and there is no 5-hour window.
How do I pay without a credit card?
Top up with QRIS, USDT or USDC. No credit card is needed, and one balance works for every model.

Other models you can call with the same key:

Documentation