Skip to content
OpenKey

Claude Sonnet 4.6

AnthropicReleased Feb 17, 2026

Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with...

Try in playground
Context window
1M tokens
Max output
128K tokens
Input
text, image, file
Output
text
Tokenizer
Claude
Released
Feb 17, 2026
Reasoning
optional

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$3.00$0.090$3.09
Output$15.00$0.450$15.45
Cache read$0.300$0.0090$0.309
Cache write$3.75$0.112$3.86

Benchmarks

Artificial Analysis

Intelligence index
47.2
Coding index
63
Agentic index
40.8

Design Arena

CategoryEloWin rateRank
agenticgamedevagents120050.9%#6
androidnativeagents123861.9%#9
Full-stackagents127363.1%#5
godotgamedevagents127760.6%#1
Mobile appsagents125759.2%#4
Web appsagents124655.8%#9
3Dmodels131560.5%#13
ASCII artmodels127860.6%#8
Codemodels132661.5%#6
Data vizmodels132161.3%#6
Game devmodels132260.4%#11
SVGmodels125659.6%#11
UI componentsmodels132361.7%#7
Websitesmodels132761.6%#5

Head-to-head preference voting. How we filter and rank

Supported parameters

  • include_reasoning
  • max_completion_tokens
  • max_tokens
  • reasoning
  • response_format
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_p
  • verbosity

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model anthropic/claude-sonnet-4.6.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="anthropic/claude-sonnet-4.6",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4.6",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Claude Sonnet 4.6 cost via API?
Through OpenKey, Claude Sonnet 4.6 costs $3.09 per 1M input tokens and $15.45 per 1M output tokens. That is the provider price ($3.00 / $15.00) plus a flat 3% fee — nothing else.
What is Claude Sonnet 4.6's context window?
Claude Sonnet 4.6 accepts up to 1M tokens of context and returns up to 128K tokens per request.
Is Claude Sonnet 4.6 OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "anthropic/claude-sonnet-4.6" using any OpenAI SDK — only the base URL and API key change.
What inputs does Claude Sonnet 4.6 support?
Claude Sonnet 4.6 accepts text, image, file input and produces text output.

More from Anthropic

All Anthropic models →