LLMsRelay/Docs
Back to dashboard

Models

All public Claude models on LLMsRelay — Opus 5, Fable 5, Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 5, Sonnet 4.6 and Haiku 4.5.

LLMsRelay exposes eight public model IDs through api.llmsrelay.com: Claude Opus 5, Claude Fable 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Sonnet 5, Claude Sonnet 4.6, and Claude Haiku 4.5. Short aliases are accepted for requests, while GET /v1/models is the source of truth for a specific key.

llmsrelay --pricingup to −91%
$ Pay once. Get ~11× the Anthropic balance.
Same Anthropic per-token rates. Massive discount on the top-up.
you payAnthropic-equivalent balancediscount
$45$500balance−91%
$90popular$1,000balance−91%
Tokens are billed at Anthropic's exact per-token rates · Balance never expires · No subscription

Recommended Model IDs

Use the stable model IDs listed below in your API requests. These IDs are consistent across both Anthropic and OpenAI-compatible endpoints.

ModelModel IDContextThinkingKey access
Claude Opus 5claude-opus-51MYesBasic, Pro
Claude Fable 5claude-fable-51MYesBasic, Pro
Claude Opus 4.8claude-opus-4.81MYesClaude key groups
Claude Opus 4.7claude-opus-4.71MYesClaude key groups
Claude Opus 4.6claude-opus-4.61MYesClaude key groups
Claude Sonnet 5claude-sonnet-51MYesClaude key groups
Claude Sonnet 4.6claude-sonnet-4.61MYesClaude key groups
Claude Haiku 4.5claude-haiku-4.5200KYesClaude key groups

The catalog can be filtered by API-key group and per-key allowed-model settings. Use the response from GET /v1/models before configuring a client.

Short Aliases

For quick experimentation you can use short aliases instead of pinned IDs. Aliases always resolve to the latest version of each tier — convenient for chat clients, risky for production.

AliasResolves toRecommended for
opusclaude-opus-4.8Quick CLI calls, sandboxes
sonnetclaude-sonnet-4.6Quick CLI calls, sandboxes
haikuclaude-haiku-4.5Quick CLI calls, sandboxes
For production deployments use pinned IDs. Aliases may resolve to a different model after a catalogue update, which can change behaviour, output length, and pricing without warning.

Long Context (1M tokens)

LLMsRelay exposes a 1 million token context window for Opus 5, Fable 5, the Opus 4.x models, and Sonnet 5/4.6. Haiku 4.5 has a 200K context window. Enable the 1M context mode by sending the anthropic-beta header on each request:

Enabling 1M contextbash
curl https://api.llmsrelay.com/v1/messages \
 -H "x-api-key: YOUR_API_KEY" \
 -H "anthropic-version: 2023-06-01" \
 -H "anthropic-beta: context-1m-2025" \
 -H "content-type: application/json" \
 -d '{
 "model": "claude-opus-5",
 "max_tokens": 4096,
 "messages": [{"role": "user", "content": "."}]
 }'
1M context is billed at the same per-token rate as standard context — the cap is just larger. Useful for whole-codebase analysis, long-form research, and very large RAG payloads.

LLMsRelay Rates (91% below Anthropic (11× cheaper))

These are the Anthropic-equivalent per-token rates used for usage deductions. Cache write is billed at 1.25× input and cache read at 0.10× input.

ModelInput / 1MOutput / 1MCache write / 1MCache read / 1M
Claude Opus 5$5.00$25.00$6.25$0.50
Claude Fable 5$10.00$50.00$12.50$1.00
Claude Opus 4.8$5.00$25.00$6.25$0.50
Claude Opus 4.7$5.00$25.00$6.25$0.50
Claude Opus 4.6$5.00$25.00$6.25$0.50
Claude Sonnet 5$2.00$10.00$2.50$0.20
Claude Sonnet 4.6$3.00$15.00$3.75$0.30
Claude Haiku 4.5$1.00$5.00$1.25$0.10

Rates are shown per million tokens. The exact balance deduction also depends on the measured request usage and cache token categories.

Choosing a Model

  • Opus 5 — highest-capability reasoning and agent workloads
  • Fable 5 — high-capability coding and agent workloads
  • Opus 4.8 / 4.7 / 4.6 — complex reasoning, research, and long coding sessions
  • Sonnet 5 / 4.6 — general coding and daily development
  • Haiku 4.5 — fast, lower-cost classification and automation

See Key Controls to restrict which models a specific API key can use.

Listing Models via API

You can retrieve the list of available models programmatically:

GET https://api.llmsrelay.com/v1/models

The response is filtered for the authenticated key and includes the model capabilities exposed by the gateway. Pricing rates are documented on the Pricing page.

Ready to start?

Create a key and configure a compatible API route in under 2 minutes.

View Plans