What an LLM gateway does
An LLM gateway, also called a router, sits between your app and the companies that host language models. You send a request to one endpoint, and the gateway passes it to a chosen model at the upstream provider. The gateway gives you one API, one bill and often one place to switch models without rewriting code.
That convenience has a trade-off. Your traffic now passes through a third party. The LLM gateways and routers ranking lists several services, and the points below show what to compare. If you are still choosing between going direct and using a gateway, read the guide to choosing an LLM API first.
What decides value in a gateway
Five things matter. The first is model coverage: which model families the gateway can reach, and how quickly new ones appear. The second is API compatibility. An OpenAI-compatible API means your existing client code works after you change the base address. The third is key handling. Bring your own key, often shortened to BYOK, lets you use your own account at the upstream provider through the gateway.
The fourth is the billing model, including whether there is a free plan and whether the gateway adds its own fee on top of model usage. The fifth is who stands behind the service: the company, its location, its support channels and any compliance certifications it states.
How OpenRouter, WaveSpeedAI, Poe (Quora) and Martian differ
OpenRouter supports bring your own key and offers an OpenAI-compatible API. It bills by token usage and adds its own fee when you buy credit, and it has a free plan. It is based in the United States, was founded in 2023, and is run by OpenRouter, Inc. Its listing states a SOC 2 Type 2 certification. Support is by email, a help centre and a community.
WaveSpeedAI is based in Singapore and was founded in 2025. It is pay-per-use, has a free plan and an OpenAI-compatible API, and it does not support bring your own key. It lists model families such as GPT, Claude, Gemini, Qwen, DeepSeek, Llama, Grok and Mistral, and says it routes across a very large set of upstream providers. Support is by email and a community.
Poe (Quora) is billed in a different way. It has a free plan and a subscription that uses compute points per message, plus add-on points. It does not support bring your own key, though it lists an OpenAI-compatible API. It is based in the United States and run by Quora, Inc. Martian uses usage-based billing, is run by Martian Learning, Inc. In the United States, lists an OpenAI-compatible API and offers support by email.
Billing, keys and who pays the provider
Billing in this category comes in three shapes. A usage-based gateway charges for what you consume and may add its own fee when you buy credit. A subscription model sells a bundle of points or requests. A BYOK arrangement lets you pay the model provider yourself and use the gateway only for routing. Each shape changes how you forecast cost.
Ask where your keys are stored and how they are protected. Ask also what happens when you hit a limit at an upstream provider: does the gateway retry, fall back to another model, or return an error to your app?
Security and compliance
Check what the gateway does with your prompts. Ask whether it logs content, how long it keeps logs, and whether you can turn logging off. A certification is a useful signal, but only the ones a company states count, and you should read the scope. OpenRouter states SOC 2 Type 2 on its listing. For any other service, ask directly before you send sensitive data.
Look at the legal company and its country. OpenRouter, Inc., Quora, Inc. And Martian Learning, Inc. Are each named on their listings, which makes a data processing agreement easier to request.
What to check before you integrate
- Which models your product needs, and whether the gateway reaches them.
- Whether your client works after you change the base address.
- How keys work: your own, the gateway’s, or both.
- What the gateway does when an upstream provider fails.
- Which support channels exist when production breaks.
How to shortlist
List the models and the traffic shape you need. Pick two gateways with different billing models, such as a usage-based router and a subscription service. Run the same small test through each and compare the way each handles errors and limits. Then check the legal company, the support channels and any stated certification. Keep the one that fits your keys policy and your data rules.