Seedance 2.0 | Special Offer ✦ 10% OFF NOW
anthropic
anthropic/claude-sonnet-4.6

anthropic/claude-sonnet-4.6

1,000,000 context · $3.00/M input$2.70/M input · $15.00/M output$13.50/M output10% off

anthropic/claude-sonnet-4.6 is a powerful AI model from anthropic. It supports 1,000,000 context tokens and up to 128,000 output tokens.

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input
$3.00 / M Tokens$2.70 / M Tokens
Output
$15.00 / M Tokens$13.50 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-sonnet-4.6",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Info

Provideranthropic
Typellm

Supported Functionality

Input
TextImage
Output
Text
Context1,000,000
Max Output128,000
Vision✓ Supported
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDanthropic/claude-sonnet-4.6

Claude Sonnet 4.6 API

anthropic/claude-sonnet-4.6

Input

$3$2.70 /M

Output

$15$13.50 /M

Discount

10% off

Context

1000K

Max Output

128K

Vision

Supported

Tool Use

Supported

Try Claude Sonnet 4.6 on WaveSpeedAI

Access Claude Sonnet 4.6 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Open Playground

Frequently Asked Questions about Claude Sonnet 4.6

How much does Claude Sonnet 4.6 cost via the API?+

Pricing on WaveSpeedAI: $2.70 per million input tokens and $13.50 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Claude Sonnet 4.6?+

Claude Sonnet 4.6 supports up to 1000K tokens of context with up to 128K tokens of output per request.

Is Claude Sonnet 4.6 OpenAI-compatible?+

Yes. WaveSpeedAI exposes Claude Sonnet 4.6 through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with Claude Sonnet 4.6?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Claude Sonnet 4.6 before paying per token.

Related LLM APIs