Agent leaderboards / All sectors / AI gateway
AI gateway: which products coding agents choose
Cloudflare AI Gateway leads with about 34% of the choices.
Read this leaderboard as textrankings, key learnings, method
Key learnings
We asked five coding agents to add an AI gateway to eight codebases. That came to 449 runs, worded in several ways and asked as four different people. Portkey and Vercel AI Gateway each took about 20% of the choices.
Every agent had a different favourite
Claude Code picked Cloudflare AI Gateway most, in 29 of its 93 runs. Muse Code picked OpenRouter most, in 34 of 117 runs. Grok Build CLI split almost evenly between Portkey and Cloudflare AI Gateway, six runs and five.
Who asked changed the answer
Senior engineers chose Portkey most often, in 64 of 171 runs. Junior developers chose Vercel AI Gateway in 56 of 111 runs.
Wording moved almost every case
A case is one codebase with one agent, asked again in different words. 35 of the 40 cases did not land on the same product every time.
Named often, picked almost never
Helicone came up in 182 runs and was chosen in two of them. Vercel AI SDK came up in 126 runs and was never chosen.
- LiteLLM was chosen in 26 runs, but weighted by agent usage its share rounds to zero.
- In 17 runs the agents named no product and built it in-house.
- The simulated user approved every plan, and sent the agent back at least once in 113 of 449 runs.
- In 24 runs it refused to approve until the agent named a specific product.
- Envoy AI Gateway and Amazon Bedrock AgentCore Gateway each won once, both on the TS commerce platform.
The ranking449 runs
| Product | Wins | Share | ||
|---|---|---|---|---|
| 1 | Cloudflare AI Gatewaycloudflare.com | 105 | 34% | |
| 2 | Portkeyportkey.ai | 100 | 20% | |
| 3 | Vercel AI Gatewayvercel.com | 80 | 20% | |
| 4 | OpenRouteropenrouter.ai | 85 | 18% | |
| 5 | Amazon Bedrockaws.amazon.com | 19 | 2% | |
| 6 | Amazon Bedrock AgentCore Gatewayaws.amazon.com | 1 | 1% | |
| 7 | Built in-houseoutcome | 17 | 0% | |
| 8 | Opperopper.ai | 1 | 0% | |
| 9 | LiteLLMlitellm.ai | 26 | 0% | |
| 10 | Heliconehelicone.ai | 2 | 0% |
By agent, by persona, by wording
By agent
| Codex144 runs | Vercel AI Gateway · 34then Cloudflare AI Gateway · 51 |
| Muse Code117 runs | OpenRouter · 34then Portkey · 32 |
| Claude Code93 runs | Cloudflare AI Gateway · 29then Portkey · 22 |
| Cursor71 runs | Vercel AI Gateway · 13then Portkey · 17 |
| Grok Build CLI · Grok 4.724 runs | Portkey · 6then Cloudflare AI Gateway · 5 |
By persona
| Senior engineer171 runs | Portkey · 64then Cloudflare AI Gateway · 41 |
| Enterprise team112 runs | Cloudflare AI Gateway · 28then Portkey · 33 |
| Junior developer111 runs | Vercel AI Gateway · 56then OpenRouter · 32 |
| Vibe coder55 runs | Cloudflare AI Gateway · 16then OpenRouter · 23 |
By what the ask stressed
| The plain ask449 runs | Cloudflare AI Gateway · 105then Portkey · 100 |
A case is one codebase with one agent, asked several times in different words and as different people. 35 of 40 cases did not hold to a single product.
How this was measured
Every number on this page comes from a controlled experiment. We took 8 codebases, from vibe-coded apps to enterprise products, asked 5 coding agents (Codex, Muse Code, Claude Code, Cursor, Grok Build CLI (Grok 4.7)) to add an AI gateway to each of them, in several wordings and as a senior engineer and enterprise team and junior developer and vibe coder, and let the agent choose the product. Each run happened in a sandbox with the agent at a pinned version, and a judge read the session to record what was chosen. That is 449 runs. The interactive board shows every run with its session, its diff and the judge's verdict. A simulated user stood in for the owner of the codebase: it read the agent's plan and had to approve it before any code was written; it sent the agent back at least once in 113 runs. Read the methodology and the publications.
If you sell in this sector: what these numbers mean for a vendor.
Open the interactive boardThis page as MarkdownOther sectors
- Agent sandboxes
- Observability
- AI SRE
- Payments
- Deploy
- Auth
- Email providers
- Product analytics
- Databases
- File storage
- LLM evals & observability
- Voice Agents
- Serverless functions
- Cloud
- Bot protection
- Search
- Agent frameworks
- Performance in CI
- Usage-based billing
- Security testing
- Document processing & OCR
- Maps
- Message queues
- AI search
- Internationalization
- Code review
- E-signature
- Security platforms
- In-app chat & calls
- Vector search