Cloudflare Free Tier: 7 Things to Build with AI

See what Cloudflare's free plan covers for AI builders: MCP servers, memory, databases, and SaaS apps, plus its limits and how to connect Claude.

Illustration for the guide: Cloudflare Free Tier: 7 Things to Build with AI

Someone built an AI background remover with user accounts, credits, and payments, and ran the whole backend on Cloudflare without paying for a server. The developer reported zero infrastructure cost, but I could not verify the revenue numbers they shared. That is the point of this guide: Cloudflare's free Workers plan covers servers, databases, file storage, AI models, and MCP servers.

In short: The Cloudflare Workers Free plan includes code execution, a database, file storage, vector search, AI models, and agent memory. You can build an MCP server, memory for Claude, a stateful agent, or a small SaaS product without paying for a server, as long as you stay within the daily quotas. Those quotas reset at midnight UTC.

Key takeaways

  • The Workers Free plan includes 100,000 requests per day and 10 ms of CPU time per request.
  • Daily quotas reset at midnight UTC. Workers requests above 100,000 per day return error 1027.
  • Workers AI gives you 10,000 Neurons per day on the free plan.
  • You can deploy a remote MCP server with one command: wrangler deploy.
  • Claude's free plan allows one custom connector, and your server must be reachable on the internet.
  • AI Gateway analytics, caching, and rate limiting are free, according to the official docs.

What is Cloudflare, and why build on it for free?

Cloudflare is a development platform that runs your code close to users, with no server you have to keep running. You write a function, upload it, and get a web address. Cloudflare started as a security and content delivery network company, and today it is a full development platform.

Many AI builders like it because all the parts needed to build a product sit under one roof. You get code, a database, storage, vectors for search by meaning, AI models, and memory for agents. Each one has a free quota that is enough for a personal project and many small products.

One condition matters from the start. The daily quotas on the free plan reset every day at midnight UTC. On some services, once you cross a quota, operations simply fail until the reset. On Workers, for example, requests above 100,000 per day return error 1027.

I checked the numbers in this guide against Cloudflare's official docs as of November 2026. Check them again before you build anything serious, because they change.

What does the free plan include?

The main limits of the Workers Free plan, according to the official docs, are in the table below. Each row shows what the service does and what is free.

ServiceWhat it doesWhat is free
WorkersCode that runs at the edge100,000 requests per day, 10 ms CPU per request, 100 Workers per account
Workers AIReady-made AI models10,000 Neurons per day
D1SQLite database5 million row reads per day, 100,000 row writes per day, 5GB total, 10 databases
R2File storage10GB, 1 million Class A write operations and 10 million Class B read operations per month, no egress fee
KVKey-value storage100,000 reads per day, 1,000 writes per day, 1GB
VectorizeVector search100 indexes, 5 million stored dimensions, 30 million queried dimensions per month
Durable ObjectsPersistent state for agents100,000 requests per day, 5GB, only with SQLite storage
AI GatewayControl over model callsAnalytics, caching, and rate limiting at no cost

Watch one limit closely: 10 ms of CPU time per request. This is actual processing time, not waiting time. That is enough for a database query or a model call, but not for heavy processing. Heavy jobs will not run there.

What can you build with Cloudflare for free?

Seven projects show what the free tier can handle, from a custom MCP server to a small SaaS product. Each one below covers a real use case and the Cloudflare services behind it.

1. Your own MCP server

MCP is a standard that lets Claude and other agents use external tools. It mostly ran on your own computer at first. Cloudflare lets you run it remotely, so you can connect to it from anywhere.

In practice, you need one Worker, one deploy command, and a URL that ends in /mcp. One developer wrote that they built nine MCP servers with 49 tools on Workers, and that the monthly cost ranged from 0 to 5 dollars. That is one builder's report, not a number I checked, but it gives you a sense of the scale.

Cloudflare's official template for a server without authentication is called remote-mcp-authless:

remote-mcp-authless

The official guide explains how to create a project, run it locally, test it with MCP Inspector, and deploy it with wrangler deploy:

wrangler deploy

If your server touches personal data, choose the version with OAuth. That way, only people who sign in can use the tools. A server without authentication is open to anyone who reaches the address.

One update is important. The McpAgent class, which was the usual way to build stateful MCP servers, is now marked as deprecated and frozen for new features in the official docs. The official templates now build the server with createMcpHandler, which is a handler without state. Existing servers have a migration guide. If you use older examples online, this is where they can mislead you.

2. Semantic memory for Claude

Claude does not remember all past conversations between sessions. A common fix that builders use is a small API that stores notes, converts them into vectors, and searches them by meaning.

One developer described this kind of build on four free services inside a single Worker. Workers handles the routes, authentication, and the MCP protocol. D1 stores the notes. Workers AI runs the bge-small-en-v1.5 embedding model. Vectorize performs the cosine similarity search. In the example they gave, a search for infrastructure decisions found a note about why

Questions people ask

Is Cloudflare Workers really free?

Yes, the Workers Free plan includes 100,000 requests per day and 10 ms of CPU time per request. When you pass the daily quota on the free plan, requests fail until the reset at midnight UTC, and you do not move to a paid plan unless you upgrade yourself.

How much does Cloudflare cost if you go over the free quota?

The Workers Paid plan starts at $5 per month per account, includes higher quotas, and charges for usage beyond them. Check the official pricing pages for the exact price of each service.

Can you run an MCP server on Cloudflare for free?

Yes. Cloudflare's official remote-mcp-authless template deploys with wrangler deploy and gives you a URL that ends in /mcp. If the server touches personal data, use the OAuth version instead.

How do you connect a Cloudflare MCP server to Claude?

In Claude, open Settings, choose Connectors, then Add custom connector, and paste your server address. The free plan allows one custom connector, and the server must be reachable on the internet because the connection comes from Anthropic's cloud.

What free limit do people hit first?

Usually the 10 ms CPU time per request, followed by 1,000 KV writes per day. If your product writes a lot of data, store it in D1, which allows 100,000 row writes per day on the free plan.

cloudflareworkers aimcpclaudeserverless
I rest. The agents work. A relaxed panda on a beanbag while a small robot carries its paperwork

One email a week. One agent you can copy.

Every week I send the setup I actually used: the tools, the prompts and the steps. Short enough to read on your phone.

No spam. Unsubscribe with one click.