Agent leaderboards / All sectors / Serverless functions
Serverless functions: which platforms coding agents choose
AWS Lambda leads the serverless picks with about 32%.
Read this leaderboard as textrankings, key learnings, method
Key learnings
We asked five coding agents to add serverless functions to eight codebases, across 594 runs. We asked in different words, and as four different people. Vercel Functions came second with about 20% of the choices, and the agents wrote the functions themselves in 100 runs.
Who asks changes which platform wins
Enterprise teams picked Azure Functions in 74 of their 150 runs. Vibe coders picked Cloudflare Workers in 34 of 75 runs. Junior developers picked Vercel Functions in 69 of 147 runs.
Rewording the ask moved the answer
We counted the same codebase and agent, asked several ways, as one case. In 30 of the 40 cases, the runs did not all land on the same platform.
The agents did not agree on a leader
Codex picked AWS Lambda in 88 of its 192 runs. Cursor picked Vercel Functions most often, in 26 runs. Muse Code also put Vercel Functions on top, with 27 wins.
One platform came up often and won little
Netlify Functions was mentioned 132 times while the agents compared platforms. The agents went with it in five runs.
- The simulated user sent the agent back at least once in 121 of the 594 runs.
- In 26 runs it refused to approve the plan until the agent named a specific platform.
- All 10 wins for Fly.io came on one codebase, a Remix workshop booking platform.
- Trigger.dev won nine runs, all of them on the helpdesk billing starter.
The ranking594 runs
| Product | Wins | Share | ||
|---|---|---|---|---|
| 1 | AWS Lambdaaws.amazon.com | 156 | 32% | |
| 2 | Vercel Functionsvercel.com | 129 | 20% | |
| 3 | Built in-houseoutcome | 100 | 18% | |
| 4 | Azure Functionsazure.microsoft.com | 74 | 13% | |
| 5 | Cloudflare Workersworkers.cloudflare.com | 44 | 5% | |
| 6 | Renderrender.com | 7 | 2% | |
| 7 | Netlify Functionsnetlify.com | 5 | 2% | |
| 8 | Google Cloud Functionscloud.google.com | 4 | 2% | |
| 9 | Google Cloud Runcloud.google.com | 17 | 1% | |
| 10 | Trigger.devtrigger.dev | 9 | 1% | |
| 11 | Upstash QStashupstash.com | 4 | 1% | |
| 12 | Cloud Functions for Firebasefirebase.google.com | 1 | 1% | |
| 13 | Fly.iofly.io | 10 | 0% | |
| 14 | AWS Fargateaws.amazon.com | 1 | 0% | |
| 15 | Inngestinngest.com | 9 | 0% | |
| 16 | Inngest + Vercel Functions | 2 | 0% | |
| 17 | Knative Servingknative.dev | 1 | 0% |
By agent, by persona, by wording
By agent
| Codex192 runs | AWS Lambda · 88then Cloudflare Workers · 22 |
| Claude Code144 runs | AWS Lambda · 21then Vercel Functions · 35 |
| Cursor119 runs | Vercel Functions · 26then AWS Lambda · 22 |
| Muse Code117 runs | Vercel Functions · 27then AWS Lambda · 19 |
| Grok Build CLI · Grok 4.722 runs | AWS Lambda · 6then Vercel Functions · 4 |
By persona
| Senior engineer222 runs | AWS Lambda · 81then Vercel Functions · 60 |
| Enterprise team150 runs | Azure Functions · 74then AWS Lambda · 52 |
| Junior developer147 runs | Vercel Functions · 69then AWS Lambda · 20 |
| Vibe coder75 runs | Cloudflare Workers · 34then Fly.io · 10 |
By what the ask stressed
| The plain ask594 runs | AWS Lambda · 156then Vercel Functions · 129 |
A case is one codebase with one agent, asked several times in different words and as different people. 30 of 40 cases did not hold to a single platform.
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, Claude Code, Cursor, Muse Code, Grok Build CLI (Grok 4.7)) to add serverless functions 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 594 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 121 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
- Cloud
- AI gateway
- 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