ANTHROPIC

claude-sonnet-4

Claude Sonnet 4 is Anthropic's Sonnet-tier model from May 22, 2025 with a 200K-token context window, 64K output tokens, extended thinking with interleaved tool use and image input. It was retired from the Claude API in 2026.

Usage billing

Official price vs Nbility

Per 1M tokens, read live from the gateway. Nbility shows its lowest public group.

Anthropic list price

Input$3.31Output$16.54

Nbility · claude group

Input1.984Output9.921

Group prices

Every available group is listed with its effective input and output price.

Usage billing
GroupRatioInputOutputCache read price
Base pricex1

3.307/M

16.535/M

0.331/M

claudex0.6

1.984/M

9.921/M

0.198/M

claude-max-百亿补贴x0.98

3.241/M

16.204/M

0.324/M

claude-MAXx1.3

4.299/M

21.495/M

0.43/M

claude-awsbx2.5

8.268/M

41.337/M

0.827/M

Additional billing ratios

Cached inputx0.1

Quick start

Replace YOUR_API_KEY with a key from your account.

curl https://api.nbility.ai/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-4","messages":[{"role":"user","content":"Hello"}]}'

Compatible endpoints

anthropicPOST /v1/messages
openaiPOST /v1/chat/completions

Docs for this model