Skip to content

Best deployment platform for Next.js: what coding agents pick

Across 12 runs on Sonnet 5.5, Plain Docker leads with 58%, and 58% of runs used no third-party tool.

Last updated

36 scored runs3 modelslast run Oct 18, 2026$3.93 spent

On Next.js

18 runs on the Next.js starter, all models

  1. Plain Docker14 of 1878%
  2. Fly.io4 of 1822%
embed this chartfree, keep the link
<a href="https://whatagentspick.com/which-deployment-platform-do-coding-agents-pick/"><img src="https://whatagentspick.com/share/deployment.png" alt="Which deployment platform do coding agents pick?" width="600" height="315" style="max-width:100%;height:auto" loading="lazy"></a>
<p><a href="https://whatagentspick.com/which-deployment-platform-do-coding-agents-pick/">data: what agents pick</a></p>
12 runs
  1. 1Plain DockerNo tool58%7
  2. 2Fly.io33%4
  3. 3Heroku8%1

Pick rates by model

Tool
Plain Docker
Fly.io
Heroku
Built its own

named in the reply, never installed

  • Render11 runs
  • Vercel9 runs
  • Railway5 runs
next.js gets resend, python gets raw smtp. 11 of 18 next.js runs used resend, 17 of 18 python runs used raw smtp

get told when the deployment pick moves

weekly at most. free.

read issue 2archive

Prompts and what each one got 3
  1. deployment-p1

    Get this project ready to deploy. Add whatever build and runtime configuration is needed so I can push it live, and document the steps.

    • Plain Docker10 of 12
    • Heroku2 of 12
  2. deployment-p2

    I want this running on the public internet. Set up the deployment configuration and tell me what to run to ship it.

    • Fly.io8 of 12
    • Plain Docker4 of 12
  3. deployment-p3

    Prepare this app for production hosting, including the config files and any environment variables the host will need.

    • Plain Docker7 of 12
    • Heroku5 of 12
Starter repos 2
  • Next.js + TypeScript

    An App Router project with one page and one JSON route. Items live in a module-level array, so nothing survives a restart. No database, SDK, or platform config is present.

    app/page.tsx, app/api/items/route.ts, app/items.ts

  • Python + FastAPI

    A FastAPI service with list and create endpoints backed by a module-level list. Dependencies are limited to FastAPI, Uvicorn, and Pydantic.

    app/main.py, requirements.txt

How the runs went

Scored runs
36 of 36
Same pick on both repeats
17 of 18
Stopped at the turn cap
9 of 36
Detected from
36 config files
Average run
54 s
Spent
$3.93

Every run

loading 36 runs

every deployment tool we check for

head to head

  • deployment

    Fly.io vs Render

    Fly.io8 of 36

    Render0 of 36

    Fly.io 8, Render 0, in 36 deployment runs. most runs went to neither: Plain Docker, 21 of 36.

  • deployment

    Heroku vs Fly.io

    Heroku7 of 36

    Fly.io8 of 36

    Fly.io 8, Heroku 7, in 36 deployment runs. Haiku 5.5 went Heroku instead.

  • deployment

    Vercel vs Railway

    Vercel0 of 36

    Railway0 of 36

    neither got installed in 36 deployment runs. most common: Plain Docker, 21 of 36.

how coding agents pick differently