# How much does it cost to host an MCP server? Cloudflare, Vercel, Cloud Run, Fly.io and Render compared

Gregale · Updated 2026-12-01

What a remote MCP server costs a month at 100, 1,000 and 10,000 tool calls a day on Cloudflare Workers, Vercel, Cloud Run, Fly.io, Render and Gregale, with measured cold starts.

**Hosting a remote MCP server that answers up to 10,000 tool calls a day
costs between $0 and $10 a month on the common platforms. Cloudflare Workers,
Vercel Hobby and Render Free fit it in a free tier, each with a catch, and
Google Cloud Run's free tier covers all but $1.44 of it at most; Fly.io costs
about $2 a month for a small Machine, Render Starter $7 and Gregale Hobby
$10.** The price matters less than two other things: what
the free tier makes you give up, and what the first call after a quiet spell
waits for. We measured that on Gregale: a call that found the server parked
as a snapshot got its first answer about 230 ms later than one that found it
running.

_Gregale publishes this page. Every price and limit names its vendor and comes
from that vendor's own pricing page or docs, checked between November 28 and
December 1, 2026. The latency and billing numbers are from our own test of a
Gregale server on December 1, 2026, described below._

## What a month costs

The same small MCP server on each platform. Each tool call is a fresh client
session: `initialize`, the `initialized` notification and one `tools/call`,
so three HTTP requests. The tool spends about half a second waiting on another
API and uses a few milliseconds of CPU per request. Calls are spread evenly
over a 30-day month: one every 14.4 minutes at 100 a day, every 86 seconds at
1,000 and every 8.6 seconds at 10,000. Each platform runs its smallest
instance that fits; egress, databases and build minutes are left out.

| Platform                    | 100 calls a day | 1,000 calls a day | 10,000 calls a day | The catch                                                                                                     |
| --------------------------- | --------------: | ----------------: | -----------------: | ------------------------------------------------------------------------------------------------------------- |
| **Cloudflare Workers** Free |              $0 |                $0 |                 $0 | 10 ms of CPU per request, and the server is written for the Workers runtime                                   |
| **Vercel** Hobby            |              $0 |                $0 |                 $0 | 1 million invocations a month: 10,000 calls a day uses 900,000; past it the deployment pauses                 |
| **Google Cloud Run**        |              $0 |                $0 |        up to $1.44 | Needs a Google Cloud billing account                                                                          |
| **Fly.io** (256 MB Machine) |             ~$1 |             $2.19 |              $2.19 | Stops only after several idle minutes, so at 1,000 calls a day it never stops                                 |
| **Render** Free             |              $0 |                $0 |                 $0 | 750 instance hours a month cover one always-awake service; after 15 idle minutes, a call waits about a minute |
| **Render** Starter          |              $7 |                $7 |                 $7 | Always on, never scales to zero                                                                               |
| **Gregale** Hobby           |             $10 |               $10 |                $10 | MCP hosting needs Hobby or above; the $10 covers 5 apps                                                       |

## What the first call after a quiet spell waits for

| Platform               | When an idle server stops costing money                                                                                        | The first call after that waits for                                                                |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
| **Cloudflare Workers** | It never runs between requests; you pay per request and CPU                                                                    | An isolate, not a VM or container: Cloudflare says this eliminates VM cold starts                  |
| **Vercel**             | When the last in-flight request finishes                                                                                       | A function instance to start when none is running                                                  |
| **Google Cloud Run**   | When the last request finishes (request-based billing)                                                                         | A container instance to start when none is running                                                 |
| **Fly.io**             | Several minutes after the last request, when Fly Proxy stops or suspends the Machine                                           | About 2 seconds or more from stopped, a few hundred milliseconds from suspended                    |
| **Render** Free        | 15 minutes without inbound traffic                                                                                             | About a minute to spin back up                                                                     |
| **Gregale**            | When the VM pauses: about a second after the last request with `pause: between_requests`, a few seconds by default in our test | Measured: nothing extra when paused; about 60 ms after a minute idle; about 230 ms from a snapshot |

Cloudflare, Vercel and Cloud Run don't publish a typical start time for an
MCP server; how long it takes depends on your code and its dependencies.

## Platform by platform

### Cloudflare Workers

The Workers Free plan allows 100,000 requests a day with 10 ms of CPU per
request. At 10,000 calls a day this server sends 30,000, so it stays free if
each request stays under 10 ms of CPU. The Paid plan is $5 a month with 10
million requests and 30 million CPU milliseconds included, and no charge for
time spent waiting on another API. Cloudflare's MCP templates use
`createMcpHandler` from its Agents SDK, which is stateless and needs no Durable
Object; a server that keeps state in a Durable Object is billed for it
separately. The catch is the runtime: the server runs on Workers, not as a
normal Node.js, Python or Go process.

### Vercel

