Set up 9Router.
Then build from there.
Install 9Router, connect your coding tools, and understand what to check when a request fails.
9Router is an open-source AI gateway that connects coding clients to model providers through a local endpoint. You configure the providers, credentials, and fallback models.
What are you setting up?
Install 9Router
Choose npm or Docker, keep your data, and check the local endpoint.
Connect Claude Code
Set the Anthropic endpoint and model mapping without losing your existing setup.
Connect Codex
Configure a custom provider and the Responses API endpoint.
Connect OpenCode
Add an OpenAI-compatible provider and select an available model.
Build a fallback combo
Choose compatible backup models and verify which provider answered.
Find the failing layer
Separate connection, authentication, model, quota, and streaming failures.
Choose your routing setup
Compare 9Router, OpenRouter, and OmniRoute by hosting, credentials, and maintenance.
Check the router first.
A reachable dashboard is only the first check. Confirm that the API responds, the model exists, and the provider can complete a request.
Follow the verification stepscurl -i http://localhost:20128/api/healthExpect an HTTP response from your running instance.
A health response does not verify model access.
Version-aware instructions.
Sources you can inspect.
Every guide links to upstream documentation or code. We separate a configuration example from a completed live test, and free software from the cost of the provider it connects to.
How we maintain this Wiki