M
Input
$0.02/MTok
Output
$0.04/MTok
Cached Input
$0.01/MTok
with caching
Specifications
Context Window
131.1K context
Max Output
8K tokens
Caching
Supported
Batch API
No
Vision
No
Tool Use
Supported
Cost Examples
Single chat message
500 input + 300 output tokens
$0.000022/request
Code review
5,000 input + 2,000 output tokens
$0.000180/request
Document summary
50,000 input + 1,000 output tokens
$0.0010/request
100 requests/day
1,000 input + 500 output × 30 days
$0.12/month