OpenAI & Anthropic-compatible API

One API for coding CLIs and multi-LLM apps.

Call Claude, GPT, DeepSeek, GLM-5.3, Kimi, Grok, Gemini, Qwen, MiniMax, and Mimo with one API key and prepaid credits. Connect Claude Code, OpenCode, Codex CLI, Cursor, Open WebUI, or SillyTavern without separate provider accounts.

  • OpenAI & Anthropic endpoints
  • Pay-as-you-go credits
  • No separate provider accounts
Documented endpoints
10 model families
https://api.livrouter.com/v1
OpenAI
https://api.livrouter.com
Anthropic
One API key · prepaid creditsBrowse live model rates

Quickstart & endpoints

Switch in two lines across CLIs and SDKs.

Keep your existing SDK and change only the base URL and API key. LivRouter supports OpenAI Chat Completions and Responses (https://api.livrouter.com/v1) plus Anthropic Messages (https://api.livrouter.com) on one prepaid credit balance.

2 lines to switch
import osfrom openai import OpenAI client = OpenAI(    base_url="https://api.livrouter.com/v1",    api_key=os.environ["LIVROUTER_API_KEY"],)res = client.chat.completions.create(    model="glm-5.3",    messages=[{"role": "user", "content": "Hello"}],)
POST https://api.livrouter.com/v1/chat/completions
OpenAI Chat Completions

The switch

Stop juggling provider accounts and separate wallets.

Before

  • Separate provider accounts & cards
  • Different base URLs & formats
  • Scattered usage and billing

With LivRouter

  • One API key across supported families
  • OpenAI & Anthropic endpoints
  • One credit balance and usage log
Clear per-token billingLivRouter vs OpenRouter

Model landscape

One API for the models your work needs

44 models across 10 providers

Use one API key to connect coding agents, chat apps, and multimodal AI workflows to the model API your workload needs. LivRouter keeps the endpoint consistent while you compare and switch supported Claude API, GPT API, DeepSeek API, Gemini, Qwen, and other model families.

Providers: Alibaba, Anthropic, DeepSeek, Google, MiniMax, Moonshot, OpenAI, xAI, Xiaomi, Z.ai.

One API keyUse one familiar endpoint across every supported provider.
Current model API pricingCompare model rates and exact IDs before you send production traffic.
OpenAI API alternativeChange the model ID when your coding, chat, or reasoning workload changes.

Anthropic

Claude API

Frontier instruction-following models built for Claude Code, refactoring, and long-form writing.

Claude CodeWritingAgentic coding
14 modelsFrom $0.007/1M in

OpenAI

GPT API

General-purpose OpenAI models for tool use, structured JSON, vision, and everyday product apps.

Tool callingVisionGeneral purpose
8 modelsFrom $0.07/1M in

Low-latency xAI models including Grok 4.6 for Cursor, rapid iteration, and conversational workflows.

CursorFast chatReasoning
3 modelsFrom $0.32/1M in

DeepSeek

DeepSeek API

High-value coding and reasoning models popular in OpenCode, Codex CLI, and batch pipelines.

Coding CLIsLow costReasoning
3 modelsFrom $0.0315/1M in

Z.ai GLM-5.3 and Flash models for multilingual agent workflows, planning, and cost-effective coding.

GLM-5.3MultilingualAgents
3 modelsFrom $0.024/1M in

Moonshot

Kimi API

Moonshot long-context models including Kimi K2 and K3 for repository review, document QA, and reasoning.

Long contextDocument QAReasoning
2 modelsFrom $0.42/1M in

Google multimodal models for document analysis, long context, and cross-modal tasks.

MultimodalLong contextAnalysis
4 modelsFrom $0.09/1M in

Alibaba

Qwen API

Alibaba Qwen 3.8 models for multilingual generation, code review, reasoning, and tool use.

MultilingualCode reviewTool calling
3 modelsFrom $0.024/1M in

Fast, budget-friendly MiniMax M3 models suited for interactive chat and high-throughput apps.

Fast chatHigh throughputLow cost
2 modelsFrom $0.008/1M in

Xiaomi

Mimo API

Xiaomi Mimo v2.6 Pro and Flash models for compact reasoning, planning, and coding tasks.

CompactPlanningReasoning
2 modelsFrom $0.0224/1M in

Integrations

Built for coding CLIs, IDEs, and chat frontends.

Keep one API key across Claude Code, OpenCode, Codex CLI, Cursor, Open WebUI, Cherry Studio, n8n, and SillyTavern. Switch models by ID without rebuilding your integration.

Your clients

Coding CLIs · IDEs · Chat apps · SDKs

LivRouter API

OpenAI /v1 · Anthropic Messages

Unified catalog

44 models · 10 providers

Coding CLIs

Claude Code, OpenCode & Codex CLI

Point ANTHROPIC_BASE_URL or custom OpenAI providers at LivRouter to run Claude, DeepSeek, or GLM-5.3 from your terminal.

IDE & workflows

Cursor, Cline, Roo Code & n8n

Override the base URL in editor extensions or n8n AI Agent nodes to use Grok 4.6, DeepSeek, GLM-5.3, and GPT models.

Chat frontends

Open WebUI, Cherry Studio & SillyTavern

Connect desktop, self-hosted, or roleplay chat clients through one OpenAI-compatible /v1 endpoint and prepaid key.

Need protocol specifications or side-by-side platform details?

Pricing

Start with pay as you go, or choose a plan for lower model rates.

All usage is billed per token from prepaid credits. Compare each plan's price, rate, and included credits on the plans & billing page or check our AI API pricing comparison.

Start

Get started in seconds

$0/ month

Standard rates
  • Pay as you go
  • Standard pricing
  • Unlock some models
  • 5 Bonus Credits
See Start details

Pro

For everyday productivity

$5/ month

Up to ~80% off
  • Pay as you go
  • Lower model pricing
  • Access eligible paid models
  • 55 credits included
See Pro details

Max

Popular

For a full immersion

$20/ month

Up to ~93% off
  • Pay as you go
  • Lower model pricing
  • Access eligible paid models
  • 220 credits included
See Max details

Prime

Lifetime

For ultimate mastery

$199/ forever

Up to ~93% off
  • Pay as you go
  • Lower model pricing
  • Access eligible paid models
  • 2,200 credits included
See Prime details

Monthly subscriptions renew until canceled. Prime is a one-time plan with permanent access.

FAQ

Questions developers ask before switching

Protocol compatibility, billing model, supported models, and migrating existing OpenAI or Anthropic configurations.

Browse API documentation
What is an OpenAI-compatible API?

An API that follows OpenAI's chat completions format. You can keep an OpenAI SDK or library and use another model by changing the base URL and model name.

Can I use Claude Code or the Anthropic SDK?

Yes. LivRouter provides an Anthropic-compatible layer so Claude Code and Anthropic SDK workflows can point at LivRouter endpoints.

Can I connect my own SillyTavern or AI chat frontend?

Yes, if the app supports a custom OpenAI-compatible API. Set its API endpoint to https://api.livrouter.com/v1, enter your LivRouter API key, and select a model available in the catalog.

How do I migrate existing OpenAI code?

Change the base URL to https://api.livrouter.com/v1 and update the model name. Existing OpenAI SDK calls can continue using the same request pattern.

How does LivRouter pricing work?

Usage is billed per token from prepaid credits. Start uses standard model rates. Pro ($5/month) includes 55 credits and lowers published token-model rates by ~80%; Max ($20/month) includes 220 credits and lowers them by ~93%; Prime ($199 / forever) includes 2,200 credits and lowers published token-model rates permanently.

How is LivRouter different from OpenRouter?

OpenRouter aggregates a very large catalog with pay-as-you-go per-token billing. LivRouter focuses on a curated catalog, an OpenAI-compatible endpoint plus an Anthropic-compatible layer for Claude Code, prepaid credits, and optional plans that lower token rates.

Which LLMs can I use through LivRouter?

The current catalog covers Claude, GPT, Grok, DeepSeek, GLM, Kimi, Gemini, Qwen, MiniMax, and Mimo. Exact model IDs, availability, and current rates are listed in the model directory.

Is there a free plan?

The Start plan has no monthly fee ($0/month) and includes 5 bonus credits; usage is billed pay-as-you-go per token from prepaid credits at standard model rates rather than an unlimited free tier. Paid plans are optional and add included credits, lower model rates, and unlock eligible paid models.

Ready to route your first request?

Start with one API key.

Create an account, choose a model, and send your first request.