APIPod logoAPIPod
Anthropic

Claude Sonnet 4.6

Claude Sonnet 4.6 It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.

byAnthropicInput TypetextimagefileOutput TypetextContext Window1MMax Output64K

Providers

This model is available from multiple providers. Select one to see its pricing and sample code.

AnthropicDefault
$2.4 / $12/ 1M tokens0.80× base price
Supported formatsAnthropic Messages

Official channels of Anthropic

Claude Max
$0.9 / $4.5/ 1M tokens0.30× base price
Supported formatsAnthropic Messages

From Claude Max Membership

Pricing

Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.

Anthropic
anthropic/claude-sonnet-4-6
Prices forchange
Per 1M tokens
Input
Prompt and context tokens
$2.4
Output
Generated completion tokens
$12
Cache read
Reused or stored prompt context
$0.24
Cache write · 5m
Reused or stored prompt context
$3
Cache write · 1h
Reused or stored prompt context
$4.8

Code

Copy an example below to start calling this model in minutes.

API / request example

Sample Code & API

Create API Key
import anthropic

client = anthropic.Anthropic(
    base_url="https://api.apipod.ai",
    api_key="<YOUR_API_KEY>",
)

message = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=1024,
    messages=[
        {
            "role": "user",
            "content": "What is the meaning of life?",
        }
    ],
)
print(message.content[0].text)