--- title: AI ROUTER API Migration Playground emoji: "🔀" colorFrom: blue colorTo: purple sdk: static app_file: index.html pinned: true license: mit short_description: Generate browser-only OpenAI-compatible API examples. --- # AI ROUTER OpenAI-compatible API migration playground This is a browser-only request-example generator for developers moving an existing OpenAI-compatible integration to AI ROUTER. It creates curl, Python, and Node.js examples locally in the browser; it never receives, stores, or sends an API key. ## What it helps with - Use a current model ID from the AI ROUTER dashboard or authenticated `/v1/models` response. - Generate an OpenAI-compatible `/v1/chat/completions` request. - See the `base_url` change needed by common OpenAI SDKs. - Open the matching AI ROUTER landing page for one of 48 supported languages. ## Start with AI ROUTER Create an account, review the current plans, create an API key, and choose a model shown for that key in the dashboard. [Open the AI ROUTER website](https://ai-router.dev). ## Current new-user offer Eligible new users receive 20U in total: 5U is available at registration and the remaining 15U unlocks after an equal-value top-up. Eligible daily check-ins earn at least USD 1 in token credit. Eligibility, availability, risk controls, regional restrictions, and current dashboard rules apply. ## Localized developer notes The Space language selector uses a matching localized destination for every supported language. The source repository also includes 48 concise, language-specific developer notes in [`docs/locales/`](docs/locales/README.md). ## Service boundary AI ROUTER is an independent service. “OpenAI-compatible” describes the request/response format; it does not mean that AI ROUTER is affiliated with, endorsed by, or an official service of OpenAI or Hugging Face. Do not use the service for spam, abuse, or activity that violates applicable policies.