Skip to main content
Migration guide

Move off Portkey
in one command.

$ jbang portkey-to-dvara@dvarahq config.json
config.jsonyour Portkey configportkey-to-dvaraone command · secondsgateway.yaml + reportwhat maps, what to rebuildYour appnew base URL + keyDVARAaudit · policy · PII on every callPortkey · kept as rollback

Three steps

  1. 1

    Convert

    Run the command on your config.json. Read the report.

  2. 2

    Point one workload

    Change its base URL and key, and stop sending the x-portkey-* headers.

  3. 3

    Test, then move

    Keep Portkey running as the rollback until the numbers hold.

The importer converts

  • Targets and providers
  • Fallback and load balancing
  • Model overrides
  • Conditional routing on model
  • PII and prompt-injection checks
  • Retries and timeouts

You rebuild

  • Keys in Portkey’s vault
  • Caching
  • Other guardrails and webhooks
  • Configs saved only in the Portkey app

Open source, Apache 2.0, never copies a secret. View on GitHub · Compare DVARA and Portkey

What every call gets

Open Source + Enterprise

Tamper-evident audit

A signed record of every call, once enabled.

Open Source + Enterprise

Policy and PII checks

Run before the provider sees the call.

Enterprise

Looping agents stopped

Repeated tool calls and hops refused.

Open Source + Enterprise

Same OpenAI API

Routes, retries and failover included.

Questions

Is changing the base URL enough?

Change the base URL and key, and drop the x-portkey-* headers: DVARA takes its key as an Authorization bearer token and ignores the rest. Caching and other guardrails still need rebuilding, so test the paths your application uses first.

What does the importer need?

Only JBang, which downloads Java 25 if you don’t have it. It reads a config JSON file, an array or a folder of configs; copy configs saved in the Portkey app to a file first. It makes no network calls and never copies a secret.

What about keys in Portkey’s vault?

The importer can’t read the vault. It names an environment variable for each provider key and the report lists which vault entry to copy into it.

Which DVARA distribution should I use?

Open Source for a file-configured LLM Gateway. Enterprise for Flightdeck, managed workspaces and the MCP and A2A planes; it runs without a licence in Development, within 3 workspaces and 100,000 governed calls a month.

Move one real workload first.

Bring your config.json. In 20 minutes we walk through the report and the rollback with you.