Description
Claude 3.7 Sonnet is an advanced large language model with improved reasoning, coding, and problem-solving capabilities. It introduces a hybrid reasoning approach, allowing users to choose between rapid responses and extended, step-by-step processing for complex tasks. The model demonstrates notable improvements in coding, particularly in front-end development and full-stack updates, and excels in agentic workflows, where it can autonomously navigate multi-step processes. Claude 3.7 Sonnet maintains performance parity with its predecessor in standard mode while offering an extended reasoning mode for enhanced accuracy in math, coding, and instruction-following tasks. Read more at the [blog post here](https://www.anthropic.com/news/claude-3-7-sonnet)
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Anthropic: Claude 3.7 Sonnet (anthropic/claude-3.7-sonnet)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "anthropic/claude-3.7-sonnet",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Anthropic: Claude 3.7 Sonnet model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
- Images
API Pricing
- Input: 3$ / 1M tokens
- Output: 15$ / 1M tokens
- Image: 0.005$ / image
Token Limits
- Max Output: 64,000 tokens
- Max Context: 200,000 tokens
Subscription Tiers
- free
- pro
- ultimate