Vercel vs Netlify vs Cloudflare Pages for AI Apps in 2026
Vercel, Netlify and Cloudflare compared for apps that call AI models: plans and prices as listed on December 1, 2026, how long a function can run, each one's AI gateway, and which kind of project each suits.
Vercel suits Next.js apps with long model calls, with Pro at $20 a month and functions allowed up to 800 seconds. Netlify bills hosting and AI gateway calls from one credit balance. Cloudflare now recommends Workers for new projects, and Workers have no bandwidth charges and can run models through Workers AI. Prices as listed December 1, 2026.
Vercel, Netlify and Cloudflare all host web apps with server-side functions, and all three now offer a gateway for calls to AI models. If your app calls a model, you need a few specific things from its host: enough time for one request while the model works, predictable costs while a reply streams, and somewhere to log and cap model spend. The plans, prices and limits below are as each vendor listed them on December 1, 2026, on the pages linked under Sources. Prices change often, so check the pricing page before you budget.
Cloudflare now points new projects to Workers
Cloudflare's Pages documentation says: "For new static sites and full-stack applications, start with Cloudflare Workers." Pages is still available on every plan, and Cloudflare publishes a guide for moving an existing Pages project to Workers. The Cloudflare figures in this comparison are for Workers.
Plans and prices as listed on December 1, 2026
On Vercel's pricing page, Hobby is $0, Pro is $20 a month and Enterprise is priced on request. Pro includes 1 TB of Fast Data Transfer a month, then from $0.15 per GB, plus a $20 credit to use across resources. Hobby includes 100 GB and has usage caps, and Hobby accounts can't buy more. Function invocations are 1 million a month on Hobby and $0.60 per million on Pro. Pro builds are billed by the minute, from $0.007 a minute on a Basic machine.
On Netlify's pricing page, Free is $0 with 300 credits a month, Personal is $9 a month with 1,000 credits, Pro is $20 a month with 3,000 credits and unlimited members, and Enterprise is priced on request. Usage is paid in credits: 15 for each production deploy, 10 per GB-hour of compute, 20 per GB of bandwidth, 2 per 10,000 web requests and 180 per dollar of AI model usage. Deploy previews and branch deploys use no credits, and Netlify no longer counts build minutes. The Free plan has a hard limit. When its credits run out, every site on the account is paused and shows a "Site not available" page.
On Cloudflare's Workers pricing page, Workers Free allows 100,000 requests a day with 10 milliseconds of CPU time per invocation. Workers Paid has a $5 monthly minimum per account and includes 10 million requests and 30 million CPU milliseconds a month. After that, it's $0.30 per additional million requests and $0.02 per additional million CPU milliseconds. On Workers Paid there are no additional charges for data transfer or bandwidth, and requests to static assets are free and unlimited. Workers Builds includes 3,000 build minutes a month on Free and 6,000 on Paid, then $0.005 a minute.
| Vercel | Netlify | Cloudflare Workers | |
|---|---|---|---|
| First paid plan | Pro, $20 a month | Personal, $9 a month | Paid, $5 a month minimum |
| Bandwidth | Pro includes 1 TB, then from $0.15 per GB | 20 credits per GB | No charge |
| Longest synchronous request | 800 seconds on Pro | 60 seconds | No wall-clock limit while the client is connected |
| AI gateway | AI Gateway, all plans | AI Gateway, credit-based plans | AI Gateway, core features free |
How long one request can run
An agent run or a long document job keeps a request open while the model works, so the duration limit matters more for an AI app than for an ordinary page.
On Vercel, with Fluid compute, Node.js, Bun and Python functions run for up to 300 seconds on Hobby. On Pro and Enterprise the default is 300 seconds and the maximum is 800, with an extended maximum of 1,800 seconds in beta, according to the Functions limits page. For work with no time limit, Vercel recommends Vercel Workflows. Pro functions are billed on active CPU time and provisioned memory, and time spent waiting on I/O, such as a call to an AI model, doesn't count as active CPU time.
On Netlify, synchronous functions stop at 60 seconds and scheduled functions at 30, and neither limit can be changed. Background functions run for up to 15 minutes, and the caller gets an empty 202 response right away. Your app then has to deliver the result another way, for example by writing it to a database that the page polls. Function memory starts at 1,024 MB and can go up to 4,096 MB on credit-based Pro and Enterprise plans.
On Workers, the limit is CPU time, and time spent waiting on the network doesn't count toward it. On Workers Paid, CPU time per HTTP request defaults to 30 seconds and can be raised to 5 minutes, and there is no hard limit on duration while the client stays connected. Cron Triggers and Queue consumers get 15 minutes of wall-clock time per invocation. Each isolate has 128 MB of memory on both plans, the smallest allowance of the three hosts.
The AI features on each platform
Vercel makes the AI SDK, a TypeScript toolkit with one API for generating text, structured objects and tool calls across model providers, plus hooks for chat interfaces in React, Next.js, Vue and Svelte. Vercel's AI Gateway is a hosted API that routes requests across providers, falls back to other providers or models, and logs each request's model, latency, tokens and cost. You can set budgets for a team, project, API key or team member, and bring your own provider keys. According to Vercel, the gateway adds zero markup to provider token prices and is available on all plans, and your app doesn't need to run on Vercel to use it.
Netlify's AI Gateway sets the environment variables that official SDKs read, such as ANTHROPIC_API_KEY and ANTHROPIC_BASE_URL, so a function can call Anthropic, OpenAI or Google Gemini without a separate account with each provider. Usage converts to credits at 180 per dollar. The gateway is on the credit-based plans (Free, Personal and Pro), the context window is capped at 200,000 tokens, and models served through OpenRouter are routed only to providers with a zero data retention policy. From the Netlify dashboard you can also prompt coding agents, including Claude Code and OpenAI Codex, to change a project through Agent Runners, paid for in credits.
Workers AI runs models on Cloudflare and is billed in Neurons, Cloudflare's measure of the GPU compute a request needs, at $0.011 per 1,000 Neurons, with 10,000 Neurons a day free on both Workers plans. Calls to Workers AI, Anthropic, Google Gemini, OpenAI, Replicate and other providers can go through Cloudflare's AI Gateway, which adds analytics, logging, caching, rate limiting, retries and model fallback. Its core features are free on all plans.
Next.js on each
Next.js is maintained by Vercel, and a Next.js project deploys to Vercel with no configuration. Netlify runs Next.js 13.5 and later through the open-source OpenNext adapter and lists the App Router, server rendering, incremental static regeneration and response streaming as fully supported, with a short list of known limits, such as headers and redirects being evaluated after middleware. For Next.js on Workers, Cloudflare recommends vinext, a Vite plugin that reimplements the Next.js API. vinext is in beta, and Cloudflare suggests running npx vinext check before you use it for a production app. An existing app on the OpenNext adapter can stay on it.
Which kind of project each suits
None of the three is the right host for every AI app. Each fits a different kind of project.
- A Next.js app with long agent requests fits Vercel. Next.js comes from Vercel, and Pro allows a single function to run for 800 seconds.
- A content or marketing site with a few AI features fits Netlify. Bandwidth, compute, production deploys and AI gateway calls all come out of one credit balance, and deploy previews are free.
- A high-traffic or bandwidth-heavy app, such as one that serves images or audio, fits Cloudflare Workers, because Workers have no bandwidth charges and static asset requests are free. Plan for more setup on Next.js while vinext is in beta, and design around 128 MB of memory.
- If you call models from more than one host, you can use Vercel's AI Gateway from any server, so the model logs and budgets for every app are in one place.
Price the model calls too
The host's meters are one part of an AI app's bill. The model provider's token charges are the other, and you pay them on every request your users make. Vercel's and Cloudflare's gateways report tokens and cost per request, and Netlify bills gateway calls by the tokens each one used, so start there when you estimate. With prompt caching you pay less for input you send again and again, and Anthropic prompt caching pricing has the current rates for Claude. For the database behind the app, Supabase vs Neon vs Turso compares three common choices.
Sources
- Vercel pricing (Vercel) (checked 2026-12-01)
- Vercel Functions limits, maximum duration and memory (Vercel docs) (checked 2026-12-01)
- Vercel AI Gateway (Vercel docs) (checked 2026-12-01)
- AI SDK introduction (AI SDK docs, Vercel) (checked 2026-12-01)
- Next.js on Vercel (Vercel docs) (checked 2026-12-01)
- Netlify pricing (Netlify) (checked 2026-12-01)
- How credits work on credit-based plans (Netlify docs) (checked 2026-12-01)
- Functions configuration, execution limits and memory (Netlify docs) (checked 2026-12-01)
- AI Gateway overview (Netlify docs) (checked 2026-12-01)
- Agent Runners overview (Netlify docs) (checked 2026-12-01)
- Next.js on Netlify (Netlify docs) (checked 2026-12-01)
- Cloudflare Pages overview, with the recommendation to start new projects on Workers (Cloudflare docs) (checked 2026-12-01)
- Workers pricing (Cloudflare docs) (checked 2026-12-01)
- Workers limits, CPU time and duration (Cloudflare docs) (checked 2026-12-01)
- Workers Builds limits and pricing (Cloudflare docs) (checked 2026-12-01)
- Workers AI pricing (Cloudflare docs) (checked 2026-12-01)
- AI Gateway overview and pricing (Cloudflare docs) (checked 2026-12-01)
- Next.js on Cloudflare Workers (Cloudflare docs) (checked 2026-12-01)
Get the next one.
Field notes from real deployments, written the way this one was. No schedule promised and nothing sold to you. Unsubscribe whenever.
Let's build yours.
Reading is the easy part. We do the work. Tell us what's broken and we'll tell you straight up whether we can help.
let's talk
