OpenAI-compatible · live now

One API for every AI model

Model Database is a unified, OpenAI-compatible API for hundreds of large language models. Access Claude, GPT, Gemini, Llama, Mistral and DeepSeek through a single endpoint — no infrastructure, no per-provider contracts. Sign up and ship in minutes.

Free account · API key in seconds · Pay only for what you use

quickstart.sh
# Already use the OpenAI SDK? Change one line: the base URL.
curl https://modeldatabase.com/v1/chat/completions \
  -H "Authorization: Bearer $MDB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.8",
    "messages": [{"role":"user","content":"Hello!"}],
    "stream": true
  }'
Popular models

The models developers reach for

Call any of these by passing its ID in the model field — or browse the full catalog of hundreds more. One key, one bill, every provider.

Why Model Database

Same one-line switch. Fewer nasty surprises.

Every gateway says “hundreds of models, one key.” So do we — but that's table stakes. What actually sets us apart: every price is published, your spend is capped, and we never store your prompts.

🏷️

Prices you can actually see

Every model's per-token rate is published and sortable — the price you see is the price you pay, margin included. No opaque markups.

🛡️

No surprise bills

Credit is prepaid, so you can never overspend — and a per-request cost cap stops a runaway prompt cold. Predictable by design.

🔒

Your prompts stay yours

We don't store the content of your prompts or the models' responses, and we never train on them. Only usage metadata for your bill. See our privacy policy.

Drop-in compatible

Fully OpenAI-compatible /v1/chat/completions with streaming, tool calling, and JSON mode. Keep your SDK — just point the base URL at us.

🧠

Every model, one key

Switch between Claude, GPT-class, Gemini, Llama, Mistral, DeepSeek and hundreds more by changing a single model string.

💳

Pay by card or crypto

Top up with a card via Stripe, or pay in BTC, ETH, or USDT. No subscriptions, no seats, no minimums — credit never expires.

Get started

From zero to first call in 3 steps

Create your account

Sign up with an email and password. You'll get an mdb_live_ API key instantly.

Add some credit

Top up your balance from the dashboard. Credit works across every model — no per-provider setup.

Point & call

Set base URL to modeldatabase.com/v1, pass your key as a Bearer token, and send requests.

Create your free account →
Pricing

Simple, usage-based credit

Prepay a credit pack, then pay only for the tokens you actually use. Credit never expires.

Starter
$10 credit

Perfect for prototyping and testing.

  • Access to every model
  • OpenAI-compatible API & streaming
  • Unlimited API keys — rotate & revoke
  • Usage dashboard & history
  • Per-request cost & balance headers
Get started
Scale
$200 credit

For high-volume workloads.

  • Everything in Most popular
  • Best-value top-up
  • Volume invoicing on request
  • Priority email support
Get started

All packs draw down per request at published, per-model token rates. See every model’s price →

View full pricing
FAQ

Questions, answered

Is it really compatible with the OpenAI SDK?

Yes. The endpoint mirrors /v1/chat/completions, including streaming. In most codebases you only change the base URL to https://modeldatabase.com/v1 and use your Model Database API key.

Which models can I use?

Hundreds — spanning Claude, GPT-class models, Gemini, Llama, Mistral, DeepSeek, Qwen and more. You pick a model by passing its identifier in the model field. Call GET /v1/models with your key to list everything available.

How does billing work?

You prepay a credit pack ($10, $50, or $200) from your dashboard — with a card via Stripe, or in crypto (BTC, ETH, or USDT). Each request draws down your balance based on the tokens used, and every response includes headers showing the cost of the call and your remaining balance.

How fast can I get started?

Seconds. Create an account, copy your mdb_live_ key, add credit, and make your first call. No sales calls, no waitlist.

How is this different from other API gateways?

Three things most aggregators won't give you straight: we publish every model's price (sortable, margin included — no guessing your markup), your spend is capped by prepaid credit plus a per-request safety limit, and we never store the content of your prompts or responses. Same one-line migration, fewer unknowns.

Can I manage and revoke keys?

Yes. Create as many keys as you like, label them, and revoke any of them instantly from your dashboard if one is compromised or no longer needed.

Start building today

Join developers shipping faster with one API for every model.

Get your API key →