Anthropic-compatible API
Every Claude model. One base URL.
Point the Anthropic SDKs, Claude Code or Cursor at ClaudeOpus and keep your code as it is — every key's 5-hour window reads out per model, to a tenth of a percent.
Keys are issued by your admin or reseller — sign in to see yours.
https://api.claudeopus.proDemo readout with illustrative data, not a real key: a 5-hour window at 63.4% used — Fable 24.1%, Opus 18.6%, Sonnet 14.9%, Haiku 5.8% — resetting in about two hours, above a list of its most recent requests.
- Context
- 1Mtokens
- Fable 5.1 · Opus 5 · Sonnet 5
- Usage window
- 5 hrolling
- Per key, read out per model
- Models
- 14IDs
- On one base URL
- Prompt caching
- Free
- Cache reads and writes never count against the window
01. Lineup
Ask for any model by its ID.
The four current models, flagship first. Each also answers to its family's short alias — fable, opus, sonnet or haiku.
Claude Fable 5.1
FlagshipThe most capable model served: demanding reasoning and long-horizon agentic work.
- Model ID
claude-fable-5-1- Alias
fable - Context window
- 1,000,000tokens
- Also listed as
claude-fable-5-1[1m]
Claude Opus 5
Deep reasoningA million tokens of context, a step behind Fable on the hardest problems.
- Model ID
claude-opus-5- Alias
opus - Context window
- 1,000,000tokens
- Also listed as
claude-opus-5[1m]
Claude Sonnet 5
BalancedThe same million-token window, lighter on the clock.
- Model ID
claude-sonnet-5- Alias
sonnet - Context window
- 1,000,000tokens
- Also listed as
claude-sonnet-5[1m]
Claude Haiku 4.5
FastLow latency and high throughput, for work that keeps up with typing.
- Model ID
claude-haiku-4-5-20251001- Alias
haiku - Context window
- 200,000tokens
Also served
Earlier releases · for pinned clients1,000,000 tokens of context
- Claude Fable 5
claude-fable-5 - Claude Opus 4.8
claude-opus-4-8 - Claude Opus 4.7
claude-opus-4-7 - Claude Opus 4.6
claude-opus-4-6 - Claude Sonnet 4.6
claude-sonnet-4-6
200,000 tokens of context
- Claude Opus 4.5
claude-opus-4-5 - Claude Sonnet 4.5
claude-sonnet-4-5-20250929 - Claude Opus 4.1
claude-opus-4-1-20250805 - Claude Opus 4
claude-opus-4-20250514 - Claude Sonnet 4
claude-sonnet-4-20250514
GET /v1/models lists all 14, plus a [1m] twin of each 1M-context model so Claude Code can offer the full window. No key needed.
02. Specification
What every key gets.
Nothing to unlock and no tiers of features: all of it works from a key's first request.
- Context window
- Up to 1,000,000 tokens
- Fable 5.1, Opus 5 and Sonnet 5 take a million tokens; Haiku 4.5 takes 200,000. Claude Code's
[1m]suffix is accepted as-is. - Usage window
- 5 hours, rolling, per key
- Opens with a key's first request and resets itself five hours later. Usage reads out as a percentage of the window, split by model family:
- Fable
- Opus
- Sonnet
- Haiku
- Streaming
- Server-sent events
- Set
"stream": trueand events arrive as the model writes them, with no buffering. Disconnect early and the request is cancelled with you. - Prompt caching
cache_control- Mark a long, stable prefix — a system prompt, a tool schema, a document — and it is cached. Cache reads and writes never count against the window; only fresh input and output do.
- OpenAI-compatible
POST /v1/chat/completions- For clients that only speak OpenAI. Requests and responses are translated both ways, streaming and tool calls included — use
https://api.claudeopus.pro/v1as the base URL. - Server-side tools
- Web search · image understanding
- Both run on our side: nothing to install, no MCP server, no client plugin. Images in a message just work, and each tool is also callable directly under
/tools. - Key status
- Public, per key
- Anyone holding a key can read its status, 5-hour window and reset time on the key status page — no account needed.
- Drop-in clients
- Claude Code · Cursor · SDKs
- The Anthropic SDKs, Claude Code, Cursor, Windsurf, Cline and Roo Code. Change the base URL and the key — nothing else.
- Rate limits & expiry
- Set per key
- Every key carries its own per-minute request ceiling and its own expiry date.
- Key issuing
- Admins and resellers
- Administrators issue keys; resellers issue keys to their own users, from their own quota.
03. Quick start
Two settings. Nothing else changes.
Every client needs the same two facts: the base URL and your key. Same request body, same response, same stream.
Get a key
Keys start with
sk-ant-co-and are issued by your administrator or reseller.Point your client at the proxy
Base URL
https://api.claudeopus.pro. Routes sit at the root — it's/v1/messages, with no/apiin front.Send the key
As
x-api-key, the way the Anthropic SDKs do, or asAuthorization: Bearer— whichever your client already sends. On Claude Code, the one-line setup script writes both for you.Watch the window
A key's 5-hour window and reset time are on the key status page, per model.
export ANTHROPIC_BASE_URL=https://api.claudeopus.pro
export ANTHROPIC_AUTH_TOKEN=sk-ant-co-YOUR_KEYOne URL in front of every Claude model.
The docs cover every request and response shape, the limits and the errors. The status page shows what is up right now.