Claude Sonnet 4.5 as a coding agent in your terminal
Claude Sonnet 4.5 by Anthropic, one of 250+ models you can use in Darce, the open source AI coding agent you can undo.
| Model | Claude Sonnet 4.5 |
|---|---|
| Vendor | Anthropic |
| Model id | anthropic/claude-sonnet-4.5 |
| Context window | 1M tokens |
| Price per 1M tokens | $3.00 input · $15.00 output (OpenRouter) |
| Can do | tool calling · reads images · reasoning |
| Category | Popular |
Strengths
An earlier Claude Sonnet that many developers know well. Useful as a stable, familiar baseline.
OpenRouter's description:
Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...
Use Claude Sonnet 4.5 as a coding agent in your terminal
Start Darce in your project with Claude Sonnet 4.5:
npm install -g darce-cli
darce --model anthropic/claude-sonnet-4.5Already in a session? Type /model anthropic/claude-sonnet-4.5, or open the picker with Ctrl+P. Darce then reads your code, edits files and runs commands with Claude Sonnet 4.5; risky commands ask first, and /undo reverses any change, including what shell commands did. No account yet? npx darce-cli lets you try it free. Which plan includes which models is on the pricing page.
Make it your default or a gear
In ~/.darcerc, set it as the starting model or add it to the gears you move between with Shift+↑ / Shift+↓ (see configuration):
{
"router": { "default": "anthropic/claude-sonnet-4.5" },
"gears": ["qwen/qwen3-coder", "anthropic/claude-sonnet-4.5"]
}Compare it on your own code
Benchmarks rarely match your repository. Race Claude Sonnet 4.5 against two other models on a real task and keep the best diff:
/derby --models anthropic/claude-sonnet-4.5,anthropic/claude-opus-5.5,anthropic/claude-sonnet-5.5 fix the failing testRead more about /derby and /swarm.
Related models
- Claude Opus 5.5 (Anthropic): 1M tokens, $4.00 / $20.00 per 1M tokens
- Claude Sonnet 5.5 (Anthropic): 1M tokens, $2.00 / $10.00 per 1M tokens
- Claude Haiku 5.5 (Anthropic): 1M tokens, $0.10 / $0.50 per 1M tokens
- Claude Fable 5.1 (Anthropic): 1M tokens, $10.00 / $50.00 per 1M tokens
- GPT-6.1 Sol (OpenAI): 1.05M tokens, $2.00 / $10.00 per 1M tokens
- GPT-5.6 Sol (OpenAI): 1.05M tokens, $2.00 / $10.00 per 1M tokens
- Gemini 3.1 Pro Preview (Google): 1.05M tokens, $2.00 / $12.00 per 1M tokens
- DeepSeek V4 Pro 0423 (DeepSeek): 1.05M tokens, $0.95 / $1.90 per 1M tokens
All models · Getting started · Claude Code alternative
Model data from OpenRouter, refreshed daily. Prices are OpenRouter's list rates and show relative cost; your Darce allowance is used in proportion to them.