AI for Production: we'll match your first deposit 100% (x2 credits), up to $1,000 in bonus credits. Limited time.Bonus termsGet API key

LLM API
OpenAI-compatible Switch in two lines ›

One LLM gateway for every model

LLM API is an LLM gateway that gives your team one API key and one bill for 394 models from 31 labs.

Requests244,050
Tokens3.05B
Cost$6,485.93
Avg per 1M tokens$2.13
Cost over time
Model usageAll models ›
ModelRequestsTokensCost
claude-sonnet-5-5anthropic38,4001.08B$2,650.00
kimi-k3novita22,900443.0M$1,552.50
gpt-6-astraopenai3,15070.1M$945.00
glm-5.3novita41,700568.0M$845.28
gemini-3.8-flashgoogle-vertex56,300409.0M$393.75
deepseek/deepseek-v4.1-flashcanopywave9,800162.0M$59.40
gpt-6-lunaazure71,800312.0M$40.00
Cost breakdown
Input$4,801.20
Output$1,684.73
Top API keys
Key nameRequestsUsage
support-assistant96,310$3,018.44
search-indexer88,720$1,407.92
nightly-evals12,460$1,156.30

Trusted by 2100+ companies

  • Barnard College
  • Butte College
  • CarEdge
  • CSU Global
  • Doodle
  • Mate Academy
  • Praktika
  • Preply
  • Provectus
  • Rockland Community College
  • Simplify
  • Solidgate
  • University of Maryland

Use cases

Agents

Support, sales, research and workflow agents that need a low cost per run.

Coding tools

High-volume completion and review traffic across frontier and open models.

Image, audio and video

Generation pipelines on 139 video, 67 audio and 20 image models through the same API.

Search and RAG

Low-cost models for retrieval and reranking, stronger models only where quality needs them.

Plans

Pay as you go, commit to a monthly volume, or sell the platform under your brand. All three use the same models and routing.

01 · One API key

Pay per token for every model

Prepaid credits, with routing, fallbacks, caching and per-team analytics included.

See pricing

02 · Volume

Lower prices for committed volume

Commit to a monthly spend and get custom discounts on frontier models, with no change to your code.

See volume pricing

03 · White label

Your own LLM gateway, under your brand

Your domain, prices and customers on our routing platform, live in a few weeks.

See white label

Quickstart

LLM API speaks the OpenAI and Anthropic APIs. Keep the SDK you use; change the base URL and the key.

  1. Create a keySign up and top up credits.
  2. Point the SDK at LLM APIThe two highlighted lines.
  3. Call each model through its own APIClaude through Messages, GPT through Responses, open models through Chat Completions. Every model page shows its code.

Chat CompletionsPOST /v1/chat/completionsOpenAI SDK

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Model:

Customer story

The Mate Academy team

“LLM API gave us the flexibility to benchmark models and choose the most cost-efficient option without compromising user experience.”

Mate Academy

saved per year
$36K
implementation time
1 week
View case study

Enterprise

Ask sales for the DPA, an MSA or dedicated capacity.

  • Deployment

    Region options, private routing, migration from a self-hosted gateway.

  • Security and data

    Retention controls, zero-retention routes, audit logs.

  • Cost governance

    Per-team attribution, budget limits and model policies. Invoice billing on NET terms for committed volume.

  • Commercial

    MSA, DPA and SLA. Dedicated capacity and a dedicated account manager.

Compliance

Security and compliance

LLM API is SOC 2 compliant, ISO 27001 certified, and compliant with GDPR and CCPA.

Read the DPA
SOC 2 compliantISO 27001 certifiedGDPR compliantCCPA compliant

FAQ

Frequently asked questions

What is an LLM gateway?

An LLM gateway is one API in front of many model providers. Your app sends every request to one endpoint. The gateway picks a provider, falls back to another when one fails, and records usage and cost per team.

Is LLM API compatible with the OpenAI SDK?

Yes. LLM API implements the OpenAI Chat Completions and Responses APIs. Point your OpenAI SDK at https://api.llmapi.ai/v1, use your LLM API key and call any model by its ID.

How much cheaper is LLM API than buying from providers directly?

Up to 30% below provider list prices. Each model page shows what you pay per 1M tokens. Committed volume gets custom discounts on top.

Which models can I use?

394 models from 31 labs: 159 text, 139 video, 67 audio, 20 image and 9 embedding models. Labs include OpenAI, Anthropic, Google, DeepSeek, Mistral, xAI, Alibaba (Qwen) and Moonshot AI. The models page lists every model with its price.

Is LLM API ready for enterprise use?

Yes. You get per-team attribution and budgets, model policies, zero-retention routes and audit logs. Contracts include an MSA, a DPA and an SLA. LLM API is SOC 2 compliant, ISO 27001 certified, and compliant with GDPR and CCPA.

Sign up, top up credits and send your first request with the OpenAI SDK.

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up