Models/anthropic

claude-sonnet-4.5· Released Sep 29, 2025

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
From$2.805/M
Output
From$14.025/M
Context
Up to 1M
Max output
Up to 64K
Modalities
TextImageFileText

Input and output show the lowest price across upstreams, for reference. Your actual prices are listed per upstream below.

Upstreams & pricing
UpstreamContextMax outputInput $/1MOutput $/1MCached input $/1M
Zenlayer AI Gateway - anthropic (Global)From price
1M64K
≤200K$2.805
>200K$5.61
≤200K$14.025
>200K$21.0375
≤200K$0.2805
>200K$0.561

Routed in real time — you pay the listed price of whichever upstream serves your call.

How to call
curlrequest.sh
curl https://api.tkex.ai/v1/chat/completions \
  -H "Authorization: Bearer $TX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.5",
    "messages": [
      {"role": "user", "content": "Say hello in five words."}
    ]
  }'