Claude Opus 5.5 in Claude Code: 0.05x Caching & Cost Control
Point Claude Code (v2.1.280+) to ANTHROPIC_BASE_URL=https://deepclub.net (no /v1) to hit 80%+ prompt cache read ratios at 0.05× on Opus 5.5 and 0.025× on Fable 5.2.
| Parameter | Details |
|---|---|
| Live Model IDs | claude-opus-5-5, claude-fable-5-2, claude-sonnet-5-5 |
| Endpoint | POST /v1/messages (preferred), POST /v1/chat/completions (compat) |
| SDK Base URL | https://deepclub.net (Anthropic SDK / Claude Code, no /v1) |
| Billing & Privacy | Per 1M tokens (including prompt cache rates). See Live Pricing; site-wide Zero Data Retention (ZDR) |
1. Persistent ~/.claude/settings.json for Opus 5.5
Anthropic recommends claude-opus-5-5 as the default starting point for cross-file engineering. On DeepClub, Opus 5.5 sits in the daily flagship tier with full native /v1/messages prompt caching (0.05× read multiplier):
{
"env": {
"ANTHROPIC_BASE_URL": "https://deepclub.net",
"ANTHROPIC_AUTH_TOKEN": "sk-your-claude-code-subkey",
"ANTHROPIC_MODEL": "claude-opus-5-5",
"CLAUDE_CODE_EFFORT_LEVEL": "medium"
}
}
Verify your version with claude --version (v2.1.280+ for Opus 5.5, v2.1.321+ for Fable 5.2) and run /status inside Claude Code. If you see 404 or 401 errors, follow Fix Claude Code 404, 401 & 400 Errors.
2. Keeping 5-Minute Cache Hit Rates Above 80%
- Batch active work inside 5-minute windows: Every follow-up prompt within 5 minutes reuses your cached repo context at 0.05× instead of triggering a fresh
cache_write. - Use
/compactbefore context crosses ~180K tokens and/clearwhen switching tickets. - Keep
effort="medium"as baseline: ReserveCLAUDE_CODE_EFFORT_LEVEL=highorclaude --model claude-fable-5-2for hard multi-hour escalations. - Enforce a hard spend cap via scoped sub-key: Issue a dedicated Claude Code key in DeepClub Console and audit
cache_readratios directly in Usage Logs.
See also: Claude Code Custom Base URL Setup · Claude Code Caching & Effort Guide.
Frequently Asked Questions
How do I switch between Opus 5.5, Sonnet 5.5, and Fable 5.2 inside Claude Code?
Launch with claude --model claude-sonnet-5-5, claude --model claude-opus-5-5, or claude --model claude-fable-5-2 while keeping ANTHROPIC_BASE_URL=https://deepclub.net unchanged.
Why did my Claude Code cache_read drop to zero mid-session?
Anthropic’s default ephemeral prompt cache expires after 5 minutes of inactivity, causing the next turn to pay a fresh cache_write before resuming 0.05x/0.025x reads.
Does DeepClub alter Anthropic Messages tool blocks or thinking blocks?
No. DeepClub forwards native /v1/messages with Zero Data Retention (ZDR) so interleaved thinking and prompt cache breakpoints work natively.
Related Engineering Guides & Troubleshooting
- Claude 5.x Native Messages API Proxy Guide · API Docs & SDK Reference · LLM Prompt Caching Guide
- Fix 401 / 404 / 400 / 429 API Errors · All English Guides
- claude-opus-5-5 Live Pricing · Full Model Pricing Table
Frequently Asked Questions
- How do I switch between Opus 5.5, Sonnet 5.5, and Fable 5.2 inside Claude Code?
- Launch with claude --model claude-sonnet-5-5, claude --model claude-opus-5-5, or claude --model claude-fable-5-2 while keeping ANTHROPIC_BASE_URL=https://deepclub.net unchanged.
- Why did my Claude Code cache_read drop to zero mid-session?
- Anthropic’s default ephemeral prompt cache expires after 5 minutes of inactivity, causing the next turn to pay a fresh cache_write before resuming 0.05x/0.025x reads.
- Does DeepClub alter Anthropic Messages tool blocks or thinking blocks?
- No. DeepClub forwards native /v1/messages with Zero Data Retention (ZDR) so interleaved thinking and prompt cache breakpoints work natively.
Updated