claude-sonnet-4-6 API Pricing & Access
Claude Sonnet 4.6 delivers frontier intelligence at scale, purpose-built for coding, agentic workflows, and enterprise use cases.
Pricing by group
USD per 1M tokens. Price = base price × group ratio.
| Group | Input | Output | Cache read | Cache write (5 min) | Cache write (1 h) | About this group |
|---|---|---|---|---|---|---|
| Kiro-Claude-1 | $0.2647 | $1.324 | $0.0265 | $0.3309 | $0.5294 | great discounts, superior long-context comprehension |
| Claude-Code-1 | $0.5294 | $2.647 | $0.0529 | $0.6618 | $1.059 | Maximum discount, may queue at peak hours |
| Claude-Code-2 | $0.8824 | $4.412 | $0.0882 | $1.103 | $1.765 | moderate discount, moderate operational stability |
| AWS-Bedrock-1 | $1.324 | $6.618 | $0.1324 | $1.654 | $2.647 | Attractive discount, load-balanced channel |
| AWS-Claude-1 | $1.324 | $6.618 | $0.1324 | $1.654 | $2.647 | Maximum discount, may queue at peak hours |
| Azure-Claude-1 | $1.324 | $6.618 | $0.1324 | $1.654 | $2.647 | Attractive discount, excellent operational stability |
| Claude-Code-3 | $1.35 | $6.75 | $0.135 | $1.688 | $2.70 | Minor discount, excellent operational stability |
| AWS-Bedrock-2 | $1.765 | $8.824 | $0.1765 | $2.206 | $3.529 | Minor discount, high-priority dedicated resource pool |
| AWS-Claude-2 | $2.647 | $13.235 | $0.2647 | $3.309 | $5.294 | Moderate discount, moderate operational stability |
| Anthropic-Claude-1 | $3.30 | $16.50 | $0.33 | $4.125 | $6.60 | priority access to newly released features, full capabilities for long context |
| AWS-Claude-3 | $3.30 | $16.50 | $0.33 | $4.125 | $6.60 | excellent operational stability, full-featured dedicated channel |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.
Capabilities
- Provider
- Anthropic
- Features
- Conversation · Image Recognition · Tools
- API formats
- Anthropic Messages · OpenAI Chat Completions
Quick start
Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)curl https://api.openlux.ai/v1/messages \
-H "x-api-key: YOUR_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
How do I call the claude-sonnet-4-6 API?
Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use claude-sonnet-4-6 as the model name. The model also supports the Anthropic format, so you can call /v1/messages directly.
How is the claude-sonnet-4-6 API billed?
Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $0.2647 per 1M input tokens and $1.324 per 1M output tokens. Top-ups start at $1.
How is prompt caching billed for claude-sonnet-4-6?
Cache hits (cache reads) cost 0.1× the input price; 5-minute cache writes cost 1.25× the input price; 1-hour cache writes cost 2× the input price.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
Which API formats does claude-sonnet-4-6 support?
Anthropic Messages, OpenAI Chat Completions.