AICredits logo
anthropicvision

Anthropic: Claude Sonnet 4

anthropic/claude-sonnet-4

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%),...

Supported APIs

Messages APIChat APIVision
Context
1.0M
Max output
Input / 1M
₹301.96
Cached / 1M
₹30.20
Output / 1M
₹1509.78

Pricing

Token typeUSD / 1MINR / 1M
Input$3.00₹301.96
Cached inputprompt cache read$0.30030.20
Output$15.00₹1509.78

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call Anthropic: Claude Sonnet 4 through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.