Claude Sonnet 4#
Providers / Anthropic / Claude Sonnet 4
📋 Overview#
- ID:
claude-sonnet-4-20250514 - Provider: Anthropic
- Authors: Anthropic
- Release Date: 2025-05-22
- Knowledge Cutoff: 2025-03-31
- Open Weights: false
- Context Window: 200k tokens
- Max Output: 64k tokens
🔬 Technical Specifications#
Sampling Controls:
🎯 Capabilities#
Feature Overview#
Input/Output Modalities#
| Direction | Text | Image | Audio | Video | |
|---|---|---|---|---|---|
| Input | ✅ | ❌ | ❌ | ❌ | ❌ |
| Output | ✅ | ❌ | ❌ | ❌ | ❌ |
Core Features#
| Tool Calling | Tool Definitions | Tool Choice | Web Search | File Attachments |
|---|---|---|---|---|
| ❌ | ✅ | ✅ | ❌ | ❌ |
Response Delivery#
| Streaming | Structured Output | JSON Mode | Function Call | Text Format |
|---|---|---|---|---|
| ✅ | ❌ | ✅ | ❌ | ✅ |
🎛️ Generation Controls#
Sampling & Decoding#
| Temperature | Top-P | Top-K |
|---|---|---|
| 0.0-2.0 | 0.0-1.0 | ✅ |
Length & Termination#
| Max Tokens | Stop Sequences |
|---|---|
| 1-64k | ✅ |
💰 Pricing#
Pricing shown for Anthropic
Token Pricing#
| Input | Output | Reasoning | Cache Read | Cache Write |
|---|---|---|---|---|
| $3.00/1M | $15.00/1M | - | - | - |
💰 Cost Calculator#
Calculate costs for common usage patterns:
| Use Case | Input | Output | Total Cost |
|---|---|---|---|
| Quick chat (1K in, 500 out) | 1k tokens | 500 tokens | $0.0105 |
| Document summary (10K in, 1K out) | 10k tokens | 1k tokens | $0.0450 |
| RAG query (50K in, 2K out) | 50k tokens | 2k tokens | $0.1800 |
| Code generation (5K in, 10K out) | 5k tokens | 10k tokens | $0.1650 |
Pricing Formula:
1Cost = (Input Tokens / 1M × $3.00) + (Output Tokens / 1M × $15.00)📊 Example Costs#
Real-world usage examples and their costs:
| Usage Tier | Daily Volume | Monthly Tokens | Monthly Cost |
|---|---|---|---|
| Personal (10 chats/day) | 10 chats | 675k | $4.72 |
| Small Team (100 chats/day) | 100 chats | 9.0M | $63.00 |
| Enterprise (1000 chats/day) | 1000 chats | 135.0M | $945.00 |
📋 Metadata#
Created: 0001-01-01 00:00:00 UTC
Last Updated: 2025-10-19 18:13:08 UTC
Navigation#
Last Updated: 2025-10-21 23:55:56 UTC | Generated by ModelWiki