anthropic/claude-sonnet-4.5
1,000,000 context · $3.00/M input$2.70/M input · $15.00/M output$13.50/M output10% off
Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...
Pay-per-use
No upfront costs, pay only for what you use
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.5",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)anthropic claude-sonnet-4.5
| Specification | Value |
|---|---|
| Provider | Anthropic |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 1000000 tokens |
| Max Output | 64000 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $3.3 |
| Output | $16.5 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: anthropic/claude-sonnet-4.5
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.5",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "anthropic/claude-sonnet-4.5",
"messages": [{"role": "user", "content": "Hello!"}]
}'
anthropic/claude-sonnet-4.5
Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...
Input
$3$2.70 /M
Output
$15$13.50 /M
Discount
10% off
Context
1000K
Max Output
64K
Vision
Supported
Tool Use
Supported
Access Claude Sonnet 4.5 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.
Open PlaygroundPricing 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.
Claude Sonnet 4.5 supports up to 1000K tokens of context with up to 64K tokens of output per request.
Yes. WaveSpeedAI exposes Claude Sonnet 4.5 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.
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.5 before paying per token.