Skip to content
Support & access on Telegram

Claude Sonnet 5 API

Use Claude Sonnet 5 through the UncensoredAI OpenAI-compatible API with a single key and per-token billing. Point any OpenAI SDK at the endpoint, set the model to claude-sonnet-5, and stream or batch as you like.

Specifications

Model ID
claude-sonnet-5
Provider
Anthropic
Context window
1M
Max output
64K
Input / 1M
$0.9
Cached / 1M
$0.08
Output / 1M
$0.9

Example request

curl https://uncensoredai.dev/v1/chat/completions \
  -H "Authorization: Bearer sk-***" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{ "role": "user", "content": "Hello" }],
    "stream": true
  }'