2027 planning guide · Evidence checked 20 November 2026

Cloudflare Workers AI alternative: edge inference or a managed API?

Cloudflare Workers AI runs open models on GPUs inside Cloudflare's network and bills in Neurons, with a daily free allocation. It is the right answer when your application already lives on Workers and wants inference next to the request. It is the wrong answer when you need a broad catalogue, a predictable flat bill or a deployment you can take into your own network. This page separates those cases and states the published limits.

Short answer. Stay on Cloudflare Workers AI when your code already runs on Workers, you want inference inside Cloudflare's network, and your traffic fits the published rate limits. Look at a managed API such as Plugsky when you need a wider catalogue behind one key, a flat monthly bill instead of per-Neuron metering, or a deployment that can run in a VPC, on-premises or air-gapped. Workers AI is edge inference; Cloudflare's AI Gateway is the separate gateway product. Neither is a model-neutral hosting platform you can take with you.

Workers AI is inference, not a gateway

Cloudflare sells two AI products that are easy to confuse. AI Gateway is the control plane: caching, rate limiting, retries, logging and analytics in front of an upstream provider. Workers AI is the inference product: Cloudflare serves open models itself, on GPUs in its own network, and bills the compute in Neurons.

That distinction matters for an alternatives page. If you want a gateway, the honest comparison is against Portkey, LiteLLM or Kong, not against a model API. If you want a place to run prompts, Workers AI is a hosting product, and its alternatives are other hosting and inference providers. This page compares it as inference, because that is what it is.

Where each option sits in the AI stack, before any price comparison
ProductCategorySells models?What you are buying
Cloudflare Workers AIEdge inferenceYes, a curated catalogueModel calls served inside Cloudflare's network, billed in Neurons
Cloudflare AI GatewayGatewayNoPolicy, cache and analytics in front of another provider
PortkeyGatewayNoRouting, guardrails and observability over your provider keys
Baseten, DeepInfraModel hosting and inferenceYesPer-token model APIs plus dedicated GPU capacity
ModalServerless GPUPartlyPer-second compute for your own containers, plus a small model API list
PlugskyManaged model APIYes, all public IDsOne OpenAI-compatible endpoint, flat plans and private deployment options

Read the table before the price tables. A gateway that charges per request, an edge platform that charges per Neuron and a flat-plan model API are three different bills, and comparing their headline numbers without the category is how procurement decks go wrong.

Where Workers AI is strong

Workers AI is at its best inside the Cloudflare platform. If your application already runs on Workers, calling a model is a binding invocation with no separate API key or network hop, and inference runs on GPUs distributed across Cloudflare's network, which can put compute physically close to users.

The free allocation is real rather than a trial. Cloudflare gives every account 10,000 Neurons per day on both the Workers Free and Workers Paid plans, and charges $0.011 per 1,000 Neurons above that. For a prototype, an internal tool or a low-volume endpoint, that is a genuinely low-friction starting point: no separate model vendor, no second bill, no new key to manage.

The OpenAI-compatible surface is also better than its reputation. Workers AI exposes /v1/chat/completions and /v1/embeddings, so an OpenAI SDK client works by changing the base URL to https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1 and the model name. The Responses API is limited to the GPT-OSS models and must be non-streaming, which is a real constraint if your application depends on it.

The limits show up at the edges of that design: the catalogue is a curated set of open models rather than a broad multi-vendor catalogue, per-request constraints apply, and the platform is only available inside Cloudflare. Teams with data-residency or on-prem requirements have no path to run it themselves.

Published rates and limits

The table records what Cloudflare publishes on its pricing and limits pages. It is a smaller surface than a model vendor's price list, which is itself the point: Workers AI prices compute in Neurons and rate-limits by task type.

Cloudflare Workers AI published terms, as recorded in the dated evidence pass
ItemPublished valueWhat it means in practice
Unit price$0.011 per 1,000 NeuronsUsage-based, billed through Cloudflare
Free allocation10,000 Neurons per dayOn both Workers Free and Workers Paid; resets 00:00 UTC
Text generation limit300 requests per minuteDefault per task type; model-specific exceptions apply
Paid-plan models20 rpm standard, 50 rpm with prepaid creditsModels that require a paid billing method
OpenAI compatibilityChat Completions and EmbeddingsResponses API only for GPT-OSS, non-streaming
Example rate$0.045 input / $0.384 output per M tokensLlama 3.1 8B Instruct FP8 Fast, per the pricing page
DeploymentCloudflare networkNo VPC, on-premises or air-gapped option published

Two numbers do the most work in a buying decision. The first is the 300 requests-per-minute text-generation default; a product with a bursty agent loop can hit that ceiling long before the bill matters. The second is the 20 requests-per-minute limit on models that require a paid billing method, which rises to 50 with prepaid AI Gateway credits. If your workload is frontier-heavy, that is the constraint to model first.