Vercel bills functions by Active CPU, provisioned memory while a request is in
flight, and invocations. Hobby includes 4 hours of Active CPU, 360 GB-hours of
memory and 1 million invocations a month, and its functions always get 2 GB.
At 10,000 calls a day this server uses about 900,000 invocations, 90
GB-hours and under 2 hours of CPU, so it stays on Hobby. A client that also
lists tools in every session sends four requests, 1.2 million a month, and a
Hobby team past its allowance has its deployments paused; it usually has to
wait 30 days, and it doesn't resume on its own. Pro is $20 a month with $20 of usage credit, which covers this server at
every volume here. A function may run 300 seconds by default, up to 800 on Pro.

### Google Cloud Run

With request-based billing, Cloud Run charges $0.000024 per vCPU-second and
$0.0000025 per GiB-second while at least one request is in flight, rounded up
to 100 ms, plus $0.40 per million requests. The first 180,000 vCPU-seconds,
360,000 GiB-seconds and 2 million requests each month are free. At 1 vCPU and
512 MiB, if each of the three requests is rounded up on its own, a session
bills 0.8 seconds and 10,000 calls a day bill 240,000 vCPU-seconds, of which
60,000 are paid: $1.44 at most. Cloud Run accepts any container that serves
Streamable HTTP and keeps it private unless you allow unauthenticated calls.

### Fly.io

A shared-cpu-1x Machine with 256 MB costs $2.19 a month, billed by the second
while it runs. With autostop, Fly Proxy stops or suspends it once the app has
been idle for several minutes, and a stopped Machine is billed only for its
root filesystem at $0.15 per GB a month. At 1,000 calls a day there are only 86
seconds between calls, so the Machine runs all month. At 100 a day it stops
between most calls and runs roughly a third of the time.

### Render

Render Free web services spin down after 15 minutes without inbound traffic
and take about a minute to spin back up. A workspace gets 750 Free instance
hours a month, enough for one service that never sleeps. At 100 calls a day the
gaps are 14.4 minutes, so this server never spins down. Render Starter, $7 a
month for 512 MB, runs all the time.

### Gregale

Gregale bills each second an instance runs, at its RAM plus 8 MB, with CPU
included. About a second after the last request, an idle instance pauses in
memory, and paused seconds are not billed. Gregale Hobby is $10 a month with
200 GB-RAM-hours included, and MCP hosting is in beta on Hobby, Pro and Scale.
`gregale mcp server deploy` checks each new version as an MCP client before it
takes traffic, and a tool call may run up to 1 minute on Hobby, 5 on Pro and 15
on Scale. At the rates we measured below, a 256 MB server answering 10,000
calls a day stays well inside Hobby's allowance.

## What we measured on Gregale

We deployed the Node starter from `gregale mcp server init` with
`gregale mcp server deploy --size small` (256 MB), set its idle timeout to
Hobby's 1 minute, and called it from a laptop about 170 ms away from the
region. Every sample opens a new TLS connection and runs a full session:
`initialize`, `initialized` and a `tools/call`. Deploying it took 67 seconds.

| Server state before the call            | Samples | First answer (`initialize`), median | Whole session, median |
| --------------------------------------- | ------: | ----------------------------------: | --------------------: |
| Running (calls 3 seconds apart)         |      10 |                              336 ms |                1.11 s |
| Paused (20 seconds since the last call) |       6 |                              335 ms |                1.12 s |
| Idle past its 1-minute timeout          |       5 |                              399 ms |                1.13 s |
| Parked as a snapshot                    |      11 |                              563 ms |                1.30 s |

Most of each number is the network: a round trip to the region took about 170
ms, and every request needs one. On Gregale's side, the wake timeline
(`gregale app wake-timeline`) of the 11 wakes from a snapshot showed a median
restore of 69 ms (51 to 92 ms), the server running 104 ms after the call
arrived, and the first byte of the answer leaving at 260 ms.

What each session was billed, read from the MB-seconds that
`gregale billing usage --json` reports for the app, at 256 MB plus 8:

| Calls                                                      | Default settings | With `pause: between_requests` |
| ---------------------------------------------------------- | ---------------: | -----------------------------: |
| 9 seconds apart (20 sessions each)                         |  3.9 s a session |                2.0 s a session |
| 90 seconds apart, past the idle timeout (5 and 4 sessions) |  5.4 s a session |                3.5 s a session |

A request-serving app with no `pause` setting pauses only once a second goes by
in which it used at most 10 ms of CPU and sent and received at most 512 bytes.
`pause: between_requests` in `gregale.yaml` pauses it about a second after
every request instead, which suits an MCP server that does nothing between
calls:

```yaml
lifecycle:
  pause: between_requests
```

At 10,000 calls a day, those rates come to about 86 GB-RAM-hours a month with
default settings and about 45 with `pause: between_requests`, both inside
Hobby's 200. Our tool answered at once; a tool that waits half a second on
another API adds about 11 GB-RAM-hours at that volume.

## Things that change the bill more than the price list

