How to get picked for AI gateways by coding agents
Cloudflare AI Gateway took 34% of the choices in 449 judged AI gateways sessions. What the numbers say a vendor in this category should do.
If you sell AI gateways, this page is the part of the market no dashboard shows you: what a coding agent does when a developer asks for AI gateways and never compares vendors.
The numbers come from 449 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code, spread across 8 realistic codebases, with every session read by a judge.
What coding agents choose for AI gateways
Across 449 judged sessions, Cloudflare AI Gateway was chosen most often, with 34% of the choices. Portkey was second with 20%.
| # | Product | Runs won | Share |
|---|---|---|---|
| 1 | Cloudflare AI Gateway | 105 | 34% |
| 2 | Portkey | 100 | 20% |
| 3 | Vercel AI Gateway | 80 | 20% |
| 4 | OpenRouter | 85 | 18% |
| 5 | Amazon Bedrock | 19 | 2% |
| 6 | Amazon Bedrock AgentCore Gateway | 1 | 1% |
| 7 | Built in-house (no product adopted) | 17 | 0% |
| 8 | Opper | 1 | 0% |
| 9 | LiteLLM | 26 | 0% |
| 10 | Helicone | 2 | 0% |
Full board, every run replayable: the AI gateways leaderboard.
What the shape of this category means
The leader takes only 34% of the choices. This category is genuinely open and the ordering can be moved.
With the top product at 34%, AI gateways is decided in the moment, from what the agent reads and what it finds in the repository. Nothing is locked in, which is the best situation a vendor can be in and the one where the work pays fastest.
The order here is set by the quality of what an agent can read and by whether your product is already present in the codebase. Both are things you can change.
The agents do not agree with each other
In this category Claude Code, Codex and Cursor did not put the same product first.
Grok Build CLI (24 sessions) and Muse Code (117 sessions) join this table with fewer runs, so read their rows as indicative.
| Agent | Runs | Picked most often |
|---|---|---|
| Claude Code | 93 | Cloudflare AI Gateway (29) |
| Codex | 144 | Vercel AI Gateway (34) |
| Cursor | 71 | Vercel AI Gateway (13) |
| Grok Build CLI | 24 | Portkey (6) |
| Muse Code | 117 | OpenRouter (34) |
That split decides where a vendor spends. In this category Codex ran a web search in 99% of its sessions and Claude Code in 35%, so what you publish reaches nearly all of Codex's AI gateways sessions and about a third of Claude Code's. Taking Vercel AI Gateway's position with Codex is mostly a content problem. Taking Cloudflare AI Gateway's with Claude Code leans more on the repository.
Who is asking changes the answer
Every request in this experiment was written as a specific kind of person. In this category the leader changes with the person.
| Who is asking | Runs | Picked most often |
|---|---|---|
| Vibe coder | 55 | Cloudflare AI Gateway |
| Junior developer | 111 | Vercel AI Gateway |
| Senior engineer | 171 | Portkey |
| Enterprise team | 112 | Cloudflare AI Gateway |
That is 3 different products winning AI gateways for 4 kinds of buyer, out of the same 449 sessions. Nobody here is winning AI gateways. They are each winning one kind of buyer.
If you sell to more than one of them, you need pages for each. See how to win the enterprise persona.
What you are really competing against
Hand-written code took 1% of the choices: the agent wrote it itself rather than adopting a product. That is low enough that your competition is other vendors, but high enough to be worth watching.
Considered, and never chosen
Because the judge records every product an agent raised and not only the one it picked, this board also shows who kept reaching the shortlist and losing. In AI gateways the clearest case is Kong AI Gateway: on the table in 35 sessions, chosen in none.
| Product | Raised in | Chosen in |
|---|---|---|
| Kong AI Gateway | 35 sessions | 0 |
| Claude Platform On Aws | 21 sessions | 0 |
Being rejected is a better position than being unknown, and a cheaper one to fix. The product is already in the agent's head and on the list. Whatever ended those 56 sessions is recorded in each transcript, one reason at a time.
What to do about it in AI gateways
- Aim at second place first. Cloudflare AI Gateway holds 34% and Portkey holds 20%. The gap between the default and the field is where the reachable sessions are.
- Report install share per persona, not as one number. In AI gateways the leader changes with who is asking, so a blended figure averages markets that behave differently.
- Measure per agent. Claude Code put Cloudflare AI Gateway first, Codex put Vercel AI Gateway first, Cursor put Vercel AI Gateway first, Grok Build CLI put Portkey first, Muse Code put OpenRouter first. A blended number for AI gateways describes a market that does not exist.
The work that applies to every category rather than to this one is written up separately: audit your documentation, write a quickstart an agent can follow, and how to measure install share.
Every AI gateway on this board
One page per product, with its install share, the per-agent split, and how often it was raised without being chosen.
- Do coding agents recommend Cloudflare AI Gateway? — 34% of the choices
- Do coding agents recommend Portkey? — 20% of the choices
- Do coding agents recommend Vercel AI Gateway? — 20% of the choices
- Do coding agents recommend OpenRouter? — 18% of the choices
- Do coding agents recommend LiteLLM? — 0% of the choices
- Do coding agents recommend Helicone? — 0% of the choices
Where these numbers come from
449 judged sessions in AI gateways across 8 codebases, part of a published set of 19,501. Real coding agents at pinned versions, in sandboxes, inside realistic codebases, with a simulated project owner in the loop and a blind judge on every session. The full method is on one page: how we measured this.
Every AI gateways run can be replayed on the board.
<!-- generated by scripts/write-data-pages.mjs -->
Common questions
How many codebases is this based on?
449 judged sessions across 8 realistic codebases. A category only runs on repositories where its seam is open, so coverage differs: some categories ran on more than ten codebases and some on two.
What AI gateway do coding agents choose?
Across 449 judged sessions, Cloudflare AI Gateway was chosen most often, with 34% of the choices. Portkey was second with 20%. The result changes by agent and by who is asking.
Do Claude Code and Codex pick the same AI gateway?
No. Claude Code picked Cloudflare AI Gateway, Codex picked Vercel AI Gateway, Cursor picked Vercel AI Gateway. Measuring one agent tells you about part of the market only.
How often do agents build AI gateways themselves instead of installing something?
Hand-written code took 1% of the choices: the agent wrote it itself rather than adopting a product.
How can a vendor improve its position here?
Make the quickstart run when pasted, state the current version on the documentation page, use one name across product, package and import, write pages for the symptoms users describe rather than only the category name, and get into the repository through templates and framework integrations.
Which AI gateways do agents consider but never choose?
Kong AI Gateway (raised in 35 sessions, chosen in none), Claude Platform On Aws (raised in 21 sessions, chosen in none). Being considered and not chosen is a different problem from being unknown, and it is usually fixable.
Where this comes from
Armature ran 19,501 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code inside 110 realistic codebases, and published every run. The numbers on this page come from that work.