LLM API Providers Directory: 100+ OpenRouter Alternatives, Free LLM API Keys and AI Gateways

OpenRouter made "one API key, every model" normal. Now there are dozens of services doing the same job, some cheaper, some free, some open source, some built for enterprise guardrails, and a few built for Janitor AI and SillyTavern users.
This page puts 104 LLM API providers that can stand in for OpenRouter into one table: hosted routers, AI gateways, open-source proxies, fast multi-model inference APIs, free LLM API keys, cloud model platforms and local OpenAI-compatible servers. It covers providers and gateways, not the model labs themselves.
Last updated: 4 December 2026. Fees and free tiers change often, so confirm on the provider's page before you commit.
Building agents, not just calling models? The model API is the brain, but your agent also needs somewhere safe to run code. We ranked 130+ options for that in our AI Agent Sandbox Directory.
How to read the table
- Type: Hosted router = OpenRouter-style, one key and one bill. Platform gateway = built into a cloud you may already use. Open-source gateway = you run it with your own provider keys. Enterprise gateway = guardrails, logs and budgets first. Smart router = picks the model for you. Multi-model inference = runs open models on its own GPUs. Free API = free keys or keyless access. Roleplay-friendly API = popular with Janitor AI and SillyTavern. Local server = an OpenAI-style API on your own machine.
- Pricing / fee: what you pay on top of model tokens, or how billing works.
- OpenAI-compatible: ✅ = change the
base_urland keep the OpenAI SDK. Partial = some endpoints, or its own SDK. - – = not published, or needs a sign-in to see.
The LLM API provider directory (104 providers)
| # | Provider | Type | Best for | Pricing / fee | Free tier | OpenAI-compatible | Open source |
|---|---|---|---|---|---|---|---|
| 1 | OpenRouter | Hosted router | The original one-key, one-bill marketplace for hundreds of models | List price + 5.5% on credit purchases; BYOK free to $25k/mo then 5% | 25+ free models, 50 req/day (1,000/day after $10 top-up) | ✅ | – |
| 2 | Vercel AI Gateway | Platform gateway | Apps on Vercel and the AI SDK; budgets and fallbacks | No markup, no platform fee; BYOK 0% | Monthly free credit on some models | ✅ | – |
| 3 | Requesty | Hosted router | OpenRouter-style router with spend controls, EU region | List price + 5% (BYOK too) | 200 req/day on free models | ✅ | – |
| 4 | LLM Gateway | Hosted router | Open-source router you can use hosted or self-host | 5% on credit purchases; 0% with BYOK | Free plan, 20 RPM on free models | ✅ | ✅ |
| 5 | Opper | Hosted router | EU-hosted gateway (Stockholm) for GDPR-sensitive apps | List price + 3% on credits | Free models, no card | ✅ | – |
| 6 | NanoGPT | Hosted router | Biggest catalog: ~1,000 text, image, video and voice models | List price, no markup; optional $12/mo plan | Basic API use without an account | ✅ | – |
| 7 | Cortecs | Hosted router | EU router that picks GDPR-compliant providers per request | Per token | – | ✅ | – |
| 8 | LLMAPI | Hosted router | 313 models from 23 labs with team analytics and budgets | Pay as you go; claims up to 30% below list | – | ✅ | – |
| 9 | Rapid Router | Hosted router | 800+ models; pay in USD or INR via UPI with GST invoice | List price + 5% on credit purchase | Daily free requests on eligible models | ✅ | – |
| 10 | ZenMux | Hosted router | Enterprise gateway with automatic compensation for bad outputs | – | – | ✅ | – |
| 11 | AIHubMix | Hosted router | LLM plus image, video and embedding models on one key | – | – | ✅ | – |
| 12 | Eden AI | Hosted router | Multimodal APIs: LLMs plus OCR, speech, translation | – | Free credits | Partial | – |
| 13 | AI/ML API | Hosted router | Hundreds of text, image, video and voice models | – | – | ✅ | – |
| 14 | CometAPI | Hosted router | Discounted access to major chat and media models | – | – | ✅ | – |
| 15 | Glama | Hosted router | Gateway plus MCP server directory and chat UI | – | – | ✅ | – |
| 16 | Kilo Gateway | Hosted router | Gateway behind the Kilo Code agent; one key for coding models | – | – | ✅ | – |
| 17 | Crazyrouter | Hosted router | 300+ models through one key | – | – | ✅ | – |
| 18 | EvoLink | Hosted router | Budget-focused text and media model gateway | – | – | ✅ | – |
| 19 | FastRouter | Hosted router | LLM, image and audio models on one endpoint | – | – | ✅ | – |
| 20 | TokenMix | Hosted router | 150+ models incl. Qwen, Kimi, GLM, MiniMax | Says zero platform fee | – | ✅ | – |
| 21 | OfoxAI | Hosted router | 100+ models through one OpenAI-compatible endpoint | – | – | ✅ | – |
| 22 | FuturMix | Hosted router | OpenAI-compatible multi-model relay | Top-ups from $10 | – | ✅ | – |
| 23 | Yotta AI Gateway | Hosted router | 50+ LLM, image and video models from 15+ providers | Per-model prices | – | ✅ | – |
| 24 | Poe API | Hosted router | Call any Poe bot or model with your Poe subscription points | Uses Poe points | With Poe plan | ✅ | – |
| 25 | DigitalOcean Inference Router | Cloud router | 70+ open models plus OpenAI and Anthropic on DO | No router fee; per-token, batch discounts | – | ✅ | – |
| 26 | Cloudflare AI Gateway | Platform gateway | Caching, analytics, rate limits at the edge | Core free; 5% on Unified Billing credits | Core features free on all plans | ✅ | – |
| 27 | ngrok AI Gateway | Platform gateway | Routing and policy at ngrok's edge | – | – | ✅ | – |
| 28 | Kong AI Gateway | Enterprise gateway | AI plugins for teams already on Kong API management | Enterprise | OSS core | ✅ | ✅ |
| 29 | Tyk AI Studio | Enterprise gateway | AI proxy, budgets and MCP on Tyk | Enterprise | OSS core | ✅ | ✅ |
| 30 | Apache APISIX AI | Open-source gateway | AI plugins: proxy, load-balance, token rate limits | Free | Free | ✅ | ✅ |
| 31 | Envoy AI Gateway | Open-source gateway | Kubernetes-native AI traffic on Envoy | Free | Free | ✅ | ✅ |
| 32 | APIPark | Open-source gateway | AI gateway plus developer portal | Free self-host | Free | ✅ | ✅ |
| 33 | LiteLLM | Open-source gateway | Most popular self-hosted proxy: 100+ providers, budgets, virtual keys | Free (MIT); Enterprise custom | Free | ✅ | ✅ |
| 34 | Bifrost | Open-source gateway | Go gateway built for low overhead at high RPS | Free (Apache 2.0) | Free | ✅ | ✅ |
| 35 | OmniRoute | Open-source gateway | Local router across 395 providers, auto-fallback across 140+ free tiers | Free (MIT); cloud plan extra | Free | ✅ | ✅ |
| 36 | One API | Open-source gateway | Popular self-hosted key manager and relay for many LLM APIs | Free | Free | ✅ | ✅ |
| 37 | New API | Open-source gateway | Self-hosted gateway with billing and channels, built on One API | Free | Free | ✅ | ✅ |
| 38 | Plano (ex-Arch Gateway) | Open-source gateway | AI-native proxy and data plane for agents | Free | Free | ✅ | ✅ |
| 39 | Higress | Open-source gateway | Alibaba's open-source AI-native API gateway | Free | Free | ✅ | ✅ |
| 40 | agentgateway | Open-source gateway | Linux Foundation gateway for LLM, MCP and A2A traffic | Free | Free | ✅ | ✅ |
| 41 | LangDB | Enterprise gateway | AI gateway with tracing and cost controls | – | Free tier | ✅ | – |
| 42 | Gloo AI Gateway | Enterprise gateway | Kubernetes AI gateway from Solo.io | Enterprise | – | ✅ | – |
| 43 | Azure API Management AI Gateway | Enterprise gateway | Token limits, load balancing and logging for Azure OpenAI and more | Azure APIM pricing | – | ✅ | – |
| 44 | Portkey (Prisma AIRS) | Enterprise gateway | Guardrails, prompt management, observability | Production $49/mo | 10,000 logs/mo | ✅ | ✅ |
| 45 | Helicone AI Gateway | Enterprise gateway | Observability-first gateway, Rust-based | 0% markup; Pro $79/mo | 10,000 req/mo | ✅ | ✅ |
| 46 | TrueFoundry AI Gateway | Enterprise gateway | Governance across models, MCP tools and agents | From $499/mo | Free developer tier | ✅ | – |
| 47 | MLflow AI Gateway | Open-source gateway | Gateway inside the MLflow ecosystem | Free | Free | ✅ | ✅ |
| 48 | RouteLLM | Smart router | Open-source router that sends easy prompts to cheaper models | Free | Free | ✅ | ✅ |
| 49 | Martian | Smart router | Model router that picks the best model per prompt | – | – | ✅ | – |
| 50 | Not Diamond | Smart router | Predicts the best model for each query | – | Free tier | ✅ | – |
| 51 | Unify | Smart router | Routing plus evals across providers | – | – | ✅ | – |
| 52 | Keywords AI | Enterprise gateway | Gateway with logging, evals and prompt management | – | Free tier | ✅ | – |
| 53 | Orq.ai | Enterprise gateway | GenAI ops platform with a model gateway | – | – | ✅ | – |
| 54 | Puter.js | Free API | Frontend AI calls where your users pay, not you | Free for developers | No API key needed | Partial | ✅ |
| 55 | Pollinations | Free API | Free text and image generation endpoints | Free; paid tiers | No signup for basic use | ✅ | ✅ |
| 56 | FreeLLMAPI | Open-source gateway | Self-hosted router that pools free tiers (Google, Groq, Cerebras, OpenRouter, HF) | Free | Free tiers only | ✅ | ✅ |
| 57 | GitHub Models | Free API | Try GPT, Llama, Phi and more with a GitHub account | Free; paid usage | 15 RPM, 150–1,000 req/day | ✅ | – |
| 58 | NVIDIA NIM | Free API | Hosted NIM endpoints for Nemotron, Llama and more | Free trial | ~1,000 req/day | ✅ | – |
| 59 | Hugging Face Inference Providers | Multi-model inference | One HF token routes to many inference providers | Provider rates | Monthly free credits | ✅ | – |
| 60 | Cloudflare Workers AI | Multi-model inference | Open models on Cloudflare's GPUs | Per neuron | ~10K neurons/day | Partial | – |
| 61 | Groq | Multi-model inference | Fastest tokens/sec on LPUs | GPT-OSS 120B $0.15 / $0.60 per 1M | Free plan, 30 RPM | ✅ | – |
| 62 | Cerebras | Multi-model inference | Wafer-scale speed for open models | Per token | ~1M tokens/day, 30 RPM | ✅ | – |
| 63 | SambaNova Cloud | Multi-model inference | Fast large open models (Llama, DeepSeek) | Per token | $5 trial credit | ✅ | – |
| 64 | Together AI | Multi-model inference | Big open-model catalog, fine-tuning, GPU clusters | ~$0.03–$4.50 per 1M tokens | Experimentation credits | ✅ | – |
| 65 | Fireworks AI | Multi-model inference | Low-latency open models, zero retention | Per token | $1 credit | ✅ | – |
| 66 | DeepInfra | Multi-model inference | Cheap open models, zero retention | Per token | None | ✅ | – |
| 67 | Baseten Model APIs | Multi-model inference | Production open models plus dedicated deploys | GPT-OSS 120B $0.10 / $0.50 per 1M | Trial credits | ✅ | – |
| 68 | Nebius Token Factory | Multi-model inference | Open models with fast and base speed tiers | Per token | $1 credit | ✅ | – |
| 69 | Novita AI | Multi-model inference | Cheap open LLMs plus GPU cloud | Per token | – | ✅ | – |
| 70 | Hyperbolic | Multi-model inference | Low-cost open models and GPUs | Per token | – | ✅ | – |
| 71 | SiliconFlow | Multi-model inference | Open models (Qwen, DeepSeek, GLM), strong in Asia | Per token | Free models | ✅ | – |
| 72 | Chutes | Multi-model inference | Decentralized open-model hosting, popular for roleplay | Per token or subscription | Community tier | ✅ | – |
| 73 | Parasail | Multi-model inference | Open-model inference on pooled GPUs | Per token | – | ✅ | – |
| 74 | Inference.net | Multi-model inference | Serverless open models and batch | Per token | – | ✅ | – |
| 75 | Nscale | Multi-model inference | European serverless open-model inference | Per token | – | ✅ | – |
| 76 | Scaleway Generative APIs | Multi-model inference | EU-hosted open models | Per token | Free token allowance | ✅ | – |
| 77 | OVHcloud AI Endpoints | Multi-model inference | EU-hosted open models | Per token | – | ✅ | – |
| 78 | Atlas Cloud | Multi-model inference | LLM, image and video models on one API | Per token | – | ✅ | – |
| 79 | GMI Cloud | Multi-model inference | GPU cloud with serverless model APIs | Per token | – | ✅ | – |
| 80 | Friendli | Multi-model inference | Fast serverless and dedicated endpoints | Per token | – | ✅ | – |
| 81 | Weights & Biases Inference | Multi-model inference | Open models served next to W&B tracing | Per token | Free credits | ✅ | – |
| 82 | Targon | Multi-model inference | Decentralized (Bittensor) open-model inference | Per token | – | ✅ | – |
| 83 | Avian | Multi-model inference | Fast hosted open models | Per token | – | ✅ | – |
| 84 | Replicate | Multi-model inference | Run thousands of community models via API | Per second of GPU or per output | – | Partial | – |
| 85 | fal | Media model API | Fast image, video and audio generation models | Per output | – | Partial | – |
| 86 | WaveSpeed | Media model API | Fast image and video generation | Per output | – | Partial | – |
| 87 | 302.AI | Hosted router | Pay-as-you-go access to many chat and media models | Per use | – | ✅ | – |
| 88 | Amazon Bedrock | Cloud model platform | Claude, Llama, Mistral, Nova and more inside AWS | Per token | AWS credits | Partial | – |
| 89 | Google Vertex AI Model Garden | Cloud model platform | Gemini plus Claude, Llama and open models on GCP | Per token | GCP credits | Partial | – |
| 90 | Azure AI Foundry | Cloud model platform | OpenAI, Llama, Mistral, DeepSeek and more on Azure | Per token | Azure credits | ✅ | – |
| 91 | IBM watsonx.ai | Cloud model platform | Granite plus third-party models for enterprises | Per token | Trial | Partial | – |
| 92 | Oracle OCI Generative AI | Cloud model platform | Cohere, Llama, Grok and more on OCI | Per token | OCI credits | Partial | – |
| 93 | Alibaba Cloud Model Studio | Cloud model platform | Qwen plus third-party models | Per token | Free quota for new users | ✅ | – |
| 94 | Featherless | Roleplay-friendly API | Thousands of open fine-tunes, flat monthly price | Flat subscription | – | ✅ | – |
| 95 | ArliAI | Roleplay-friendly API | Unlimited-generation plans for open models | Flat subscription | Free tier | ✅ | – |
| 96 | Infermatic | Roleplay-friendly API | Subscription access to RP-tuned open models | Flat subscription | – | ✅ | – |
| 97 | Mancer | Roleplay-friendly API | Uncensored model hosting for chat frontends | Per token | – | ✅ | – |
| 98 | Venice | Roleplay-friendly API | Private, uncensored open models with an OpenAI-style API | Per token or Pro plan | Free tier | ✅ | – |
| 99 | AI Horde | Free API | Crowdsourced, volunteer-run text and image generation | Free (kudos system) | Free | Partial | ✅ |
| 100 | Ollama | Local server | Run open models locally behind an OpenAI-style API | Free | Free | ✅ | ✅ |
| 101 | LM Studio | Local server | Desktop app with a local OpenAI-compatible server | Free | Free | ✅ | – |
| 102 | LocalAI | Local server | Drop-in OpenAI replacement for self-hosted models | Free | Free | ✅ | ✅ |
| 103 | vLLM | Local server | High-throughput serving engine with OpenAI API | Free | Free | ✅ | ✅ |
| 104 | Jan | Local server | Offline desktop assistant with a local API server | Free | Free | ✅ | ✅ |
Best LLM API provider by what you searched for
| If you want… | Start with | Why |
|---|---|---|
| OpenRouter alternative with no markup | Vercel AI Gateway, NanoGPT | Both charge provider list price with no platform fee |
| Cheapest OpenRouter alternative (managed) | Opper (3%), LLM Gateway (0% with BYOK) | Lower fee than OpenRouter's 5.5% on credits |
| Cheapest overall | LiteLLM, Bifrost, OmniRoute | Free to self-host; you pay providers directly |
| Cheapest open-model tokens | DeepInfra, Baseten, Groq | GPT-OSS 120B from $0.10 / $0.50 per 1M tokens |
| Fastest LLM API provider | Groq, Cerebras, SambaNova | Custom chips built for tokens per second |
| Best free LLM API provider | OpenRouter free models, Groq, Cerebras, GitHub Models | Free keys with real daily limits |
| Open-source LLM API router | LiteLLM, LLM Gateway, OmniRoute, One API | Self-host, no fee, your own keys |
| OpenRouter alternatives for Janitor AI / SillyTavern | NanoGPT, Chutes, Featherless, ArliAI, Venice | Open fine-tunes, flat plans, OpenAI-style endpoints |
| EU / GDPR data residency | Opper, Cortecs, Requesty (EU region), Scaleway | EU-hosted routing or inference |
| Enterprise guardrails and logs | Portkey, Helicone, TrueFoundry, Kong | Budgets, audit logs, policies |
| Pay in INR with UPI | Rapid Router | Rupee top-ups with a GST invoice |
Why does the gateway fee matter so much? 5% sounds small until your model bill is $2,000 a month. We break down every line of an AI product's running cost, tokens included, in How to Estimate What Your SaaS Will Cost to Run.
Free LLM API keys: where to get one
| Provider | What's free | Limits | OpenAI-compatible |
|---|---|---|---|
| OpenRouter | 25+ free models (IDs ending in :free) | 20 RPM; 50 req/day, 1,000/day after a $10 top-up | ✅ |
| Google AI Studio | Gemini and Gemma models | 5–15 RPM; 20–1,500 req/day by model | Partial |
| Groq | Llama, GPT-OSS and more | 30 RPM; daily caps by model | ✅ |
| Cerebras | Llama and other open models | 30 RPM; ~1M tokens/day | ✅ |
| Mistral | Codestral, Mistral Small/Large (Experiment tier) | ~1B tokens/month | ✅ |
| GitHub Models | GPT, Llama, Phi and more | 15 RPM; 150–1,000 req/day | ✅ |
| Cloudflare Workers AI | 20+ open models | ~10K neurons/day | Partial |
| NVIDIA NIM | Nemotron, Llama variants | ~1,000 req/day | Partial |
| Cohere | Command models (trial key) | ~100 req/day, non-commercial | Partial |
| Hugging Face | Monthly credits across many providers | Community rate limits | Partial |
| Chutes | Open models on a community tier | Variable | ✅ |
| SambaNova | Large Llama and DeepSeek models | $5 trial credit | ✅ |
| Pollinations / AI Horde | Keyless text and image generation | Shared, slower | Partial |
About "ChatGPT API key free" searches: OpenAI doesn't give out a free API key. The closest you'll get is GPT models through GitHub Models on a free account, or OpenAI's open-weight GPT-OSS models on the free tiers of Groq, Cerebras or OpenRouter. Free-key lists on GitHub that share someone else's key are leaked keys. Don't use them.
Gateway fees compared
| Gateway | Fee on top of tokens | Bring your own key | Self-host |
|---|---|---|---|
| OpenRouter | 5.5% on credit purchases | Free to $25k/mo, then 5% | ❌ |
| Requesty | 5% | 5% still applies | ❌ |
| Rapid Router | 5% on credit purchase | – | ❌ |
| LLM Gateway | 5% on credits | 0% | ✅ |
| Cloudflare AI Gateway | 5% on Unified Billing credits; core free | ✅ | ❌ |
| Opper | 3% on credits | – | ❌ |
| Vercel AI Gateway | 0% | 0% | ❌ |
| NanoGPT | 0% (optional $12/mo plan) | – | ❌ |
| Helicone | 0% markup; plans from $79/mo | ✅ | ✅ |
| Portkey | Plans from $49/mo | ✅ | ✅ |
| LiteLLM / Bifrost / OmniRoute | None | Your keys | ✅ |
Switching away from OpenRouter takes two lines
Almost every row above with ✅ speaks the OpenAI API format, so moving is a base URL and key change:
from openai import OpenAI
client = OpenAI(
base_url="https://router.requesty.ai/v1", # or https://ai-gateway.vercel.sh/v1, http://localhost:4000 (LiteLLM), ...
api_key="YOUR_GATEWAY_KEY",
)
resp = client.chat.completions.create(
model="openai/gpt-oss-120b", # check each gateway's model naming
messages=[{"role": "user", "content": "Hello"}],
)Model IDs differ between gateways (provider/model on most routers, plain model names on inference providers), so map them once in config.
Which agent framework will be sending these requests? Most agent SDKs let you point at any OpenAI-compatible base URL, which makes every row here a drop-in swap. We built the same agent four ways in Python AI Agent SDKs: OpenAI Agents SDK vs Pydantic-AI vs smolagents vs Strands.
FAQ
What is an LLM API provider? A service that gives you API access to large language models. Some host models themselves (Groq, Together AI, DeepInfra). Others route your request to many providers through one key (OpenRouter, Requesty, Vercel AI Gateway).
What are the best OpenRouter alternatives? Vercel AI Gateway (no markup), Requesty (OpenRouter-style with spend controls), LLM Gateway (open source, 0% with your own keys), NanoGPT (largest catalog), LiteLLM (self-hosted) and Portkey or Helicone for enterprise logging and guardrails.
Are there OpenRouter alternatives with free models? Yes. Requesty and LLM Gateway have free-model tiers, and Opper offers free models with no card. GitHub Models, Groq, Cerebras and Google AI Studio give free API keys directly. OmniRoute and FreeLLMAPI pool many free tiers behind one local endpoint.
What is the cheapest LLM API provider? For routing, a self-hosted gateway (LiteLLM, Bifrost, OmniRoute) costs nothing on top of tokens. Among hosted gateways, Vercel AI Gateway and NanoGPT add no markup. For open-model tokens, DeepInfra, Baseten and Groq are among the lowest per million tokens.
What is the fastest LLM API provider? Groq, Cerebras and SambaNova run models on custom chips and lead on tokens per second for open models.
Where can I get a free LLM API key? OpenRouter (free models), Google AI Studio, Groq, Cerebras, Mistral's Experiment tier, GitHub Models, Cloudflare Workers AI and NVIDIA NIM all issue free keys with daily or monthly limits.
What is the best open-source LLM API provider or router? LiteLLM is the most widely used open-source proxy. Bifrost targets high throughput, LLM Gateway can be self-hosted or used hosted, and One API / New API are popular self-hosted relays. To serve open models yourself, use vLLM, Ollama or LocalAI.
What are good OpenRouter alternatives for Janitor AI and SillyTavern? NanoGPT, Chutes, Featherless, ArliAI, Infermatic, Venice and Mancer are commonly used with chat frontends. All offer OpenAI-style endpoints you can paste into the API settings.
Do OpenRouter alternatives use the same API format? Most do. Change the base URL and API key, then check how each one names its models.
Running an AI product on a tight budget? We run ihatereading.in for under $100 a month at 10k visitors. The same habits (cache hard, avoid paying twice for idle compute) apply to LLM bills. Read How We're Keeping ihatereading.in Under $100/Month.
Missing a provider, or has a fee changed? This directory is updated as new gateways launch. Send corrections via ihatereading.in.
Sources
- OpenRouter, Free LLM APIs compared
- DataCamp, Best LLM API providers
- Morph, OpenRouter alternatives and competitors
- DigitalOcean, OpenRouter alternatives
- free-llm-api-resources on GitHub
- Provider pricing pages linked in each row, checked 4 December 2026