Comparison

Portkey vs Vigil

What Portkey does and what Vigil does, side by side. Every Portkey fact below was read on Portkey's own pages on 2026-10-09, its pricing and status again on 2026-11-16, and links to the page it came from; a feature its pages do not mention is marked “not stated”, never “no”. Where Portkey is stronger, this page says so.

What Portkey is, and what Vigil is

Portkey, in its own words: “AI Gateway, Observability, Guardrails, Governance, and Prompt Management, all in one platform.”portkey.ai. Gateway: the Portkey SDK, or the OpenAI SDK pointed at Portkey’s gateway URL with an x-portkey-provider header.

Vigil is a proxy for AI API calls. Change one base URL, add one header, and every call is logged with its cost, tokens, latency, errors and agent, then forwarded unchanged unless you switch on an optimisation. Prompt caching, where the provider supports it, never changes answers. History trimming and model routing can change answers: both are opt-in, run in Shadow first, and stop automatically if errors, cut-off answers or failed answers rise. It stores no prompt text and caches no responses.

  • Portkey says: Developer plan: "Not suitable for production workloads."portkey.ai
  • Portkey says: Production plan: "Not recommended for organizations requiring custom security controls or data residency guarantees."portkey.ai

What happened to Portkey

Palo Alto Networks announced on 30 April 2026 that it would acquire Portkey, and on 29 May 2026 that it had: "today announced it has closed the acquisition of Portkey, a pioneer in AI Gateways", "establishing Portkey as the core AI Gateway for Prisma AIRS, the comprehensive AI security platform." On 16 November 2026 portkey.ai carried the banner "Portkey is now PRISMA AIRS AI Gateway, generally available for all enterprises." The product, docs and pricing page were live that day and the tiers unchanged.

Sources, read 2026-11-16: Palo Alto Networks press release, 29 May 2026 · Palo Alto Networks press release, 30 April 2026 · portkey.ai banner, 16 November 2026

Feature by feature

The Portkey column was read on Portkey's own pages on 2026-10-09, and the cells marked “re-read” again on 2026-11-16; each cell links to the page. “Not stated” means the pages read do not mention it, which is not the same as “no”. The Vigil column is read from Vigil's code and docs.

FeaturePortkeyVigil
Integration"Integrate Portkey in just 3 lines of code"; OpenAI SDK with base_url set to the gateway.portkey.aiProxy. Change the base URL and add the X-Vigil-Key header; no SDK.
Open sourceThe gateway is MIT; the README lists key management, semantic caching, access control and PII redaction as enterprise-only.github.comNo. Vigil is not open source.
HostingCloud, self-hosted open-source gateway, and private cloud deployments on AWS, Azure, GCP.portkey.aiCloud only: a Cloudflare Worker in front of the provider, a dashboard on Vercel, data in Supabase (Frankfurt, EU).
Cost per callYes: each log shows "tokens generated, thinking tokens and cost"; analytics across "21+ key metrics".portkey.aiYes: cost, tokens, latency, status and agent on every call, from a rate registry where every rate carries its source, date and provenance; a dash where no rate is published.
Providers"Portkey lets you access 1,600+ LLMs via a unified API"; the README also says "45+ providers" and "250+ LLMs".portkey.ai17 providers routed by segment.
Prompt cachingPasses your markers through ("Just set the cache_control param in your respective message body") and, re-read 2026-11-16, can add one: with auto_caching on, "The gateway adds a top-level cache_control: { "type": "ephemeral" } to the request."portkey.aiCreates cache hits: Anthropic, Google Vertex, Mistral get cache markers placed by Vigil when optimisation is on; AWS Bedrock when the request carries an API key rather than a SigV4 signature. On other providers Vigil records the provider’s own caching.
Response cachingYes: simple (exact) caching on all plans; semantic caching "only available on select Enterprise plans".portkey.aiNo. Vigil does not cache responses.
Routing and fallbacksFallbacks, weighted load balancing across keys and providers, automatic retries up to 5 times.github.comModel routing is in beta: Sends a call to a cheaper model from the same provider — one tier down, or the same tier's newer, cheaper model — when its answer is closed-form and checkable (a label, JSON or other data, a number, code to a named function or test, or a request with tools), its prompt is at most about 16,000 tokens, its opening's size and tools are in a band the agent's routing level covers and the cheaper model can take the request. Open-ended work without tools — writing, summaries, reviews, explanations, chat — stays on the original model, and once a call of a conversation stays there, the later ones do too; a later call the cheaper model can't take stays on the original model. On OpenAI it measures, in Shadow only, which GPT-5.6 Luna calls GPT-6 Luna — the same tier's newer, cheaper model — could take, by the kind of request; a request with tools never moves. Routing can change answers, so it runs in Shadow first. No provider fallbacks or load balancing.
Prompt managementYes: versioning, labels, a playground and a Prompt API.portkey.aiNo prompt management or versioning.
EvalsFeedback values and weights on requests. No evaluation feature on the pages read.portkey.aiNo evaluations. A score can be sent for a call through the feedback endpoint.
Tracing"Portkey supports request tracing".portkey.aiOne record per call. No spans or traces.
AlertsListed under the Production plan’s observability; the alerts doc returned 404 on the day read.portkey.aiCost spikes, failures and findings are flagged in the dashboard. Nothing is sent by email, Slack or push.
Prompt injection and PIIGuardrails scan for prompt injection and can redact PII, with partner checks; a denied request is "killed with a 446 status code". Available on all plans with more checks higher up.portkey.aiFlags likely prompt injections and personal data in prompts, on every plan. Nothing is blocked or redacted.
Budgets and rate limitsBudgets in USD or tokens and rate limits per minute, hour or day: "Available on Enterprise plan and select Pro customers".portkey.aiNo spend caps or rate limits on your provider traffic. Optimisation can be switched off per agent.
SeatsRBAC and service-account keys on Production; SSO and organisation management on Enterprise. Seat counts not stated.portkey.aiSeats per plan: 1 on Free, 3 on Plus, unlimited from Pro. Teammates are invited; there are no role tiers.
Compliance"compliant with leading security standards, including SOC2, ISO27001, GDPR, and HIPAA".portkey.aiNo SOC 2 or ISO 27001 report. A DPA is published.
Data residencyNot stated on the pages read.Account and telemetry stored in the EU (Supabase, Frankfurt). The proxy runs on Cloudflare’s edge. No prompt text or responses are stored.