- **An open stream.** The Streamable HTTP transport lets a client open a `GET`
  stream for messages from the server, and the server must either serve it or
  answer `405 Method Not Allowed`. A connected stream is a request in flight,
  so platforms that bill wall-clock time bill it for as long as the client
  stays connected, and it keeps Fly.io and Render awake. If your server never
  sends messages on its own, answer `GET` with 405, as Gregale's Node starter
  does.
- **Requests per session.** Clients differ: some list tools on every
  connection, some keep one session open for hours. Count what your clients
  send before trusting a per-request free tier.
- **Long tools.** A tool that waits minutes on a model or a search is billed
  for that wait wherever you pay for memory or instance time (Vercel, Cloud
  Run, Fly.io, Gregale), and not on Cloudflare Workers, which bills CPU.
- **Several servers.** Always-on prices multiply: five servers cost $35 a month
  on Render Starter and $10.95 on Fly.io. Gregale Hobby's $10 covers five apps,
  and Cloudflare, Vercel and Cloud Run bill by use either way.

## Which one to pick

- **The lowest bill, and your tools fit the Workers runtime:** Cloudflare
  Workers.
- **You already deploy a Next.js app on Vercel:** add an MCP route there, and
  keep an eye on Hobby's invocation allowance.
- **You are on Google Cloud:** Cloud Run, private by default.
- **A hobby server and a minute's wait is fine:** Render Free.
- **Normal Node.js, Python or Go servers, a check before each release, OAuth
  scopes per tool, and several servers on one plan:** Gregale Hobby.

## Sources

Checked on December 1, 2026:
[Cloudflare Workers pricing](https://developers.cloudflare.com/workers/platform/pricing/),
[Build a remote MCP server on Cloudflare](https://developers.cloudflare.com/agents/model-context-protocol/guides/remote-mcp-server/),
[How Workers works](https://developers.cloudflare.com/workers/reference/how-workers-works/),
[Vercel fluid compute pricing](https://vercel.com/docs/functions/usage-and-pricing),
[Vercel function memory](https://vercel.com/docs/functions/configuring-functions/memory),
[Vercel Hobby plan](https://vercel.com/docs/plans/hobby),
[Vercel Pro plan](https://vercel.com/docs/plans/pro-plan),
[MCP Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports).
Checked on November 28, 2026:
[Cloud Run pricing](https://cloud.google.com/run/pricing),
[Fly.io pricing](https://fly.io/docs/about/pricing/),
[Fly.io autostop](https://fly.io/docs/launch/autostop-autostart/),
[Render free instances](https://render.com/docs/free),
[Render pricing](https://render.com/pricing).

## Related

- [Host a remote MCP server](https://gregale.dev/articles/mcp-server-hosting): Streamable HTTP, OAuth and release checks
- [Scale-to-zero pricing in 2026](https://gregale.dev/articles/scale-to-zero-pricing-compared): when Fly.io, Cloud Run, Railway, Koyeb, Render and Gregale stop billing an idle app
- [Host a Python FastMCP server](https://gregale.dev/articles/host-python-fastmcp-server)
- Reference: [Host an MCP server](https://gregale.dev/docs/mcp-hosting.md), [Scale to zero](https://gregale.dev/docs/scale-to-zero.md), [Plans](https://gregale.dev/docs/plans.md)

## Questions

### How much does it cost to host an MCP server?

Up to 10,000 tool calls a day, $0 to $10 a month on the common platforms. Cloudflare Workers Free, Vercel Hobby and Render Free fit it in a free tier, the Google Cloud Run free tier covers all but $1.44 of it at most, Fly.io costs $2.19 a month for a 256 MB Machine, Render Starter $7 and Gregale Hobby $10 for up to 5 apps. Long tool calls and open streams change the bill more than the price list does.

### Can I host an MCP server for free?

Yes, within limits. Cloudflare Workers Free allows 100,000 requests a day with 10 ms of CPU each, Vercel Hobby 1 million invocations a month, and Cloud Run 180,000 free vCPU-seconds a month. Render Free spins the server down after 15 idle minutes, and the next call waits about a minute. On Gregale, MCP hosting starts on Hobby at $10 a month.

### Do MCP servers have cold starts?

Wherever the server stops between calls, the first call after a quiet spell waits for it to start: about a minute on Render Free, and about 2 seconds or more from a stopped Fly.io Machine. Cloudflare Workers runs isolates rather than VMs. In our test on Gregale, the first answer came about 230 ms later when the server was parked as a snapshot and about 60 ms later after a minute idle; a paused server answered as fast as a running one.

### Does an idle MCP server cost money?

Not between requests on Cloudflare Workers, Vercel or Cloud Run with request-based billing. Fly.io and Render Free bill until they stop the server, several minutes or 15 minutes after the last call, and Render Starter never stops. Gregale stops billing when the server pauses: in our test each session was billed 2 to 5.4 seconds of a 256 MB instance, depending on the gap between calls and its pause setting.

Canonical URL: https://gregale.dev/articles/mcp-server-hosting-cost

