Home / Articles / Blog

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

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

104 LLM API providers in one table: OpenRouter alternatives, AI gateways, free LLM API keys, the cheapest and fastest inference APIs, open-source routers and Janitor AI / SillyTavern friendly providers, with fees and free tiers.

Shrey Vijayvargiya

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

LLM API providers directory: OpenRouter alternatives, AI gateways and free LLM APIs
LLM API providers directory: OpenRouter alternatives, AI gateways and free LLM APIs

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_url and 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)

#ProviderTypeBest forPricing / feeFree tierOpenAI-compatibleOpen source
1OpenRouterHosted routerThe original one-key, one-bill marketplace for hundreds of modelsList 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)✅–
2Vercel AI GatewayPlatform gatewayApps on Vercel and the AI SDK; budgets and fallbacksNo markup, no platform fee; BYOK 0%Monthly free credit on some models✅–
3RequestyHosted routerOpenRouter-style router with spend controls, EU regionList price + 5% (BYOK too)200 req/day on free models✅–
4LLM GatewayHosted routerOpen-source router you can use hosted or self-host5% on credit purchases; 0% with BYOKFree plan, 20 RPM on free models✅✅
5OpperHosted routerEU-hosted gateway (Stockholm) for GDPR-sensitive appsList price + 3% on creditsFree models, no card✅–
6NanoGPTHosted routerBiggest catalog: ~1,000 text, image, video and voice modelsList price, no markup; optional $12/mo planBasic API use without an account✅–
7CortecsHosted routerEU router that picks GDPR-compliant providers per requestPer token–✅–
8LLMAPIHosted router313 models from 23 labs with team analytics and budgetsPay as you go; claims up to 30% below list–✅–
9Rapid RouterHosted router800+ models; pay in USD or INR via UPI with GST invoiceList price + 5% on credit purchaseDaily free requests on eligible models✅–
10ZenMuxHosted routerEnterprise gateway with automatic compensation for bad outputs––✅–
11AIHubMixHosted routerLLM plus image, video and embedding models on one key––✅–
12Eden AIHosted routerMultimodal APIs: LLMs plus OCR, speech, translation–Free creditsPartial–
13AI/ML APIHosted routerHundreds of text, image, video and voice models––✅–
14CometAPIHosted routerDiscounted access to major chat and media models––✅–
15GlamaHosted routerGateway plus MCP server directory and chat UI––✅–
16Kilo GatewayHosted routerGateway behind the Kilo Code agent; one key for coding models––✅–
17CrazyrouterHosted router300+ models through one key––✅–
18EvoLinkHosted routerBudget-focused text and media model gateway––✅–
19FastRouterHosted routerLLM, image and audio models on one endpoint––✅–
20TokenMixHosted router150+ models incl. Qwen, Kimi, GLM, MiniMaxSays zero platform fee–✅–
21OfoxAIHosted router100+ models through one OpenAI-compatible endpoint––✅–
22FuturMixHosted routerOpenAI-compatible multi-model relayTop-ups from $10–✅–
23Yotta AI GatewayHosted router50+ LLM, image and video models from 15+ providersPer-model prices–✅–
24Poe APIHosted routerCall any Poe bot or model with your Poe subscription pointsUses Poe pointsWith Poe plan✅–
25DigitalOcean Inference RouterCloud router70+ open models plus OpenAI and Anthropic on DONo router fee; per-token, batch discounts–✅–
26Cloudflare AI GatewayPlatform gatewayCaching, analytics, rate limits at the edgeCore free; 5% on Unified Billing creditsCore features free on all plans✅–
27ngrok AI GatewayPlatform gatewayRouting and policy at ngrok's edge––✅–
28Kong AI GatewayEnterprise gatewayAI plugins for teams already on Kong API managementEnterpriseOSS core✅✅
29Tyk AI StudioEnterprise gatewayAI proxy, budgets and MCP on TykEnterpriseOSS core✅✅
30Apache APISIX AIOpen-source gatewayAI plugins: proxy, load-balance, token rate limitsFreeFree✅✅
31Envoy AI GatewayOpen-source gatewayKubernetes-native AI traffic on EnvoyFreeFree✅✅
32APIParkOpen-source gatewayAI gateway plus developer portalFree self-hostFree✅✅
33LiteLLMOpen-source gatewayMost popular self-hosted proxy: 100+ providers, budgets, virtual keysFree (MIT); Enterprise customFree✅✅
34BifrostOpen-source gatewayGo gateway built for low overhead at high RPSFree (Apache 2.0)Free✅✅
35OmniRouteOpen-source gatewayLocal router across 395 providers, auto-fallback across 140+ free tiersFree (MIT); cloud plan extraFree✅✅
36One APIOpen-source gatewayPopular self-hosted key manager and relay for many LLM APIsFreeFree✅✅
37New APIOpen-source gatewaySelf-hosted gateway with billing and channels, built on One APIFreeFree✅✅
38Plano (ex-Arch Gateway)Open-source gatewayAI-native proxy and data plane for agentsFreeFree✅✅
39HigressOpen-source gatewayAlibaba's open-source AI-native API gatewayFreeFree✅✅
40agentgatewayOpen-source gatewayLinux Foundation gateway for LLM, MCP and A2A trafficFreeFree✅✅
41LangDBEnterprise gatewayAI gateway with tracing and cost controls–Free tier✅–
42Gloo AI GatewayEnterprise gatewayKubernetes AI gateway from Solo.ioEnterprise–✅–
43Azure API Management AI GatewayEnterprise gatewayToken limits, load balancing and logging for Azure OpenAI and moreAzure APIM pricing–✅–
44Portkey (Prisma AIRS)Enterprise gatewayGuardrails, prompt management, observabilityProduction $49/mo10,000 logs/mo✅✅
45Helicone AI GatewayEnterprise gatewayObservability-first gateway, Rust-based0% markup; Pro $79/mo10,000 req/mo✅✅
46TrueFoundry AI GatewayEnterprise gatewayGovernance across models, MCP tools and agentsFrom $499/moFree developer tier✅–
47MLflow AI GatewayOpen-source gatewayGateway inside the MLflow ecosystemFreeFree✅✅
48RouteLLMSmart routerOpen-source router that sends easy prompts to cheaper modelsFreeFree✅✅
49MartianSmart routerModel router that picks the best model per prompt––✅–
50Not DiamondSmart routerPredicts the best model for each query–Free tier✅–
51UnifySmart routerRouting plus evals across providers––✅–
52Keywords AIEnterprise gatewayGateway with logging, evals and prompt management–Free tier✅–
53Orq.aiEnterprise gatewayGenAI ops platform with a model gateway––✅–
54Puter.jsFree APIFrontend AI calls where your users pay, not youFree for developersNo API key neededPartial✅
55PollinationsFree APIFree text and image generation endpointsFree; paid tiersNo signup for basic use✅✅
56FreeLLMAPIOpen-source gatewaySelf-hosted router that pools free tiers (Google, Groq, Cerebras, OpenRouter, HF)FreeFree tiers only✅✅
57GitHub ModelsFree APITry GPT, Llama, Phi and more with a GitHub accountFree; paid usage15 RPM, 150–1,000 req/day✅–
58NVIDIA NIMFree APIHosted NIM endpoints for Nemotron, Llama and moreFree trial~1,000 req/day✅–
59Hugging Face Inference ProvidersMulti-model inferenceOne HF token routes to many inference providersProvider ratesMonthly free credits✅–
60Cloudflare Workers AIMulti-model inferenceOpen models on Cloudflare's GPUsPer neuron~10K neurons/dayPartial–
61GroqMulti-model inferenceFastest tokens/sec on LPUsGPT-OSS 120B $0.15 / $0.60 per 1MFree plan, 30 RPM✅–
62CerebrasMulti-model inferenceWafer-scale speed for open modelsPer token~1M tokens/day, 30 RPM✅–
63SambaNova CloudMulti-model inferenceFast large open models (Llama, DeepSeek)Per token$5 trial credit✅–
64Together AIMulti-model inferenceBig open-model catalog, fine-tuning, GPU clusters~$0.03–$4.50 per 1M tokensExperimentation credits✅–
65Fireworks AIMulti-model inferenceLow-latency open models, zero retentionPer token$1 credit✅–
66DeepInfraMulti-model inferenceCheap open models, zero retentionPer tokenNone✅–
67Baseten Model APIsMulti-model inferenceProduction open models plus dedicated deploysGPT-OSS 120B $0.10 / $0.50 per 1MTrial credits✅–
68Nebius Token FactoryMulti-model inferenceOpen models with fast and base speed tiersPer token$1 credit✅–
69Novita AIMulti-model inferenceCheap open LLMs plus GPU cloudPer token–✅–
70HyperbolicMulti-model inferenceLow-cost open models and GPUsPer token–✅–
71SiliconFlowMulti-model inferenceOpen models (Qwen, DeepSeek, GLM), strong in AsiaPer tokenFree models✅–
72ChutesMulti-model inferenceDecentralized open-model hosting, popular for roleplayPer token or subscriptionCommunity tier✅–
73ParasailMulti-model inferenceOpen-model inference on pooled GPUsPer token–✅–
74Inference.netMulti-model inferenceServerless open models and batchPer token–✅–
75NscaleMulti-model inferenceEuropean serverless open-model inferencePer token–✅–
76Scaleway Generative APIsMulti-model inferenceEU-hosted open modelsPer tokenFree token allowance✅–
77OVHcloud AI EndpointsMulti-model inferenceEU-hosted open modelsPer token–✅–
78Atlas CloudMulti-model inferenceLLM, image and video models on one APIPer token–✅–
79GMI CloudMulti-model inferenceGPU cloud with serverless model APIsPer token–✅–
80FriendliMulti-model inferenceFast serverless and dedicated endpointsPer token–✅–
81Weights & Biases InferenceMulti-model inferenceOpen models served next to W&B tracingPer tokenFree credits✅–
82TargonMulti-model inferenceDecentralized (Bittensor) open-model inferencePer token–✅–
83AvianMulti-model inferenceFast hosted open modelsPer token–✅–
84ReplicateMulti-model inferenceRun thousands of community models via APIPer second of GPU or per output–Partial–
85falMedia model APIFast image, video and audio generation modelsPer output–Partial–
86WaveSpeedMedia model APIFast image and video generationPer output–Partial–
87302.AIHosted routerPay-as-you-go access to many chat and media modelsPer use–✅–
88Amazon BedrockCloud model platformClaude, Llama, Mistral, Nova and more inside AWSPer tokenAWS creditsPartial–
89Google Vertex AI Model GardenCloud model platformGemini plus Claude, Llama and open models on GCPPer tokenGCP creditsPartial–
90Azure AI FoundryCloud model platformOpenAI, Llama, Mistral, DeepSeek and more on AzurePer tokenAzure credits✅–
91IBM watsonx.aiCloud model platformGranite plus third-party models for enterprisesPer tokenTrialPartial–
92Oracle OCI Generative AICloud model platformCohere, Llama, Grok and more on OCIPer tokenOCI creditsPartial–
93Alibaba Cloud Model StudioCloud model platformQwen plus third-party modelsPer tokenFree quota for new users✅–
94FeatherlessRoleplay-friendly APIThousands of open fine-tunes, flat monthly priceFlat subscription–✅–
95ArliAIRoleplay-friendly APIUnlimited-generation plans for open modelsFlat subscriptionFree tier✅–
96InfermaticRoleplay-friendly APISubscription access to RP-tuned open modelsFlat subscription–✅–
97MancerRoleplay-friendly APIUncensored model hosting for chat frontendsPer token–✅–
98VeniceRoleplay-friendly APIPrivate, uncensored open models with an OpenAI-style APIPer token or Pro planFree tier✅–
99AI HordeFree APICrowdsourced, volunteer-run text and image generationFree (kudos system)FreePartial✅
100OllamaLocal serverRun open models locally behind an OpenAI-style APIFreeFree✅✅
101LM StudioLocal serverDesktop app with a local OpenAI-compatible serverFreeFree✅–
102LocalAILocal serverDrop-in OpenAI replacement for self-hosted modelsFreeFree✅✅
103vLLMLocal serverHigh-throughput serving engine with OpenAI APIFreeFree✅✅
104JanLocal serverOffline desktop assistant with a local API serverFreeFree✅✅