Cloudflare does not publish an aggregate model count on its pricing page. It publishes the catalogue model by model, across text generation, embeddings, image, audio, translation and classification tasks. Treat any third-party "N models" figure as someone else's count, not Cloudflare's.

Honest comparison

The comparison keeps the three options a buyer actually weighs: a managed API, Workers AI, and building the serving layer in-house. The last column is not a straw man; for a team with existing GPU capacity it can be the correct answer.

Plugsky, Cloudflare Workers AI and a self-built stack, compared on the buying criteria
CapabilityPlugskyWorkers AIBuilding in-house
API styleOpenAI-compatible drop-inOpenAI-compatible endpoint plus a Workers bindingYou define the schema
Model catalogueall public model IDs, free to frontier, one keyCurated open models on the edge networkYou host each model
BillingFlat monthly with published fair-use limitsUsage-based in Neurons, billed through CloudflareGPU plus operations cost
Data residencyFrankfurt, UAE, Singapore and Virginia; VPC, on-prem, air-gappedCloudflare network locationsYou control the infrastructure
Free tierplugsky-micro and plugsky-lite, no card10,000 Neurons per dayNone
Honest gapNot edge-localInference physically close to end usersYou build and operate it

The "honest gap" row is the one that decides most evaluations. Plugsky does not run at the edge. If network proximity to the end user is the product requirement, Workers AI has an advantage that a regional API cannot match, and no amount of catalogue breadth fixes it.

Where Plugsky fits

Plugsky is the general-purpose layer that pairs well with an edge platform. One OpenAI-compatible endpoint exposes all public model IDs, from small fast tiers to frontier reasoning, with a free plan on plugsky-micro and plugsky-lite and a 7-day money-back guarantee on paid plans. Self-serve plans are flat monthly with published fair-use limits on the pricing page, so heavy inference does not produce a metered surprise at the end of the month.

Builder at $60 and Scale at $120 carry no monthly token cap and no per-token overage, subject to fair-use concurrency and RPM. Hobby at $8 and Starter at $20 publish daily request and token limits instead. That shape suits a product team that wants one bill per environment rather than a variable line item that tracks user behaviour.

For regulated buyers, Plugsky can run in a VPC, on-premises or air-gapped, with regional endpoints in Frankfurt, the UAE, Singapore and Virginia and Riyadh on Enterprise only. Private deployment is contract-led: scope, hardware, update path and support access are agreed in writing rather than selected from a pricing page.

The trade is real. Plugsky's catalogue is its own all public IDs, not an open marketplace, and it does not give you a Workers binding. If you need a model that is not on the list, the answer is a different provider, not a workaround.

A hybrid architecture that works

Edge and platform inference are complements, not competitors. The pattern most teams land on:

  • Run routing, caching and lightweight classification at the edge.
  • Send substantive generation, reasoning and embeddings to a platform with a broader catalogue.
  • Keep an OpenAI-compatible client on both sides so fallback is a configuration change.
  • Monitor spend per workload so you can see when edge-local inference is worth its constraints.

This is also the cheapest migration path. A worker that already speaks OpenAI format can point a second client at Plugsky and compare outputs on real traffic before anything is moved. You do not have to choose a single vendor on day one.

Base URL. Examples on this page use https://api.plugsky.com/v1. Plugsky docs also show https://plugsky.com/v1; both resolve, and the alias is not a second backend. Keep one host per environment and record it in the egress policy.

When Cloudflare Workers AI is the better choice

Workers AI wins in five situations, and a fair comparison should say so:

  • Your application already runs on Workers. The binding removes a network hop, a key and a vendor from the architecture.
  • Proximity is the product. Inference close to the user can beat a regional API on time to first token, and that is a structural advantage.
  • Volume is small or spiky. The 10,000-Neuron daily allocation covers prototypes and internal tools without a purchase order.
  • You want one vendor and one bill. If Cloudflare already handles your DNS, CDN and compute, adding inference keeps procurement simple.
  • Your model list is short. A handful of open models covers the workload, so catalogue breadth has no value to you.

Plugsky wins when the requirement is predictability and portability: one flat plan, one catalogue across chat and embeddings, and a deployment that can leave the public cloud. Many teams keep both, with Workers for edge logic and a managed API for the heavy work.

Migration checklist: Workers AI to Plugsky

The migration is small if you plan it as a route change rather than a rewrite. Work through the list in order.

  1. Inventory the bindings. List every env.AI.run() call, the model name, the prompt shape and the expected output. Bindings and REST calls behave differently, so record which one each service uses.
  2. Map models to IDs. Match each Workers AI model to a Plugsky ID and check context and output ceilings before assuming parity. A legacy name is not a specification.
  3. Move to HTTP. Replace the binding with an OpenAI-format client pointed at https://api.plugsky.com/v1. Keep the model name in configuration, not in code.
  4. Recreate the limits. Translate the Workers rate limits into plan capacity. Hobby allows 4 concurrent and 120 RPM, Starter 6 and 240, Builder 10 and 600, Scale 16 and 1,200.
  5. Replay fixtures. Compare streaming chunks, finish reasons, tool calls and error bodies against the old responses. Follow the OpenAI migration notes for field-level differences.
  6. Cut over one route. Move a low-risk workload, watch latency and error rate for a full traffic cycle, then move the next. Keep the Workers route warm for rollback.
  7. Re-cost both sides. Compare the Neuron bill you actually paid with the flat plan you would buy. Use the Cloudflare Workers AI cost calculator for the current side of the maths.
  8. Document the split. Record which workloads stay at the edge and why, so the architecture does not drift back into a single vendor by accident.

