Anthropic: Claude Sonnet 4.6

anthropic/claude-sonnet-4-6

Anthropic Claude Sonnet 4.6 API pricing

Claude Sonnet 4.6 costs $1.20 per million input tokens and $6.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $3.00 input and $15.00 output), and cached input tokens are billed at $0.120 per million. It accepts text and images and returns text, with a 1M-token context window and up to 128K output tokens per response. A cheaper Anthropic option is Claude Sonnet 5 at $0.800 / $4.00 per 1M tokens; for every model and rate, see Claude API pricing.

Legacy Sonnet model. The first Sonnet with the full 1M token context window at standard pricing.
ModalitiesTextImageText
Price$1.20 / $6.00 per 1M tokens in / outAll Claude API pricing
Context1M
ReleasedFeb 17, 2026

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderInput /MOutput /MCache read /MLatencyThroughput
Anthropic$1.20$6.00$0.12019.12s47 tps

Capabilities (14)

StreamingTool callingStructured outputThinkingReasoningSystem promptVisionMultilingualPrompt cachingBatchWeb searchWeb FetchCode executionComputer use

Supported parameters (9)

max_tokenseffortinference_geotemperaturetop_ptop_ktoolsresponse_formatreasoning_effort

A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Input price
$1.20
per 1M input tokens · standard price $3.00
Output price
$6.00
per 1M output tokens · standard price $15.00
RateStandard priceChargedUnit
Input$3.00$1.20per 1M input tokens
Output$15.00$6.00per 1M output tokens
Cached input$0.300$0.120per 1M cached input tokens
Cache write (5 min)$3.75$1.50per 1M cache-write tokens, 5-minute
Cache write (1 hour)$6.00$2.40per 1M cache-write tokens, 1-hour

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

UTC

Specifications

Model ID
claude-sonnet-4-6
Developer
Anthropic
Type
Text
Input
Text and images
Output
Text
Context window
1,000,000 tokens
Max output
128,000 tokens
Knowledge cutoff
August 2025
Released
Feb 17, 2026
Tokenizer
Claude
Series
Claude 4.6
Image input
Up to 20 MB each
Endpoint
/v1/chat/completions
Status
Deprecation scheduled for Feb 17, 2027

Best for

ReasoningCodingAgenticLong context

Quickstart

Call claude-sonnet-4-6 with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

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

response = client.chat.completions.create(
    model="claude-sonnet-4-6",
    messages=[
        {"role": "user", "content": "Explain unified AI APIs in one sentence."},
    ],
)
print(response.choices[0].message.content)

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.

Throughput
47tok/s
P50, streaming requests
Latency
19.12s
P50, end to end
UTC

Throughput

P99128 tok/s
P95114 tok/s
P5053 tok/s

Latency

P5011.0s
P7526.0s
P9564.2s
P99156.3s

Time to first token

P501969ms
P956384ms

Cache hit rate

37.15%
Share of input tokens served from the prompt cache over the window.

Activity

Token volume and request traffic to this model over time. Daily totals, UTC.

Prompt46.4M
Reasoning21.8K
Completion (excl. reasoning)2.5M

Prompt tokens measure input size. Reasoning tokens show internal thinking before a response. They are part of the output, so the completion bars show the rest of it and each day’s bar is its total.

Frequently asked questions

What is Claude Sonnet 4.6?
Legacy Sonnet model. The first Sonnet with the full 1M token context window at standard pricing.
How much does Claude Sonnet 4.6 cost?
Claude Sonnet 4.6 costs $1.20 per million input tokens and $6.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $3.00 input and $15.00 output), and cached input tokens are billed at $0.120 per million. You pay per request, with no subscription.
What is the context length of Claude Sonnet 4.6?
Claude Sonnet 4.6 has a context window of 1,000,000 tokens, and can return up to 128,000 tokens in one response.
Does Claude Sonnet 4.6 support tool calling and structured outputs?
Yes — Claude Sonnet 4.6 supports both tool calling and structured outputs.
What inputs and outputs does Claude Sonnet 4.6 support?
Claude Sonnet 4.6 accepts text and images as input and returns text.
Which API endpoint does Claude Sonnet 4.6 use?
Send a POST request to https://api.oxyy.ai/v1/chat/completions with "model": "claude-sonnet-4-6", authenticated with your Oxyy API key. It is also served on /v1/messages (Anthropic SDK) and /v1/responses (Responses API).
What is the knowledge cutoff of Claude Sonnet 4.6?
Claude Sonnet 4.6's training data runs up to August 2025.
When was Claude Sonnet 4.6 released?
Claude Sonnet 4.6 was released on Feb 17, 2026.
What other models does Anthropic have?
Anthropic also offers Claude Fable 5, Claude Fable 5.1, Claude Haiku 4.5 and Claude Haiku 5.5 through Oxyy.

Alternatives to Claude Sonnet 4.6

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from Anthropic