Databases · head to head
Memcached vs Portkey
Memcached
Databases
Distributed memory object caching system
- 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
- Memcached is free; Portkey prices on request.
- Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
How do Memcached and Portkey differ?
Memcached and Portkey differ on starting price (Free against On request), free tier (Yes against No) and platforms. Only the attributes on which Memcached and Portkey actually diverge.
Not yet recorded: pricing model for Portkey, founded for Portkey.
Which features does each one have?
They share no listed features; 4 appear only for Memcached. 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 Memcached
- In-memory key-value cache
- Multithreaded
- Client-side sharding
- Predictable memory use
Only in Portkey
Nothing recorded that Memcached does not also cover.
What is each one used for?
Memcached is most often brought in for caching expensive database query results to cut load; Portkey for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.
Memcached
- Caching expensive database query results to cut loadnot Portkey
- Session storage where losing sessions on restart is acceptablenot Portkey
- Fronting an API whose responses are costly and change slowlynot Portkey
Portkey
- Accessing 1,600+ language models through unified API gatewaynot Memcached
- Monitoring and observing LLM behavior in production environmentsnot Memcached
- Managing costs and setting budget limits for AI spendingnot Memcached
- Implementing guardrails and PII redaction for secure AI interactionsnot Memcached
Where do Memcached and Portkey fall short?
Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Memcached
- No persistence at all: restart a node and its cache is gone, which every design must assume
- No replication or failover, so losing a node loses that share of the cache
- Only simple key-value, with none of the lists, sorted sets or streams Redis offers
- Values are capped at 1MB by default, which surprises teams caching large documents
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 Memcached and Portkey cost?
Memcached is free to use. Plan by plan below, from each vendor's own pricing page.
Memcached
Free- MemcachedFree
- Full functionality
- Self-hosted
- No usage limits
Portkey
On requestNo published plan breakdown. See the Portkey review.
Which should you pick?
Choose Memcached if
- You need in-memory key-value cache.
- You want to start without paying.
- You work on Linux, macOS, Windows, Self-hosted.
- You also want multithreaded.
Choose Portkey if
Nothing in the data separates Portkey from Memcached on the points above - pick on price and on how each one feels to use.
Questions people ask
- Is Memcached or Portkey better?
- It depends on the job. Memcached fits caching expensive database query results to cut load; Portkey fits accessing 1,600+ language models through unified API gateway. Memcached starts at Free and Portkey at On request.
- Which is cheaper, Memcached or Portkey?
- Memcached has a free tier; the other does not. Paid plans start at Free for Memcached and On request for Portkey.
- Does Memcached or Portkey run on more platforms?
- Memcached runs on Linux, macOS, Windows, Self-hosted. Portkey runs on Web.
- Can I use Memcached for free?
- Yes. Memcached has a free tier, so you can try it without paying. Portkey starts at On request.
- What is Memcached best used for?
- Memcached is most often used for caching expensive database query results to cut load, session storage where losing sessions on restart is acceptable, fronting an api whose responses are costly and change slowly. Of those, caching expensive database query results to cut load and session storage where losing sessions on restart is acceptable are not what Portkey is typically brought in for.
- What can Memcached do that Portkey cannot?
- Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use.
Answered from the vendors’ own pages
Memcached: Is Memcached free?
Yes, open source with no licence fee.
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
SourceMemcached: Memcached or Redis?
Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.
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
SourceMemcached: Does Memcached persist data?
No. Everything is in memory and lost on restart, by design.
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
Other head to heads
- Memcached vs Valkey
- Memcached vs Readyset
- Memcached vs Amazon ElastiCache
- Memcached vs Redis
- Memcached vs Dragonfly
- Memcached vs PostgreSQL
- Memcached vs DuckDB
- Memcached vs Apache Pulsar
- Memcached vs NATS
- Memcached vs MySQL
- Memcached vs VictoriaMetrics
- Memcached vs Dgraph
- Memcached vs Google Cloud SQL
- Memcached vs MotherDuck
- Memcached vs Presto
- Memcached vs TIBCO Enterprise Message Service
- Memcached vs VerneMQ
- Memcached vs DynamoDB
- Memcached vs LiteLLM
- Memcached vs Kong Gateway
- Memcached vs Apigee
- Memcached vs Tink
- Memcached vs AWS API Gateway
- Memcached vs WSO2 API Manager
- Memcached vs Treblle
- Memcached vs Volt
- Memcached vs 3scale
- Memcached vs Akana
- Memcached vs Mambu
- Memcached vs TrueLayer
- Memcached vs Basis Theory
- Memcached vs curl
- Memcached vs Flybits
- Memcached vs Moesif
- Memcached vs Neonomics
- Memcached vs Novu
- Portkey vs Valkey
- Portkey vs Readyset
- Portkey vs Amazon ElastiCache
- Portkey vs Redis
- Portkey vs Dragonfly
- Portkey vs PostgreSQL
- Portkey vs DuckDB
- Portkey vs Apache Pulsar
- Portkey vs NATS
- Portkey vs MySQL
- Portkey vs VictoriaMetrics
- Portkey vs Dgraph
- Portkey vs Google Cloud SQL
- Portkey vs MotherDuck
- Portkey vs Presto
- Portkey vs TIBCO Enterprise Message Service
- Portkey vs VerneMQ
- Portkey vs DynamoDB
- 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 Basis Theory
- Portkey vs curl
- Portkey vs Flybits
- Portkey vs Moesif
- Portkey vs Neonomics
- Portkey vs Novu
