Models

Claude Sonnet 5

tools vision

claude-sonnet-5Claude Sonnet 5, latest model of Claude.

+100% credit with a usage package. $100 buys $200 of usage on this model — from $10. Cached input tokens are not discounted.

Input / 1M tokens

$2

$0.000002 / token

Output / 1M tokens

$10

$0.00001 / token

Cached input / 1M

$0.2

Uptime · 24h

—

No traffic yet

Details

Type
Chat
Input
text, image, file
Output
text
Context
1,000,000 tokens

Supported parameters

max_tokenstemperaturetop_pstopseedpresence_penaltyfrequency_penaltyresponse_formatpluginstoolstool_choiceparallel_tool_calls

Last 24 hours

Requests per hour; red = provider errors.

Avg latency
—
Avg first token
—
Throughput
—

Endpoints

Requests go to these routes in order and fail over between them. Pick or exclude them by label with provider.order / only / ignore, or reorder with provider.sort.

LabelInput / output per 1MFirst tokenThroughputStatus
primary$2 / $10——Available
backup$2 / $10——Available

Use it

curl https://api.ultragpt.pro/v1/chat/completions \
  -H "Authorization: Bearer $ULTRAGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Anthropic SDK / Claude Code

curl https://api.ultragpt.pro/v1/messages \
  -H "x-api-key: $ULTRAGPT_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

More Anthropic models

All Claude API models and prices

Compare Claude Sonnet 5

FAQ

How much does the Claude Sonnet 5 API cost?

$2 input / $10 output per 1M tokens; cached input $0.2 per 1M tokens. You pay per use from a prepaid balance - no subscription, and every response reports its exact cost in usage.cost.

How do I call Claude Sonnet 5 through the API?

Create an UltraGPT API key, point the official OpenAI SDK (or any OpenAI-compatible client) at https://api.ultragpt.pro/v1 and pass "claude-sonnet-5" as the model. Anthropic SDKs and Claude Code work too, through /v1/messages.

What is the context window of Claude Sonnet 5?

Claude Sonnet 5 accepts up to 1,000,000 tokens of context on UltraGPT.

Does Claude Sonnet 5 support tools, vision and reasoning?

Tool / function calling: yes. Image input (vision): yes. Reasoning: no. Input: text, image, file; output: text.