Anthropic
Claude Sonnet 4.6 API
Call Claude Sonnet 4.6 with the OpenAI or the Anthropic SDK you already use: $0.79 per million input tokens and $3.97 per million output tokens, billed from prepaid credit, about 74% below Anthropic’s list price.
- Input
-
$0.795
list price $3.00per 1M tokens - Output
-
$3.97
list price $15.00per 1M tokens - Cached input
- $0.080 per 1M tokens
- Context
- 200K tokens · up to 64K out
What a request costs
Before any cached-input discount, beside what the same request costs at Anthropic’s list price.
| Request | On Vioneer | List price |
|---|---|---|
| A chat reply2,000 in · 400 out | $0.0032 | |
| A coding-agent step30,000 in · 1,500 out | $0.030 | |
| A long document120,000 in · 2,000 out | $0.103 |
Use Claude Sonnet 4.6
- Model id
claude-sonnet-4-6- OpenAI-compatible base URL
https://vioneer.xyz/api/v1- Anthropic-compatible base URL
https://vioneer.xyz/api
curl https://vioneer.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $VIONEER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "Hello!"}]
}'
# pip install openai
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["VIONEER_API_KEY"],
base_url="https://vioneer.xyz/api/v1",
)
response = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# pip install anthropic
import os
import anthropic
client = anthropic.Anthropic(
api_key=os.environ["VIONEER_API_KEY"],
base_url="https://vioneer.xyz/api", # the SDK adds /v1/messages
)
message = client.messages.create(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello!"}],
)
print(message.content[0].text)
# Claude Code, pointed at vioneer.xyz
export ANTHROPIC_BASE_URL="https://vioneer.xyz/api"
export ANTHROPIC_AUTH_TOKEN="$VIONEER_API_KEY"
export ANTHROPIC_MODEL="claude-sonnet-4-6"
claude
More set-ups: Claude Code, Cursor, Cline, Roo Code, Kilo Code, OpenCode, Zed, LangChain, n8n and the rest of the docs.
Questions
How much does the Claude Sonnet 4.6 API cost?
On Vioneer, Claude Sonnet 4.6 costs $0.79 per million input tokens and $3.97 per million output tokens, with cached input at $0.080 per million. Anthropic’s list price is $3.00 and $15.00, so a typical prompt-heavy request costs about 74% less here. There is no monthly fee: each request is billed per token from prepaid credit.
Which SDKs can call Claude Sonnet 4.6?
Any OpenAI-compatible client, with the base URL https://vioneer.xyz/api/v1, and any Anthropic-compatible client, with https://vioneer.xyz/api. Use your Vioneer API key and the model id claude-sonnet-4-6.
Can I use Claude Sonnet 4.6 in Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://vioneer.xyz/api and ANTHROPIC_AUTH_TOKEN to your Vioneer key, then choose claude-sonnet-4-6 with ANTHROPIC_MODEL or the /model command.
Can I cap what I spend?
Yes. Credit is prepaid, so your balance is already a ceiling, and each API key can carry its own budget and rate limit on top.
Do you keep my prompts?
No. What is kept is the metadata in your usage log (model, token counts, cost and timing), never prompt or completion content.
More from Anthropic
| Model | Input / 1M | Output / 1M | Context | vs list |
|---|---|---|---|---|
| Claude Fable 5.2claude-fable-5-2 | $2.22 |
$11.12 |
200K | −72% |
| Claude Haiku 5.5claude-haiku-5-5 | $0.133 |
$0.663 |
200K | −73% |
| Claude Sonnet 5.5claude-sonnet-5-5 | $0.530 |
$2.65 |
200K | −74% |
| Claude Opus 5.5claude-opus-5-5 | $1.06 |
$5.30 |
200K | −74% |
| Claude Fable 5.1claude-fable-5-1 | $2.78 |
$13.90 |
200K | −72% |
| Claude Sonnet 5claude-sonnet-5 | $0.530 |
$2.65 |
200K | −74% |