What is an LLM gateway (and which to use)?

An LLM gateway is a single, unified API that sits in front of many model providers so you use one key and one base URL for all of them, with routing, failover and billing handled for you. UberLLM is an OpenAI-compatible LLM gateway: it routes every request to the cheapest healthy seller for that model and bills the price shown, with UberLLM's 10% fee already included.

base_url = "https://api.uberllm.dev/v1"

Live pricing

ModelInput / 1MOutput / 1M
JEV 1.13 (TypeSafe)$0.0005$0.0000
Qwen: Qwen3.8 Omni Flash$0.0002$0.0005
Gemma 3 4B IT$0.0005$0.0007
GPT-OSS 20B$0.0002$0.0009
DeepSeek V4.1 Flash$0.0002$0.0009
Ministral 3B$0.0011$0.0011
MiniMax M2.1$0.0004$0.0016
Gemma 4 26B A4B IT$0.0005$0.0016
Gemma 3 12B IT$0.0005$0.0016
DeepSeek V4 Flash 0731$0.0010$0.0020
GLM 4.7 Flash$0.0003$0.0022
Gemma 3 27B$0.0009$0.0022

Live prices via UberLLM · full pricing table →

FAQ

Why use an LLM gateway?

It removes per-provider contracts and keys, retries automatically when a call fails, and lets you switch or compare models with one line of code.

Which LLM gateway is cheapest?

UberLLM routes each request to the cheapest healthy seller on a live marketplace. Prices shown include UberLLM's 10% fee, so the price you see is the price you pay.