Claude API through an OpenAI-compatible endpoint
Route Claude requests through LivRouter using a single API key and pay-as-you-go credits. No provider subscriptions, no separate Anthropic billing — top up credits and call Claude alongside GPT, DeepSeek, and other models from the same endpoint.
Why route Claude through LivRouter
- One API key for Claude and every other model on LivRouter
- OpenAI-compatible chat completions format — switch by changing the model name
- Anthropic API compatibility layer available for Claude Code and Anthropic SDK workflows
- Pay-as-you-go credits in USD; check effective per-model rates in the pricing catalog
Common use cases
- Long-form writing, editing, and analysis with strong instruction following
- Coding assistants and CLI agents such as Claude Code
- Document understanding and structured extraction workflows
Quickstart
Create an API key in your dashboard, then call Claude through the OpenAI-compatible endpoint:
curl https://api.livrouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LIVROUTER_API_KEY" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "Hello"}]
}'OpenAI-compatible SDK quickstart · Claude Code setup · Anthropic SDK guide
Claude models on LivRouter
Catalog checked . Rates below are the lowest listed plan rates; subscription charges are separate.
- Claude Fable 5from $0.35/1M in
- Claude Fable 5 1from $0.35/1M in
- Claude Fable 5 2from $0.56/1M in
- Claude Haiku 4 5from $0.07/1M in
- Claude Haiku 5 5from $0.007/1M in
- Claude Opus 4.6from $0.35/1M in
- Claude Opus 4 7from $0.35/1M in
- Claude Opus 4 8from $0.35/1M in
- Claude Opus 5from $0.35/1M in
- Claude Opus 5 5from $0.28/1M in
- Claude Sonnet 4 5from $0.21/1M in
- Claude Sonnet 4 6from $0.21/1M in
- Claude Sonnet 5from $0.14/1M in
- Claude Sonnet 5 5from $0.14/1M in
Other model families
FAQ
Do I need an Anthropic account to use Claude via LivRouter?
No. LivRouter routes Claude requests for you. You only need a LivRouter account, an API key, and credits.
Can I use Claude Code with LivRouter?
Yes. LivRouter provides an Anthropic API compatibility layer, so Claude Code and Anthropic SDKs can point at LivRouter endpoints.