Cursor
AI-first code editor. Settings → Models → OpenAI API Key → Override OpenAI base URL, then paste the URL below.
https://api.realrouter.org/v1Realrouter is a fully OpenAI-compatible endpoint. Point any OpenAI SDK or third-party client at our base URL and you are done. Here are a few setups for the most common tools.
Terminal-native AI coding agent. Open Settings → Models → Add custom provider and fill the four fields below.
realrouterRealrouterhttps://api.realrouter.org/v1Once saved, the realrouter provider shows up in the OpenCode model picker with every available model — gpt-5.5, gpt-5.4-mini, gpt-5.3-codex-spark, claude-opus-4.7 and the rest.
gpt-5.5gpt-5.4gpt-5.4-minigpt-5.3-codex-sparkclaude-opus-4.7claude-sonnet-4.6claude-haiku-4.5AI-first code editor. Settings → Models → OpenAI API Key → Override OpenAI base URL, then paste the URL below.
https://api.realrouter.org/v1Open-source VS Code AI assistant. Add this entry to ~/.continue/config.json.
{
"models": [
{
"title": "Realrouter",
"provider": "openai",
"model": "gpt-5.4-mini",
"apiBase": "https://api.realrouter.org/v1",
"apiKey": "REALROUTER_KEY"
}
]
}CLI coding assistant. Export two environment variables, then pass --model to point at a Realrouter model.
export OPENAI_API_BASE="https://api.realrouter.org/v1"
export OPENAI_API_KEY="$REALROUTER_KEY"
aider --model gpt-5.4-miniVS Code agentic extension. Set API Provider to OpenAI Compatible and paste the URL and key.
https://api.realrouter.org/v1Every official and community SDK just works — only the baseURL and apiKey change.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.REALROUTER_KEY,
baseURL: "https://api.realrouter.org/v1",
});
const response = await client.responses.create({
model: "gpt-5.4-mini",
input: "Plan my week",
});