20 step-by-step guides · OpenAI-compatible

Switch to Railwail

Drop-in migration guides from every major AI provider. Code samples in TypeScript, Python and cURL. EU hosting, EUR billing, 275+ models behind one API key.

Pick your current provider

Each guide is 1500-2500 words with API endpoint mapping, model mapping, pricing table, code samples, and an FAQ.

See all providers
Multi
2 min
Migrate from OpenAI
Change two lines, keep your SDK, unlock 275+ models.

From OpenAI

Text
5 min
Migrate from Anthropic
Native Messages API plus OpenAI-compatible path for Claude.

From Anthropic Console

Multi
10 min
Migrate from Google AI
Drop GCP setup. Call Gemini via the OpenAI SDK.

From Google AI / Vertex

Text
10 min
Migrate from Azure OpenAI
No deployments, no api-version, just model IDs.

From Azure OpenAI

Multi
5 min
Migrate from OpenRouter
EU-hosted, EUR-billed alternative aggregator.

From OpenRouter

Image
15 min
Migrate from Replicate
Sync calls, no polling, mirrored Flux + SDXL + Whisper.

From Replicate

Text
5 min
Migrate from Together AI
Same Llama, Mixtral, DeepSeek — plus closed-source models.

From Together AI

Text
5 min
Migrate from Fireworks
Drop-in for FireFunction, Llama, Mixtral, DeepSeek.

From Fireworks AI

Text
5 min
Migrate from Groq
LPU-class throughput plus 270 closed-source models.

From Groq Cloud

Text
5 min
Migrate from Mistral
EU-resident Mistral plus Claude, GPT-4o, Gemini.

From Mistral La Plateforme

Embedding
10 min
Migrate from Cohere
Command R+, Embed v4, Rerank — OpenAI-shaped.

From Cohere

Text
5 min
Migrate from DeepInfra
Same OpenAI API, EU hosting, expanded catalog.

From DeepInfra

Multi
10 min
Migrate from Hugging Face
Unify task-specific endpoints under OpenAI Chat Completions.

From Hugging Face Inference

Text
5 min
Migrate from Anyscale
Sunsetted Anyscale Endpoints — modernised Llama 3.x successor.

From Anyscale Endpoints

Text
5 min
Migrate from Perplexity
Sonar grounded search plus everything else.

From Perplexity API

Text
5 min
Migrate from xAI
Grok 2 / Grok 3 / Grok Vision via OpenAI-compatible API.

From xAI Grok Console

Text
5 min
Migrate from DeepSeek
Same V3 / R1 weights — hosted in Frankfurt, not China.

From DeepSeek Direct

Audio
15 min
Migrate from ElevenLabs
Voice mapping included. OpenAI audio.speech API.

From ElevenLabs

Image
10 min
Migrate from Stability AI
Stable Diffusion 3.5 with JSON API instead of multipart.

From Stability AI

Video
15 min
Migrate from Runway ML
Gen-3 plus Veo-3, WAN-2.5 — sync video calls.

From Runway ML

Not sure which guide applies?

If your current API speaks OpenAI Chat Completions, the OpenAI guide covers you in two lines. For everything else, the provider-specific guides handle the edge cases (Anthropic Messages format, Cohere rerank, ElevenLabs voice IDs, Azure deployment names, and so on).

    Migrate to Railwail | Step-by-Step Guides for 20 AI Providers | Railwail