Migrate
Migration guides
Move from any competing AI gateway / aggregator to AIgateway in under a minute. Same OpenAI-compatible API, broader catalog (text + image + video + audio + music + embed + rerank), 5% per call, no monthly fee, $5 free signup credit (selected models, 7-day window).
One-command migration
# install npm i -g aigateway-cli # rewrite any source automatically aig migrate openrouter aig migrate portkey aig migrate helicone # preview without writing aig migrate openrouter --dry-run
Per-source guides
OpenRouter
aig migrate readyDrop in for OpenRouter. Same OpenAI-compatible API, broader catalog (video / audio / music / 3D), lower platform fee on top-ups, evals + sub-accounts included.
/docs/migrate/openrouter →
Portkey
aig migrate readyPortkey-compatible gateway with 5% PAYG (no $49/mo flat), every modality (not just text), and a programmatic sub-account API instead of workspace-only keys.
/docs/migrate/portkey →
Helicone
aig migrate readyReplace Helicone's observability proxy with AIgateway. Same edge-level logging, no $79/mo flat fee, and you get routing + caching + every modality on top.
/docs/migrate/helicone →
LiteLLM (managed)
manual swapSame OpenAI-compatible surface, with a managed gateway instead of self-hosted. Skip the infra; keep the abstraction.
/docs/migrate/litellm →
Together AI
manual swapCheaper than Together on most open-weight models (we run them on CF edge), with the same OpenAI-compatible API, plus access to frontier closed models.
/docs/migrate/together →
Replicate
manual swapOpenAI-compatible alternative to Replicate's async-by-default model. Same access to FLUX / Stable Diffusion / Llama / etc., but sync chat completions and unified billing.
/docs/migrate/replicate →
Fireworks AI
manual swapDrop-in for Fireworks' OpenAI-compatible API. Bigger catalog (frontier closed models + every modality), same edge latency, lower platform fee on top-ups.
/docs/migrate/fireworks →
Requesty
manual swapSame free-tier wedge, plus sub-account API and cost-attribution tags that Requesty doesn't have. Pay-as-you-go after the free credits.
/docs/migrate/requesty →
Credit match
Email your last invoice from any of the above to switch@aigateway.sh. We match up to $1,000 within 24 hours. See /switch for the full list and terms.