APIs · head to head
Cloudflare Workers vs Portkey

Cloudflare Workers
APIs
Serverless compute on Cloudflare's network, free to start and $5 a month minimum on the paid plan
- From
- Free
- Free plan
- Yes

Portkey
APIs
Observe, govern, and secure every AI interaction across your enterprise
- From
- On request
- Free plan
- No
The short version
- Cloudflare Workers starts at $5/mo; Portkey prices on request.
- Where Cloudflare Workers falls short: free has a 10 ms CPU cap.
How do Cloudflare Workers and Portkey differ?
Cloudflare Workers and Portkey differ on starting price (Free against On request), free tier (Yes against No) and platforms. Only the attributes on which Cloudflare Workers and Portkey actually diverge.
| Attribute | Cloudflare Workers | Portkey |
|---|---|---|
| Starting price | Free | On request |
| Free tier | Yes | No |
| Platforms | Web, Linux, macOS, Windows | Web |
Not yet recorded: pricing model for Portkey, category for Cloudflare Workers.
Which features does each one have?
They share no listed features; 6 appear only for Cloudflare Workers. 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 Portkey
Nothing recorded that Cloudflare Workers does not also cover.
What is each one used for?
Cloudflare Workers is most often brought in for A low-latency API or middleware; Portkey for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.
Cloudflare Workers
- A low-latency API or middlewarenot Portkey
- A full-stack app with static assetsnot Portkey
- A cron-driven data jobnot Portkey
- Rewriting or protecting traffic at the edgenot Portkey
Portkey
- Accessing 1,600+ language models through unified API gatewaynot Cloudflare Workers
- Monitoring and observing LLM behavior in production environmentsnot Cloudflare Workers
- Managing costs and setting budget limits for AI spendingnot Cloudflare Workers
- Implementing guardrails and PII redaction for secure AI interactionsnot Cloudflare Workers
Where do Cloudflare Workers and Portkey 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
Portkey
- The free Developer tier records only 10,000 logs per month with 3 day log retention; the $49 per month Production tier raises that to 100,000 logs with $9 per additional 100,000 requests, as of August 2026
- The product is now sold to enterprises as Palo Alto Networks' Prisma AIRS AI Gateway, and the old pricing page redirects to Palo Alto content
How much do Cloudflare Workers and Portkey cost?
Cloudflare Workers has a free plan, with paid plans from $5/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
Portkey
On requestNo published plan breakdown. See the Portkey review.
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 Portkey if
Nothing in the data separates Portkey from Cloudflare Workers on the points above - pick on price and on how each one feels to use.
Questions people ask
- Is Cloudflare Workers or Portkey better?
- It depends on the job. Cloudflare Workers fits a low-latency API or middleware; Portkey fits accessing 1,600+ language models through unified API gateway. Cloudflare Workers starts at Free and Portkey at On request.
- Which is cheaper, Cloudflare Workers or Portkey?
- Cloudflare Workers has a free tier; the other does not. Paid plans start at Free for Cloudflare Workers and On request for Portkey.
- Does Cloudflare Workers or Portkey run on more platforms?
- Cloudflare Workers runs on Web, Linux, macOS, Windows. Portkey runs on Web.
- Can I use Cloudflare Workers for free?
- Yes. Cloudflare Workers has a free tier, so you can try it without paying. Portkey starts at On request.
- 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 Portkey is typically brought in for.
- What can Cloudflare Workers do that Portkey cannot?
- Cloudflare Workers covers Edge execution, Workers KV, Durable Objects, Hyperdrive.
Answered from the vendors’ own pages
Cloudflare Workers: Is Cloudflare Workers free?
Yes, with 100,000 requests a day.
Portkey: What happens if I exceed my Portkey plan's request limit?
Production tier ($49/month) charges $9 per additional 100,000 requests beyond the included 100,000. Enterprise customers have custom limits determined through their service agreement. Source: https://portkey.ai/pricing
SourceCloudflare Workers: What does Paid cost?
A $5 monthly minimum plus usage.
Portkey: Can I self-host Portkey to avoid per-request billing?
Yes. Portkey offers an Open Source self-hosted version with unlimited requests at no cost, including universal API, routing, guardrails, and load balancing features. Source: https://portkey.ai/pricing
SourceCloudflare Workers: Are static assets charged?
No, they are free and unlimited.
Portkey: How long does Portkey retain my logs and metrics?
Free Developer tier retains logs 3 days and metrics 30 days. Production tier retains logs 30 days and metrics 90 days. Enterprise tier offers custom retention periods. Source: https://portkey.ai/pricing
SourcePortkey: What compliance features are included in the Enterprise plan?
Enterprise tier includes SOC2 Type 2 certification, GDPR compliance, HIPAA compliance, VPC hosting, SSO, advanced guardrails, and dedicated support. Custom pricing required. Source: https://portkey.ai/pricing
SourceRelated pages
More on Cloudflare Workers
Other head to heads
- Cloudflare Workers vs PartyKit
- Cloudflare Workers vs WebStorm
- Cloudflare Workers vs Particle
- Cloudflare Workers vs AWS Serverless Application Model (AWS SAM)
- Cloudflare Workers vs Postman
- Cloudflare Workers vs Swagger UI
- Cloudflare Workers vs Proxyman
- Cloudflare Workers vs Deno
- Cloudflare Workers vs Atlantis
- Cloudflare Workers vs LocalStack
- Cloudflare Workers vs Turborepo
- Cloudflare Workers vs Terraform
- Cloudflare Workers vs Claude Code
- Cloudflare Workers vs Keycloak
- Cloudflare Workers vs Cody
- Cloudflare Workers vs GitLab
- Cloudflare Workers vs GitHub
- Cloudflare Workers vs AWS CodeBuild
- Cloudflare Workers vs LiteLLM
- Cloudflare Workers vs Kong Gateway
- Cloudflare Workers vs Apigee
- Cloudflare Workers vs Tink
- Cloudflare Workers vs AWS API Gateway
- Cloudflare Workers vs WSO2 API Manager
- Cloudflare Workers vs Treblle
- Cloudflare Workers vs Volt
- Cloudflare Workers vs 3scale
- Cloudflare Workers vs Akana
- Cloudflare Workers vs Mambu
- Cloudflare Workers vs TrueLayer
- Cloudflare Workers vs Zimpler
- Cloudflare Workers vs api.video
- Cloudflare Workers vs Basis Theory
- Cloudflare Workers vs curl
- Cloudflare Workers vs Flybits
- Cloudflare Workers vs Moesif
- Portkey vs PartyKit
- Portkey vs WebStorm
- Portkey vs Particle
- Portkey vs AWS Serverless Application Model (AWS SAM)
- Portkey vs Postman
- Portkey vs Swagger UI
- Portkey vs Proxyman
- Portkey vs Deno
- Portkey vs Atlantis
- Portkey vs LocalStack
- Portkey vs Turborepo
- Portkey vs Terraform
- Portkey vs Claude Code
- Portkey vs Keycloak
- Portkey vs Cody
- Portkey vs GitLab
- Portkey vs GitHub
- Portkey vs AWS CodeBuild
- Portkey vs LiteLLM
- Portkey vs Kong Gateway
- Portkey vs Apigee
- Portkey vs Tink
- Portkey vs AWS API Gateway
- Portkey vs WSO2 API Manager
- Portkey vs Treblle
- Portkey vs Volt
- Portkey vs 3scale
- Portkey vs Akana
- Portkey vs Mambu
- Portkey vs TrueLayer
- Portkey vs Zimpler
- Portkey vs api.video
- Portkey vs Basis Theory
- Portkey vs curl
- Portkey vs Flybits
- Portkey vs Moesif
