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%

  1. 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.
  2. Use /compact before context crosses ~180K tokens and /clear when switching tickets.
  3. Keep effort="medium" as baseline: Reserve CLAUDE_CODE_EFFORT_LEVEL=high or claude --model claude-fable-5-2 for hard multi-hour escalations.
  4. Enforce a hard spend cap via scoped sub-key: Issue a dedicated Claude Code key in DeepClub Console and audit cache_read ratios 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

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