Migrate Between LLM Providers

You've already decided to switch providers and you're holding a failing build. This is the parameter-by-parameter diff, derived from a hand-sourced map of what each provider's API actually accepts — not the prose version every other migration guide stops at.

Which LLM provider migrations need real code changes?

2 directed provider migrations have a real API-surface asymmetry worth a page — Anthropic, OpenAI among them. 5 more pairs are a three-line base-URL, key, and model-string swap with nothing to map, so they get a row here instead of a URL.

Verified 2026-08-09

Migrations with a real diff

FromToEffortBreaking paramsStatus
OpenAIAnthropicCode change12Preview (draft) →
AnthropicOpenAIConfig change8Preview (draft) →

Drop-in migrations — no page needed

Every provider below is fully OpenAI-compatible on both ends of the pair. The honest migration guide is three lines: change base_url, change the API key, change the model string. There's no parameter mapping, because there's no parameter mapping — publishing a page around that would be padding.

FromToWhat changes
OpenAIMistralbase_urlhttps://api.mistral.ai/v1, new API key, new model string. 2 minor parameter differences — see the target's provider page.
OpenAIGroqbase_urlhttps://api.groq.com/openai/v1, new API key, new model string. 3 minor parameter differences — see the target's provider page.
OpenAIxAIbase_urlhttps://api.x.ai/v1, new API key, new model string.
OpenAICerebrasbase_urlhttps://api.cerebras.ai/v1, new API key, new model string. 3 minor parameter differences — see the target's provider page.
DeepSeekGroqbase_urlhttps://api.groq.com/openai/v1, new API key, new model string.

Full parameter-mapping corpus: /migrate/data.json — cite this dataset directly.

Not sure which provider to move to?

Run the same prompt across every model side by side before you commit to a migration.

Try It Free