Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

Cloudflare Vectorize

Cloudflare Vectorize on Workers Free includes 30 million queried and 5 million stored vector dimensions a month, which a 768-dimension model uses quickly, and what happens at exhaustion is not confirmed.

Cloudflare Vectorize is a vector database for storing embeddings and finding similar items. It is for developers who build semantic search or retrieval- augmented generation (RAG) apps on Cloudflare Workers.

By CloudflareDatabaseChecked ✓ 23 Nov 2026

Is it a fit?

Good fit

Use it with Workers and Workers AI for small RAG or semantic search apps where the free dimension allowance is enough.

  • RAG on Workers
  • small semantic search
  • prototypes

Not a fit

Skip it for large indexes on the free plan, and for apps that do not run on or near Cloudflare. A vector size of 1536 dimensions is the maximum.

  • You need a very large vector set on the free plan
  • You need vectors bigger than 1536 dimensions

You create and manage indexes with the Wrangler CLI and call them from a Worker through a binding. It suits developers who add semantic search or RAG to a Cloudflare app.

What the free plan gives you

Vectorize is included in the Workers Free plan. You get 30 million queried vector dimensions per month and 5 million stored vector dimensions. A dimension count is vectors times their size. For example, 10,000 vectors of 768 dimensions use 7.68 million stored dimensions, which is over the stored allowance.

Empty indexes do not count as stored dimensions. A free account can have 100 indexes, and each index can hold up to 1000 namespaces. Each vector can have up to 1536 dimensions. A single index can hold up to 20,000,000 vectors, though the stored dimension allowance on the Free plan is reached much sooner.

When you hit a limit

The pricing page does not say what happens when you use up the Free plan allowance. It says only that the Free plan will always let you prototype with Vectorize for free. It shows billing rules for the Workers Paid plan, which includes more and charges per million dimensions beyond that.

Watch the pricing formula: it combines the total query vectors and stored vectors, multiplied by their dimensions. The documented example uses 10,000 stored vectors and 100 query vectors of 384 dimensions to calculate 3.878 million queried dimensions; it does not multiply the whole stored index by every query. A small index with a small embedding model fits the free plan best.

Gotchas

  • Dimensions count vectors multiplied by their size, so large embedding models use the allowance quickly.
  • Use the pricing page’s total-query formula rather than counting a full stored index again for every request.
  • Vectorize V2 needs Wrangler 3.71.0 or later, and older V1 indexes are deprecated.

Alternatives in this atlas

  • Upstash Vector: when you want a vector database that does not need Cloudflare Workers.
  • Couchbase Capella: when you want a document database with vector search.
  • Pinecone: when you want a dedicated vector database service with its own free plan.

Questions people ask

Is Cloudflare Vectorize free?

Yes, on the Workers Free plan. It includes 30 million queried vector dimensions per month and 5 million stored vector dimensions.

How do vector dimensions count against the Vectorize free tier?

Stored dimensions equal your vectors times their size. The pricing formula uses total query vectors plus stored vectors, multiplied by their size. Separately, 10,000 stored vectors of 768 dimensions use 7.68 million stored dimensions.

Will Cloudflare Vectorize always have a free tier?

Cloudflare says the Workers free tier will always include the ability to prototype and experiment with Vectorize for free.

How to get started

  1. Sign up for a Cloudflare account and install Node.js.
  2. Create a Worker project with `npm create cloudflare@latest`.
  3. Create an index with `npx wrangler vectorize create <name> --dimensions=<n> --metric=<metric>`, choosing the vector size and the distance metric.
  4. Bind the index to your Worker in the Wrangler configuration file.
  5. Insert vectors from your Worker and query them for the closest matches.

Other free database options

Same category, safest first.

Google Cloud · Database
50,000 reads/day · 20,000 writes/day · 20,000 deletes/day
Billing risk: None
No card
Supabase · Database
500 MB database & 1 GB file storage · 50,000 monthly active users · 500,000 edge function invocations/month
Billing risk: None
No card
Supabase · Database
500 MB of database size per project · Shared CPU with 500 MB of RAM · 2 active projects
Billing risk: None
No card
Cloudflare · Database
5 GB total storage (500 MB max per database) · 5,000,000 rows read/day · 100,000 rows written/day
Billing risk: None
No card