APIs · head to head
Portkey vs Scalar

Portkey
APIs
Observe, govern, and secure every AI interaction across your enterprise
- From
- On request
- Free plan
- No

Scalar
Documentation
Open source API reference renderer and request client generated entirely from an OpenAPI document
- From
- Free
- Free plan
- Yes
The short version
- Scalar is free; Portkey prices on request.
How do Portkey and Scalar differ?
Portkey and Scalar differ on starting price (On request against Free), free tier (No against Yes) and platforms. Only the attributes on which Portkey and Scalar actually diverge.
Not yet recorded: pricing model for Portkey.
Which features does each one have?
They share no listed features; 7 only for Scalar. 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 Portkey
Nothing recorded that Scalar does not also cover.
Only in Scalar
- OpenAPI driven reference
- Embedded API client
- Generated code samples
- Framework adapters
- Themeable renderer
- Self hostable
- Spec validation
What is each one used for?
Portkey is most often brought in for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.
Portkey
- Accessing 1,600+ language models through unified API gatewaynot Scalar
- Monitoring and observing LLM behavior in production environmentsnot Scalar
- Managing costs and setting budget limits for AI spendingnot Scalar
- Implementing guardrails and PII redaction for secure AI interactionsnot Scalar
Scalar
- Replacing default Swagger UI on a public API without moving to a hosted documentation vendornot Portkey
- A framework that already emits an OpenAPI document and needs a reference page mounted on a routenot Portkey
- An internal API portal that must run inside a private network with no external callsnot Portkey
- A team that wants readers to make authenticated test calls without leaving the reference pagenot Portkey
Where do Portkey and Scalar fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
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
Scalar
- It documents only what an OpenAPI document can express, so guides, authentication walkthroughs and conceptual pages need a second tool and a second navigation
- The output is only as good as the spec, so an API with thin descriptions and missing examples produces a thin reference and the tool cannot compensate
- Deep visual customisation goes beyond the theme variables quickly, and matching an existing brand often means overriding styles against internal class names that can change
- Running the embedded client against a production API invites readers to send real requests, which means rate limits, test accounts and CORS configuration become your problem
- The open source renderer and the hosted platform advance at different rates, so a feature seen in a demo is not necessarily in the package you self host
How much do Portkey and Scalar cost?
Scalar is free to use. Plan by plan below, from each vendor's own pricing page.
Portkey
On requestNo published plan breakdown. See the Portkey review.
Scalar
Free- Open source rendererFree
- MIT licence, no fee for the renderer
- Embedded request client
- Framework adapters
Which should you pick?
Choose Portkey if
Nothing in the data separates Portkey from Scalar on the points above - pick on price and on how each one feels to use.
Choose Scalar if
- You need openapi driven reference.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux.
- You also want embedded api client.
Questions people ask
- Is Portkey or Scalar better?
- It depends on the job. Portkey fits accessing 1,600+ language models through unified API gateway; Scalar fits replacing default Swagger UI on a public API without moving to a hosted documentation vendor. Portkey starts at On request and Scalar at Free.
- Which is cheaper, Portkey or Scalar?
- Scalar has a free tier; the other does not. Paid plans start at On request for Portkey and Free for Scalar.
- Does Portkey or Scalar run on more platforms?
- Portkey runs on Web. Scalar runs on Web, macOS, Windows, Linux.
- Can I use Scalar for free?
- Yes. Scalar has a free tier, so you can try it without paying. Portkey starts at On request.
- What is Portkey best used for?
- Portkey is most often used for accessing 1,600+ language models through unified api gateway, monitoring and observing llm behavior in production environments, managing costs and setting budget limits for ai spending, implementing guardrails and pii redaction for secure ai interactions. Of those, accessing 1,600+ language models through unified api gateway and monitoring and observing llm behavior in production environments are not what Scalar is typically brought in for.
- What can Portkey do that Scalar cannot?
- Scalar covers OpenAPI driven reference, Embedded API client, Generated code samples, Framework adapters.
Answered from the vendors’ own pages
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
SourceScalar: Can I use it without paying anything?
Yes. The renderer is open source and self hostable. The hosted platform is a separate paid product.
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
SourceScalar: Does it replace a full documentation site?
No. It covers API reference. Guides and concepts need a general documentation generator alongside it.
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
SourceScalar: Will my reference go out of date?
Only if your OpenAPI document does. The reference is generated, so there is no second copy to forget.
Portkey: 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
SourceScalar: Does the embedded client send real requests?
Yes, from the reader browser. Plan for CORS, rate limits and a sandbox environment before publishing.
Scalar: What if my API has no OpenAPI document?
Then this is the wrong tool. Producing an accurate spec is the prerequisite, not an optional step.
Related pages
Other head to heads
- 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
- Portkey vs ReadMe
- Portkey vs Bump.sh
- Portkey vs Redocly
- Portkey vs Fumadocs
- Portkey vs Doxygen
- Portkey vs Mintlify
- Portkey vs Starlight
- Portkey vs Archbee
- Portkey vs Docsify
- Portkey vs Outline
- Portkey vs BookStack
- Portkey vs Nuclino
- Portkey vs Confluence
- Portkey vs HelpDocs
- Portkey vs Paligo
- Portkey vs Slab
- Portkey vs VitePress
- Portkey vs Sphinx
- Scalar vs LiteLLM
- Scalar vs Kong Gateway
- Scalar vs Apigee
- Scalar vs Tink
- Scalar vs AWS API Gateway
- Scalar vs WSO2 API Manager
- Scalar vs Treblle
- Scalar vs Volt
- Scalar vs 3scale
- Scalar vs Akana
- Scalar vs Mambu
- Scalar vs TrueLayer
- Scalar vs Basis Theory
- Scalar vs curl
- Scalar vs Flybits
- Scalar vs Moesif
- Scalar vs Neonomics
- Scalar vs Novu
- Scalar vs ReadMe
- Scalar vs Bump.sh
- Scalar vs Redocly
- Scalar vs Fumadocs
- Scalar vs Doxygen
- Scalar vs Mintlify
- Scalar vs Starlight
- Scalar vs Archbee
- Scalar vs Docsify
- Scalar vs Outline
- Scalar vs BookStack
- Scalar vs Nuclino
- Scalar vs Confluence
- Scalar vs HelpDocs
- Scalar vs Paligo
- Scalar vs Slab
- Scalar vs VitePress
- Scalar vs Sphinx