Where Portkey is stronger

  • An open-source gateway you can self-host, and private cloud deployments.
  • Response caching, fallbacks, weighted load balancing and retries.
  • Prompt management with versioning and a playground.
  • Guardrails that redact or block, budgets and rate limits, and SOC2, ISO27001 and HIPAA claims.

Where Vigil differs

  • It creates prompt-cache hits rather than reporting them, on the providers whose caching lets a proxy place markers, and measures what caching would have saved on the others.
  • Every rate it prices with carries its source, its retrieval date and a provenance label, and a cost it cannot stand behind is a dash, not a number.
  • Monitoring is not gated by plan: every agent, every provider, on Free. Paid plans switch optimisation on.
  • It does less: no response cache, no evals, no prompt management, no traces, no alerts outside the dashboard.

Pricing, side by side

Portkeyportkey.ai read 2026-11-16

  • Open Source Self-host: no request limit; gateway, routing, guardrails, basic dashboard
  • Developer Free: 10k recorded logs a month, 3 days of logs, 30 days of metrics, 3 prompt templates
  • Production $49/mo: 100k recorded logs a month, $9 per additional 100k; 30 days of logs, 90 days of metrics; alerts, RBAC
  • Enterprise Custom: 10 million+ logs, custom retention, SOC2 Type 2, private cloud, semantic caching

The page mixes "logs" and "requests" for the same limit; the figures are as printed. Tiers re-read 2026-11-16: unchanged.

Vigil vigil.tools/pricing

  • Free $0: every agent monitored; 10,000 logged calls a month, 7 days of history; every optimisation On until $30 saved, once ever, then a 30-day grace, then Shadow only
  • Plus $29/mo: every optimisation On up to $100 saved a billing month, then a 30-day grace, then Shadow; 500,000 logged calls, 30 days
  • Pro $99/mo: every optimisation On up to $500 saved a billing month, then a 30-day grace, then Shadow; 2,000,000 logged calls, 90 days
  • Supreme $299/mo: every optimisation On up to $2,000 saved a billing month, then a 30-day grace, then Shadow; Unlimited logged calls, 365 days
  • Enterprise Custom: by contract

Monthly, excl. VAT. Monitoring is free on every plan; what a paid plan buys is a higher limit on the money Vigil saves you per billing period before optimisations go to Shadow (after a 30-day grace).

Questions

Is Portkey still available?
Yes. Palo Alto Networks closed its acquisition of Portkey on 29 May 2026 and is "establishing Portkey as the core AI Gateway for Prisma AIRS"; on 16 November 2026 portkey.ai read "Portkey is now PRISMA AIRS AI Gateway, generally available for all enterprises", with the Developer, Production and Enterprise tiers still listed at the same prices.
Who acquired Portkey?
Palo Alto Networks. It announced the intent on 30 April 2026 and the closing on 29 May 2026, in press releases on its own site; the price was not disclosed there.
Does Vigil replace Portkey?
Partly. Both sit in the request path behind a base-URL change and price every call. Vigil does not offer Portkey’s response cache, fallbacks and load balancing, guardrails that block or redact, prompt management or private-cloud deployment; what it adds is placing prompt-cache markers itself and a free monitoring tier with no log cap by plan.

Other comparisons: Helicone vs Vigil · LiteLLM vs Vigil · Langfuse vs Vigil · OpenRouter vs Vigil