API ManyNew models: Qwen 3.8 Max, Claude Haiku 5.5, Claude Opus 5.5, Claude Sonnet 5.5

Anthropic · Text & reasoning · Tool use · Reasoning

Claude Sonnet 5 API

Call Claude Sonnet 5 with the same key and request shape as every other model in the catalog.

Test it onlineIntegration docs$2.70 in · $13.50 out per 1M tokens
Claude Sonnet 5 example

WHY IT FITS

Inside the gateway

Claude Sonnet 5 is an OpenAI-compatible chat model with a 1M token context window, priced per million input and output tokens. Point any OpenAI SDK at this endpoint, send the model id with a messages array, and the response carries token usage you can reconcile against the published rate.

OpenAI-compatible

Call Claude Sonnet 5 with the standard chat completions request shape.

Per-token pricing

$2.7000 per million input tokens and $13.5000 per million output tokens.

Long context

1M tokens of context for large prompts and documents.

Tool use

Tool use is supported for Claude Sonnet 5.

Reasoning

Reasoning is supported for Claude Sonnet 5.

INTEGRATION

Wire it in four steps

  1. Create a key

    Open the dashboard, mint a server-side API key and top up a small balance.

  2. Discover

    Call GET /v1/models to confirm anthropic/claude-sonnet-5, its live specification and the per-token rate.

  3. Send

    POST /v1/chat/completions with the model id and your messages, using any OpenAI-compatible client.

  4. Read

    The reply comes back in the same response (or as a stream), with token usage and the USD cost.

CALLING

Make your first call

# OpenAI-compatible chat completions
curl https://apimany.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":"Hello!"}],"max_tokens":512}'

ONLINE TEST

Send a real message from this page

The request runs against this site's own /v1/chat/completions using your signed-in balance, or an API key if you are not signed in. A pasted key stays in this browser tab and is never stored; the result is charged at the quoted USD price.

Or sign in to chat with your account balance.

GOOD TO KNOW

Integration questions

Is Claude Sonnet 5 OpenAI-compatible?
Yes. Send model anthropic/claude-sonnet-5 to POST /v1/chat/completions with a messages array, exactly like the OpenAI SDK.
How is Claude Sonnet 5 billed?
Per token: $2.7000 per million input tokens and $13.5000 per million output tokens. Usage is returned on every response.
What context window does Claude Sonnet 5 have?
1M tokens of context, with the output limit published by GET /v1/models.
Which parameters does Claude Sonnet 5 support?
Tool use, Reasoning; recognised fields are validated before dispatch.
Can I use my existing API key?
Yes — the same account key works. Confirm the live id and rate with GET /v1/models before wiring it in.

KEEP EXPLORING

Nearby models