Best LLM API provider by what you searched for

If you want…Start withWhy
OpenRouter alternative with no markupVercel AI Gateway, NanoGPTBoth 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 overallLiteLLM, Bifrost, OmniRouteFree to self-host; you pay providers directly
Cheapest open-model tokensDeepInfra, Baseten, GroqGPT-OSS 120B from $0.10 / $0.50 per 1M tokens
Fastest LLM API providerGroq, Cerebras, SambaNovaCustom chips built for tokens per second
Best free LLM API providerOpenRouter free models, Groq, Cerebras, GitHub ModelsFree keys with real daily limits
Open-source LLM API routerLiteLLM, LLM Gateway, OmniRoute, One APISelf-host, no fee, your own keys
OpenRouter alternatives for Janitor AI / SillyTavernNanoGPT, Chutes, Featherless, ArliAI, VeniceOpen fine-tunes, flat plans, OpenAI-style endpoints
EU / GDPR data residencyOpper, Cortecs, Requesty (EU region), ScalewayEU-hosted routing or inference
Enterprise guardrails and logsPortkey, Helicone, TrueFoundry, KongBudgets, audit logs, policies
Pay in INR with UPIRapid RouterRupee 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

ProviderWhat's freeLimitsOpenAI-compatible
OpenRouter25+ free models (IDs ending in :free)20 RPM; 50 req/day, 1,000/day after a $10 top-up✅
Google AI StudioGemini and Gemma models5–15 RPM; 20–1,500 req/day by modelPartial
GroqLlama, GPT-OSS and more30 RPM; daily caps by model✅
CerebrasLlama and other open models30 RPM; ~1M tokens/day✅
MistralCodestral, Mistral Small/Large (Experiment tier)~1B tokens/month✅
GitHub ModelsGPT, Llama, Phi and more15 RPM; 150–1,000 req/day✅
Cloudflare Workers AI20+ open models~10K neurons/dayPartial
NVIDIA NIMNemotron, Llama variants~1,000 req/dayPartial
CohereCommand models (trial key)~100 req/day, non-commercialPartial
Hugging FaceMonthly credits across many providersCommunity rate limitsPartial
ChutesOpen models on a community tierVariable✅
SambaNovaLarge Llama and DeepSeek models$5 trial credit✅
Pollinations / AI HordeKeyless text and image generationShared, slowerPartial

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

GatewayFee on top of tokensBring your own keySelf-host
OpenRouter5.5% on credit purchasesFree to $25k/mo, then 5%❌
Requesty5%5% still applies❌
Rapid Router5% on credit purchase–❌
LLM Gateway5% on credits0%✅
Cloudflare AI Gateway5% on Unified Billing credits; core free✅❌
Opper3% on credits–❌
Vercel AI Gateway0%0%❌
NanoGPT0% (optional $12/mo plan)–❌
Helicone0% markup; plans from $79/mo✅✅
PortkeyPlans from $49/mo✅✅
LiteLLM / Bifrost / OmniRouteNoneYour 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:

python
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

External Links (113)

Explore topics

More in

Weekly letter

Subscribe to iHateReading

Our once-a-week newsletter on programming, jobs, AI, and building products online.

Our once a week newsletter on Programming, Jobs, AI, and Business