Claude Sonnet 4
Claude Sonnet 4
Section titled “Claude Sonnet 4”Provider: Anthropic Context Window: 200,000 tokens Quality: High Price: $3.00 per 1M input tokens
Overview
Section titled “Overview”Claude Sonnet 4 is Anthropic’s latest and most capable model. It excels at nuanced analysis, long-form writing, and complex reasoning tasks with a massive 200K context window.
Best For
Section titled “Best For”- Long document analysis and summarization
- Complex multi-step reasoning
- Code review and debugging
- Creative writing and content generation
Pricing
Section titled “Pricing”| Tier | Input | Output |
|---|---|---|
| BYOK | $3.00/1M | $15.00/1M |
| Marketplace | $3.09/1M | $15.45/1M |
Routing Recommendation
Section titled “Routing Recommendation”- Accurate mode: Top choice for complex analysis and writing
- Balanced mode: Selected when quality is important
- Cheap mode: Rarely selected
- Eco mode: Never selected
curl http://127.0.0.1:8787/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model": "fastlane-auto", "messages": [{"role": "user", "content": "Analyze this codebase for security issues"}]}'Requirements
Section titled “Requirements”- Anthropic API key in settings, or
- Marketplace balance (3% markup applies)