Softwr

Databases · head to head

Cloudflare Workers vs Convex

Cloudflare Workers logo

Cloudflare Workers

Databases

Serverless compute on Cloudflare's network, free to start and $5 a month minimum on the paid plan

From
Free
Free plan
Yes
Convex logo

Convex

Databases

Reactive backend combining a document database, TypeScript server functions and live queries, source-available under the Functional Source Licence.

From
Free
Free plan
Yes

The short version

  • Free plans on both; paid from $5/mo and $25/mo.
  • Only Cloudflare Workers lists edge execution; only Convex lists reactive queries.
  • Where Cloudflare Workers falls short: free has a 10 ms CPU cap.

How do Cloudflare Workers and Convex differ?

Cloudflare Workers and Convex differ on pricing model and platforms. Only the attributes on which Cloudflare Workers and Convex actually diverge.

Attributes where Cloudflare Workers and Convex differ
AttributeCloudflare WorkersConvex
Pricing modelFree plan plus usage-based paid planSubscription
PlatformsWeb, Linux, macOS, WindowsWeb

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Cloudflare Workers.

Which features does each one have?

They share no listed features; 6 appear only for Cloudflare Workers and 10 only for Convex. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Cloudflare Workers

  • Edge execution
  • Workers KV
  • Durable Objects
  • Hyperdrive
  • Queues
  • Spend limits

Only in Convex

  • Reactive queries
  • TypeScript server functions
  • ACID transactions
  • Document database
  • Scheduling and workflows
  • File storage
  • Text and vector search
  • End-to-end types

What is each one used for?

Cloudflare Workers is most often brought in for A low-latency API or middleware. The jobs each tool is most often brought in to do.

Cloudflare Workers

  • A low-latency API or middlewarenot Convex
  • A full-stack app with static assetsnot Convex
  • A cron-driven data jobnot Convex
  • Rewriting or protecting traffic at the edgenot Convex

Convex

  • Collaborative applications where several users see the same data and every client must reflect a change immediatelynot Cloudflare Workers
  • Agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cachenot Cloudflare Workers
  • Small product teams who need a complete backend, including auth integration, file storage and subscriptions, without hiring infrastructure engineersnot Cloudflare Workers
  • Prototypes that must become production without a rewrite of the data layer, where end-to-end TypeScript types remove a class of integration bugsnot Cloudflare Workers

Where do Cloudflare Workers and Convex fall short?

Cloudflare Workers's most cited limit: free has a 10 ms CPU cap. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Cloudflare Workers

  • Free has a 10 ms CPU cap
  • The runtime is not full Node.js, so some libraries do not run
  • Costs scale with CPU time, so heavy compute surprises
  • Durable Objects and other products are billed separately
  • Logs and Logpush follow separate observability pricing from December 2026

Convex

  • The Functional Source Licence is not an OSI open source licence: competing use is prohibited until each release reaches its second anniversary and converts to Apache 2.0, so you may self-host but you may not build a service on it
  • Transactions are bounded at one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written, so every backfill, migration or bulk import has to be chunked into scheduled batches rather than written as a single operation
  • There is no SQL and no query planner; you declare up to 32 indexes per table and traverse them, and joins are loops in TypeScript, so an unanticipated access pattern requires a schema and index change rather than a new query
  • It is not an analytical database, so reporting means streaming data out to a warehouse and BI tools cannot be pointed at Convex directly, which adds a pipeline the architecture diagram did not originally include
  • The application is written against Convex's function and client APIs rather than a standard protocol, so leaving means rewriting the data access layer and replacing the reactivity model, not repointing a connection string

How much do Cloudflare Workers and Convex cost?

Cloudflare Workers has a free plan, with paid plans from $5/mo; Convex has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.

Cloudflare Workers

Free
  • Workers FreeFree
    • 100,000 requests per day
    • 10 ms CPU per invocation
  • Workers Paid$5/mo
    • 10 million requests included, then $0.30 per million
    • 30 million CPU ms included, then $0.02 per million

Convex

Free
  • Free & StarterFree
    • Supports 1-6 developers
    • Reactive database
    • File storage
  • Professional$25
    • Supports up to 20 developers
    • All Starter features
    • Log streaming
  • Business & Enterprise$2,500/month minimum
    • Supports 50+ developers
    • SAML/SSO
    • Service SLAs

Which should you pick?

Choose Cloudflare Workers if

  • You need edge execution.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want workers kv.

Choose Convex if

  • You need reactive queries.
  • You want to start without paying.
  • You also want typescript server functions.

Questions people ask

Is Cloudflare Workers or Convex better?
It depends on the job. Cloudflare Workers fits a low-latency API or middleware; Convex fits collaborative applications where several users see the same data and every client must reflect a change immediately. Cloudflare Workers starts at Free and Convex at Free.
Which is cheaper, Cloudflare Workers or Convex?
Cloudflare Workers starts at Free and Convex at Free.
Does Cloudflare Workers or Convex run on more platforms?
Cloudflare Workers runs on Web, Linux, macOS, Windows. Convex runs on Web.
Can I use Cloudflare Workers for free?
Both have a free tier, so you can try either at no cost before committing.
What is Cloudflare Workers best used for?
Cloudflare Workers is most often used for a low-latency api or middleware, a full-stack app with static assets, a cron-driven data job, rewriting or protecting traffic at the edge. Of those, a low-latency api or middleware and a full-stack app with static assets are not what Convex is typically brought in for.
What can Cloudflare Workers do that Convex cannot?
Cloudflare Workers covers Edge execution, Workers KV, Durable Objects, Hyperdrive. Convex covers Reactive queries, TypeScript server functions, ACID transactions, Document database.

Answered from the vendors’ own pages

Cloudflare Workers: Is Cloudflare Workers free?

Yes, with 100,000 requests a day.

Convex: Is Convex open source?

It is source-available under FSL-1.1-Apache-2.0. You may read, modify and self-host it, but competing use is prohibited until each release converts to Apache 2.0 on its second anniversary.

Cloudflare Workers: What does Paid cost?

A $5 monthly minimum plus usage.

Convex: Can I self-host it?

Yes. The backend, dashboard and CLI can run on your own infrastructure, with most of the features of the cloud product. Self-hosted instances include a telemetry beacon that can be disabled.

Cloudflare Workers: Are static assets charged?

No, they are free and unlimited.

Convex: Does it support SQL?

No. Data is accessed through a TypeScript query builder over declared indexes. Relationships are traversed in code, which is explicit and type-safe but means no ad hoc querying.

Convex: What happens if a mutation exceeds the limits?

It fails rather than running longer, so bulk work must be split into batches and scheduled. The limits are per transaction: one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written.

Convex: How does reactivity actually work?

Queries are deterministic functions and Convex records the data each one read. When a mutation changes that data, affected queries are re-run and subscribed clients receive the new result, so cache invalidation is handled by the platform.

Share

Related pages

Other head to heads