Skip to content

Anthropic: Claude Sonnet 4

AnthropicModerated
anthropic/claude-sonnet-4

About this model

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "anthropic/claude-sonnet-4",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

9.968 TND

per 1M tokens

Output tokens

49.839 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 34.887 TND.

Specifications

Provider
Anthropic
Context window
200,000 tokens
Input modality
Text
Added
May 22, 2025
Supported parameters
include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_k