MODELS / ANTHROPIC

Claude Sonnet 4

Claude Sonnet 4 balances impressive performance for coding with the right speed and cost for high-volume use cases: Coding: Handle everyday development tasks with enhanced performance-power code reviews, bug fixes, API integrations, and feature development with immediate…

TEXTREASONINGFILE-INPUTREASONINGTOOL-USEVISIONEXPLICIT-CACHING
1M
CONTEXT WINDOW
8.2K
MAX OUTPUT TOKENS
$3
INPUT PRICE / 1M TOKENS
$15
OUTPUT PRICE / 1M TOKENS
QUICKSTART

Call it in one request.

OpenAI-compatible: change the base URL, and the setup is complete.

curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/anthropic/claude-sonnet-4",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
SPECIFICATIONS

The full spec sheet.

Context, pricing, modalities, routing, and deployment: everything Claude Sonnet 4 supports, in one table.

MODEL ID
blackboxai/anthropic/claude-sonnet-4
DEVELOPED BY
Anthropic
MODEL TYPE
Text
RELEASED
May 22, 2025
CONTEXT WINDOW
1M
MAX OUTPUT TOKENS
8.2K
INPUT MODALITIES
text, image, pdf
OUTPUT MODALITIES
text
INPUT PRICE
$3 / 1M tokens
OUTPUT PRICE
$15 / 1M tokens
INPUT PRICE (>200K)
$6 / 1M tokens
CACHE READ
$0.3 / 1M tokens
CACHE WRITE
$3.75 / 1M tokens
REASONING
Supported
DATA RETENTION
Standard retention
DEDICATED DEPLOYMENT
Not available (closed-weight model)
SUPPORTED PARAMETERS
max_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoning