Claude · Fast / Budget · 200K context window
$0.000800 per call at 300 input / 100 output tokens.
Per call
$0.000800
10K calls/mo
$8
Cache savings
90% off input
Batch savings
50% off all
Adjust token counts, volume, and discount toggles to model your intent detection spend. Pricing updated weekly.
Call Claude Haiku 4.5 with the Anthropic Python SDK:
from anthropic import Anthropic
client = Anthropic()
response = client.messages.create(
model="claude-haiku-4-5",
max_tokens=100,
messages=[{"role": "user", "content": "Your prompt here"}]
)
# Cost: ~$0.000800 per call at standard rates
# Input: $1.00/MTok
# Output: $5.00/MTokPer-call cost for all models scoring 50+ on intent detection benchmarks. Hover for details.
Cheapest viable option: Gemini 3.5 Flash-Lite at $0.000225/call (72% less, 85/100 quality).
| Direction | $/MTok | Tokens per call |
|---|---|---|
| Input | $1.00 | 300 |
| Output | $5.00 | 100 |
Caching drops input cost from $1.00 to $0.10/MTok. For repeated system prompts, that saves $0.000270 per call.
Submit requests asynchronously and receive 50% off all token costs. This works best for offline pipelines where latency requirements are flexible.
| Monthly volume | Cost per call | Standard monthly | Cached monthly | You save with caching |
|---|---|---|---|---|
| 10,000 calls | $0.000800 | $8 | $5.3 | $2.7 |
| 50,000 calls | $0.000800 | $40 | $26.5 | $13.5 |
| 100,000 calls | $0.000800 | $80 | $53 | $27 |
| 500,000 calls | $0.000800 | $400 | $265 | $135 |
| 1,000,000 calls | $0.000800 | $800 | $530 | $270 |
Use Claude Haiku 4.5 for intent detection
Scores 90/100 (rank #2 of 14). Strong pick for production intent detection workloads.
Top-ranked: Gemini 3.5 Flash (92/100) at $0.001350/call
Claude Haiku 4.5 scores by task type. Intent Detection highlighted.
| Task type | Confidence score | Rank out of 14 |
|---|---|---|
| Classification(current page) | 90/100 | #2 |
| Extraction | 88/100 | #2 |
| Q&A | 86/100 | #4 |
| Summarization | 82/100 | #5 |
| Code Generation | 72/100 | #6 |
| Code Review | 70/100 | #7 |
| Reasoning | 65/100 | #7 |
| Creative Writing | 60/100 | #7 |
13 models score 80+ on intent detection benchmarks, sorted by input rate. Cheapest: Gemini 3.5 Flash-Lite (72% less, 85/100 quality).
| Model | Provider | Input $/MTok | Output $/MTok | Quality | Per call | vs Claude |
|---|---|---|---|---|---|---|
| Gemini 3.5 Flash-Lite | Gemini | $0.25 | $1.50 | 85/100 | $0.000225 | 72% cheaper |
| Gemini 3 Flash | Gemini | $0.50 | $3.00 | 88/100 | $0.000450 | 44% cheaper |
| GPT 5.6 Luna | GPT | $1.00 | $6.00 | 91/100 | $0.000900 | 13% more |
| Gemini 3.5 Flash | Gemini | $1.50 | $9.00 | 92/100 | $0.001350 | 69% more |
| Claude Sonnet 5 | Claude | $2.00 | $10.00 | 86/100 | $0.001600 | 100% more |
| Gemini 3.1 Pro | Gemini | $2.00 | $12.00 | 86/100 | $0.001800 | 125% more |
| GPT 5.4 | GPT | $2.50 | $15.00 | 88/100 | $0.002250 | 181% more |
| GPT 5.6 Terra | GPT | $2.50 | $15.00 | 89/100 | $0.002250 | 181% more |
| Claude Sonnet 4.6 | Claude | $3.00 | $15.00 | 84/100 | $0.002400 | 200% more |
| Claude Opus 4.8 | Claude | $5.00 | $25.00 | 80/100 | $0.004000 | 400% more |
| GPT 5.5 | GPT | $5.00 | $30.00 | 85/100 | $0.004500 | 462% more |
| GPT 5.6 Sol | GPT | $5.00 | $30.00 | 86/100 | $0.004500 | 462% more |
| Claude Fable 5 | Claude | $10.00 | $50.00 | 82/100 | $0.008000 | 900% more |
Provider
Claude
Tier
Fast / Budget
Context
200K tokens
Released
Oct 2025
| Model | Tier | Input $/MTok | Output $/MTok | Context |
|---|---|---|---|---|
| Claude Opus 4.8 | Flagship | $5.00 | $25.00 | 200K |
| Claude Sonnet 4.6 | Mid-tier | $3.00 | $15.00 | 200K |
| Claude Sonnet 5 | Mid-tier | $2.00 | $10.00 | 200K |
| Claude Fable 5 | Flagship | $10.00 | $50.00 | 1,000K |
You can compare Claude Haiku 4.5 head-to-head against any other model on our model comparison pages, or track how pricing has changed over time on the pricing history tracker.
See how Claude Haiku 4.5 costs change across different workload types.
Code Generation
$0.0220/call
Unit Test Generation
$0.0280/call
SQL Generation
$0.006500/call
API Generation
$0.0330/call
Code Refactoring
$0.0240/call
Code Review
$0.0150/call
PR Review
$0.0230/call
Security Review
$0.0185/call
Bug Detection
$0.0150/call
Document Summarization
$0.0150/call
PDF Summarization
$0.0225/call
Meeting Notes
$0.0180/call
Email Summarization
$0.005500/call
Chatbot
$0.007000/call
RAG Pipeline
$0.0135/call
Customer Support Bot
$0.008000/call
FAQ Bot
$0.005500/call
Data Extraction
$0.009000/call
JSON Extraction
$0.007000/call
Invoice Parsing
$0.005000/call
Resume Parsing
$0.006500/call
Chain of Thought
$0.0280/call
Legal Analysis
$0.0300/call
Math Reasoning
$0.0165/call
Financial Analysis
$0.0280/call
Content Moderation
$0.001000/call
Sentiment Analysis
$0.001000/call
Categorization
$0.001550/call
Copywriting
$0.0105/call
Blog Writing
$0.0410/call
Marketing Copy
$0.0158/call
Product Descriptions
$0.008000/call
$0.000800 per call at 300 input / 100 output tokens.
Scores 90/100, rank #2 of 14 models. Top-ranked: Gemini 3.5 Flash at 92/100.
Gemini 3.5 Flash-Lite scores 85/100 quality at $0.25/$1.50 per MTok. That is 72% less than Claude Haiku 4.5 per call.
Three strategies: prompt caching (90% off input), batch API (50% off all tokens), prompt optimization. Combined: $0.000800 drops to about $0.000040 per call.
Claude also offers: Claude Opus 4.8 at $5.00/$25.00, Claude Sonnet 4.6 at $3.00/$15.00, Claude Sonnet 5 at $2.00/$10.00, Claude Fable 5 at $10.00/$50.00.
200K tokens total. Typical intent detection calls use 300 plus 100 tokens, well within limits.
This calculator estimates costs based on published rates only. Connect your API usage to see where your money goes and which models drive your spend.