How we evaluated this

We compared category, published pricing shape, rate limits, compatibility, catalogue breadth, deployment and residency, without a composite score or weights. Cloudflare facts were read from its own pricing, limits and OpenAI-compatibility pages; no listicle or review site was used as a primary source. Plugsky facts come from its published plans and model catalogue.

One judgement drives the page: Workers AI and a managed model API are both inference, but they optimise for different constraints. Workers AI optimises proximity and platform integration; a managed API optimises catalogue, billing predictability and deployment control. The table is ordered to make that trade visible rather than to declare a winner.

What we did not verify

  • We did not run a latency, throughput or quality test on Workers AI or on Plugsky. No benchmark is reported.
  • We did not verify a per-model region selector, a data-residency guarantee or a data-flow map for Workers AI beyond what Cloudflare publishes.
  • We did not confirm the full model inventory or any aggregate model count, because Cloudflare publishes the catalogue model by model.
  • We did not review a SOC 2 report, penetration test, subprocessor list or DPA for either vendor. Plugsky's SOC 2 alignment is described in documentation available under NDA; confirm the scope.
  • We did not test a Workers-to-Plugsky migration. The checklist is a plan, not a completed cutover.
  • We did not verify current availability of image, audio or video endpoints on either platform; confirm the endpoint list in the docs before committing a roadmap.

Frequently asked questions

What is Cloudflare Workers AI?

It is serverless inference inside Cloudflare's network, callable from Workers through a binding or from anywhere through an OpenAI-compatible endpoint. Cloudflare bills compute in Neurons, at $0.011 per 1,000 Neurons, with 10,000 Neurons per day free on both the Free and Paid Workers plans.

Is Workers AI the same as Cloudflare AI Gateway?

No. AI Gateway is a control plane that sits in front of an upstream provider for caching, rate limiting, retries and analytics. Workers AI serves models itself. A gateway comparison belongs with Portkey, LiteLLM or Kong; an inference comparison belongs here.

Why look for a Workers AI alternative?

Teams usually want a broader catalogue, a flat bill instead of per-Neuron metering, higher or more predictable rate limits, or a deployment outside Cloudflare's network. Residency and on-premises requirements are the most common hard triggers.

Is Plugsky API-compatible with Workers AI clients?

Plugsky exposes OpenAI-compatible endpoints, so you replace the Workers binding with a standard HTTP client and change the base URL. Keep the model name in configuration, and replay fixtures before cutover because binding-specific options do not carry across.

Is there a free plan on Plugsky?

Yes. plugsky-micro and plugsky-lite are free with no credit card, with 100 requests and 50,000 tokens per day on accounts created from 2 November 2026. Older accounts keep their previous limits until migration. Paid plans carry a 7-day money-back guarantee.

How is Plugsky priced compared with Neurons?

Plugsky sells flat monthly plans: Hobby at $8, Starter at $20, Builder at $60 and Scale at $120. Builder and Scale have no monthly token cap and no per-token overage, subject to fair-use concurrency and RPM. Workers AI bills $0.011 per 1,000 Neurons above the daily free allocation.

Can I keep Cloudflare in the stack?

Yes. A common pattern is edge logic and lightweight classification on Workers, with heavier generation, reasoning and embeddings routed to Plugsky. Both sides speak OpenAI format, so fallback is a base URL and model-name change rather than a rewrite.

Does Plugsky run at the edge?

No. Plugsky serves from regional endpoints in Frankfurt, the UAE, Singapore and Virginia, with Riyadh on Enterprise only, plus private VPC, on-premises and air-gapped options by contract. It competes on catalogue, billing predictability and deployment control, not on edge proximity.

Related pages

Keep the edge, move the heavy work

Point one workload at a flat-plan OpenAI-compatible endpoint and compare it with your Neuron bill.

Start Free → See pricing

Sources

Cloudflare facts were read from Cloudflare's own documentation. Prices and limits change; confirm the current page before committing a budget.

Last checked 20 November 2026. Neuron pricing, rate limits and model availability change; re-read the pricing page before you commit. Plugsky plan numbers live at /pricing, residency terms at /questions/data-residency, and contract terms at /legal/terms. The API host used in this page is https://api.plugsky.com/v1; the docs also show https://plugsky.com/v1 as a documented alias.