Databases · head to head
CockroachDB vs Portkey

CockroachDB
Databases
The cloud-native distributed SQL database
- 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
- CockroachDB is a cloud-native distributed SQL database.
- CockroachDB starts at $0.057/mo; Portkey prices on request.
- Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).
How do CockroachDB and Portkey differ?
CockroachDB and Portkey differ on starting price (Free against On request), free tier (Yes against No) and platforms (AWS, GCP, Azure against Web). Only the attributes on which CockroachDB and Portkey actually diverge.
| Attribute | CockroachDB | Portkey |
|---|---|---|
| Starting price | Free | On request |
| Free tier | Yes | No |
| Platforms | AWS, GCP, Azure | Web |
| Category | Databases | APIs |
Not yet recorded: pricing model for Portkey, founded for Portkey.
Which features does each one have?
They share no listed features; 20 appear only for CockroachDB. 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 CockroachDB
- Distributed SQL
- Automatic Sharding
- Multi-region Replication
- Geo-partitioning
- ACID Transactions
- Horizontal Scaling
- Survivability
- PostgreSQL Compatibility
Only in Portkey
Nothing recorded that CockroachDB does not also cover.
What is each one used for?
CockroachDB is most often brought in for distributed SQL database for scalable applications; Portkey for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.
CockroachDB
- Distributed SQL database for scalable applicationsnot Portkey
- Multi-region deployment and failovernot Portkey
Portkey
- Accessing 1,600+ language models through unified API gatewaynot CockroachDB
- Monitoring and observing LLM behavior in production environmentsnot CockroachDB
- Managing costs and setting budget limits for AI spendingnot CockroachDB
- Implementing guardrails and PII redaction for secure AI interactionsnot CockroachDB
Where do CockroachDB and Portkey fall short?
CockroachDB's most cited limit: basic and Standard tiers limited to AWS and GCP (select regions only). Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
CockroachDB
- Basic and Standard tiers limited to AWS and GCP (select regions only)
- Azure support restricted to Advanced tier only
- Basic tier limited to 50 million RUs and 10 GiB storage per month
- Advanced tier starts at $0.60/hour for 4 vCPUs minimum
- 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced
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 CockroachDB and Portkey cost?
CockroachDB has a free plan, with paid plans from $0.057/mo. Plan by plan below, from each vendor's own pricing page.
CockroachDB
Free- Standard$0.057/vcpu-hour
- Mission Critical$0.162/vcpu-hour
Portkey
On requestNo published plan breakdown. See the Portkey review.
Which should you pick?
Choose CockroachDB if
- You need distributed sql.
- You want to start without paying.
- You work on AWS, GCP, Azure.
- You also want automatic sharding.
Choose Portkey if
Nothing in the data separates Portkey from CockroachDB on the points above - pick on price and on how each one feels to use.
Questions people ask
- Is CockroachDB or Portkey better?
- It depends on the job. CockroachDB fits distributed SQL database for scalable applications; Portkey fits accessing 1,600+ language models through unified API gateway. CockroachDB starts at Free and Portkey at On request.
- Which is cheaper, CockroachDB or Portkey?
- CockroachDB has a free tier; the other does not. Paid plans start at Free for CockroachDB and On request for Portkey.
- Does CockroachDB or Portkey run on more platforms?
- CockroachDB runs on AWS, GCP, Azure. Portkey runs on Web.
- Can I use CockroachDB for free?
- Yes. CockroachDB has a free tier, so you can try it without paying. Portkey starts at On request.
- What is CockroachDB best used for?
- CockroachDB is most often used for distributed sql database for scalable applications, multi-region deployment and failover. Of those, distributed sql database for scalable applications and multi-region deployment and failover are not what Portkey is typically brought in for.
- What can CockroachDB do that Portkey cannot?
- CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning.
Answered from the vendors’ own pages
CockroachDB: What does the free Basic tier include?
The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.
SourcePortkey: 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
SourceCockroachDB: How much do the paid tiers cost?
Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.
SourcePortkey: 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
SourceCockroachDB: What are the storage limits for each tier?
Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.
SourcePortkey: 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
SourceCockroachDB: Can I get trial credits before paying?
Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.
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
SourceCockroachDB: Do legacy contracts have different pricing?
Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.
SourceRelated pages
More on CockroachDB
Other head to heads
- CockroachDB vs YugabyteDB
- CockroachDB vs PostgreSQL
- CockroachDB vs SingleStore
- CockroachDB vs Google Cloud SQL
- CockroachDB vs Amazon Aurora
- CockroachDB vs Neon
- CockroachDB vs Oracle Database
- CockroachDB vs TiDB
- CockroachDB vs Azure Cosmos DB
- CockroachDB vs Nile
- CockroachDB vs Aiven
- CockroachDB vs Cassandra
- CockroachDB vs Meilisearch
- CockroachDB vs MongoDB Atlas
- CockroachDB vs NATS
- CockroachDB vs Pinecone
- CockroachDB vs Solace PubSub+
- CockroachDB vs Google Cloud Spanner
- CockroachDB vs LiteLLM
- CockroachDB vs Kong Gateway
- CockroachDB vs Apigee
- CockroachDB vs Tink
- CockroachDB vs AWS API Gateway
- CockroachDB vs WSO2 API Manager
- CockroachDB vs Treblle
- CockroachDB vs Volt
- CockroachDB vs 3scale
- CockroachDB vs Akana
- CockroachDB vs Mambu
- CockroachDB vs TrueLayer
- CockroachDB vs Basis Theory
- CockroachDB vs curl
- CockroachDB vs Flybits
- CockroachDB vs Moesif
- CockroachDB vs Neonomics
- CockroachDB vs Novu
- Portkey vs YugabyteDB
- Portkey vs PostgreSQL
- Portkey vs SingleStore
- Portkey vs Google Cloud SQL
- Portkey vs Amazon Aurora
- Portkey vs Neon
- Portkey vs Oracle Database
- Portkey vs TiDB
- Portkey vs Azure Cosmos DB
- Portkey vs Nile
- Portkey vs Aiven
- Portkey vs Cassandra
- Portkey vs Meilisearch
- Portkey vs MongoDB Atlas
- Portkey vs NATS
- Portkey vs Pinecone
- Portkey vs Solace PubSub+
- Portkey vs Google Cloud Spanner
- 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
