Back to Modelsby Anthropic
A
Claude 3 Sonnet
ClaudeBalanced model for enterprise workloads. Good balance of speed and intelligence.
Mar 4, 2024
Specifications
Context Length
200K
200,000 tokens
Input Price
$3.00
per 1M tokens
Output Price
$15.00
per 1M tokens
Modalities
2
text→text, image+text→text
Capabilities
text generationchatfunction callingvision
API Usage
1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:
anthropic/claude-3-sonnetcURL
curl https://api.1router.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-3-sonnet",
"messages": [{"role": "user", "content": "Hello!"}]
}'