Plans at a Glance
- Limited Claude Code usage
- Rate limits apply
- Good for trying Claude Code
- Not for daily development
- Pay per token used
- Full model access
- No rate limits (soft quotas)
- Most flexible option
- Higher usage caps
- Predictable billing
- Access via claude.ai/code
- Best for regular heavy users
Token Pricing (Anthropic API)
Claude Code uses the Anthropic API when accessed via API key. You pay per million tokens processed:
| Model | Input ($/M tokens) | Output ($/M tokens) | Cache Read ($/M) | Cache Write ($/M) |
|---|---|---|---|---|
| Claude Sonnet 4.6 (default) | $3.00 | $15.00 | $0.30 | $3.75 |
| Claude Opus 4.7 (most capable) | $15.00 | $75.00 | $1.50 | $18.75 |
| Claude Haiku 4.5 (fastest/cheapest) | $0.80 | $4.00 | $0.08 | $1.00 |
Prompt caching dramatically reduces costs. Once context (your codebase, CLAUDE.md) is cached, re-reading it costs 90% less. A 100k-token codebase context costs $0.30 to cache — subsequent reads cost only $0.03.
Real-World Cost Examples
How to Reduce Your Claude Code Bill
/compact compresses conversation history, reducing the tokens needed to maintain context in long sessions. Use it every 30–40 minutes during extended work.
src/auth/middleware.ts lines 40–80 for the session validation bug". Less token-hunting = lower cost.
Claude Code vs Competitors on Price
| Tool | Pricing Model | Monthly Cost (typical dev) | Best For |
|---|---|---|---|
| Claude Code (API) | Pay-per-token | $15–50 | Complex autonomous tasks |
| GitHub Copilot | Flat $10/mo | $10 | Inline completions, daily coding |
| Cursor Pro | Flat $20/mo | $20 | AI-first IDE, completions + chat |
| OpenAI Codex / ChatGPT | Usage-based | $20–60 | Code generation, chat |
Claude Code's per-token model means cost scales with work done. A 30-minute autonomous refactor that saves 3 hours of manual work might cost $1–2. At that ROI, the cost comparison shifts — you're paying for outcomes, not seat licenses.
See What You Get for That Cost
Browse every Claude Code skill, hook, MCP server, and automation capability to understand the full value.
Open Claude Skills Browser →