N·00Choosing a relay
How to choose an AI API relay
What an API relay actually is, how it differs from going direct or buying a subscription, and what to look at before you trust one.
A relay is a service between you and the model vendors: you send your question to it, it passes it to OpenAI, Anthropic or Google and brings the answer back. Only two things change for you: the address in your tool becomes the relay's, and the key becomes the one the relay gives you. Everything else works as with the vendor directly.
People use one to skip three chores: opening an account, adding a card and topping up at every vendor; a direct connection that isn't reliable everywhere; and a separate setup in your tool for each vendor's models. A relay turns all that into one address and one key.
The cost deserves saying plainly: there's another service in the middle, and how reliable it is, how it charges and how it handles your data all affect you. So choosing one is worth a few minutes, and the points below can all be checked before you pay.
What to look at
- 01
Are models listed by full identifier?
A good relay lists each model's exact name, version included, not "the latest GPT". Your tool needs the model name character for character, so vague names mean guessing every time you switch. Better still if your tool can fetch the model list itself (the /v1/models endpoint, technically); that's what fills the model menus in Cherry Studio and Open WebUI.
- 02
Are the protocol differences spelled out?
Different tools want the address written differently: some with /v1 on the end, some stopping at .com. Good documentation spells it out tool by tool instead of handing you one address to experiment with. A wrong address is the most common reason a setup fails, and it usually shows up as a 404 or as the tool saying it can't read the response.
- 03
How are limits and failed calls counted?
How many requests you can send at once, how much you can use per day, and whether failed requests are charged: all three are better read in writing before paying than discovered once your usage grows, when switching is a hassle.
- 04
Can you configure it inside the tools you already use?
A simple test: can the tools you already use, such as Claude Code, Codex, Cursor and Cline, take its address and key directly, or does it make you switch to its own app? One that makes you switch is locking you in.
- 05
Is there someone to ask?
Setup problems are specific: where a tool keeps its settings file, what an error means. Somewhere you can ask a person beats a fixed FAQ page.
- 06
Is the documentation written for a human?
How detailed the docs are is roughly how good the support will be. Steps for each tool and the causes of common errors mean someone actually tried it for you; "OpenAI-compatible" as the whole instruction means you'll be working it out alone.
Questions that keep coming up
How is a relay different from using the official API?
In use, there's hardly a difference: the same tools and code. The difference is accounts and paying: going direct means settling with each vendor, so several models means several accounts, cards and setups; a relay covers several vendors from one account, at the price of one more service in the middle. If you use one vendor heavily, going direct suits you better; if you switch between several and don't want an account at each, a relay is easier.
Relay or subscription, for a coding assistant?
A subscription (a monthly membership, say) sells you time and usually only works in the vendor's own app; the API sells you usage and works in any tool that lets you enter an address. If you work in Claude Code, Codex or Cursor and want to choose the model, the API is freer; if you only use one vendor's app and use it heavily every month, the flat fee may cost less.
Why can a relay undercut the vendor?
Mostly bulk buying: vendors give big customers discounts, and a relay buys for many people at once, so the unit price lands below what one person pays topping up alone. Cheap has a limit, though: a price clearly below cost usually means corners are cut somewhere, such as quietly swapping in a cheaper model. While comparing prices, check that the model named in the response is the one you chose.
What about handing a relay your data?
What you send passes through the relay, so you should know how it handles data. At least check two things: does it say it doesn't keep your requests, and can you replace or revoke your keys yourself at any time. For anything sensitive, remove names, phone numbers and the like before sending, relay or not.