Guides
Setup guides
Use /model in the coding tools and libraries you already have. Each guide shows where the base URL and the key go, and what to watch for.
Calling the API from your own code? The docs cover the OpenAI and Anthropic SDKs, the Responses API and curl.
Coding tools
- Claude Code
Point Claude Code at /model with two settings, and keep its commands and its Claude models.
- Claude Code /model
How Claude Code's /model command works, which model each of its names stands for, and the other ways to choose a model, on Anthropic's API or on slashmodel.
- Claude Code Router
Claude Code Router lets Claude Code work with models that don't speak Anthropic's format. Add /model to it as a provider to use GPT, Gemini or Grok in Claude Code.
- Codex CLI
Point OpenAI's Codex CLI at /model with a few lines in its config file, and run it on GPT models at /model's prices.
- Cursor
Send Cursor's chat and agent requests to /model through its OpenAI settings, Claude models included.
- Cline
Use every /model model in Cline, in VS Code or in its CLI, through the OpenAI Compatible provider.
- Roo Code
Use /model models in Roo Code or its community fork, Zoo Code, through the OpenAI Compatible provider.
- OpenCode
Add /model to OpenCode as a provider in opencode.json, with the models you want and their limits.
- Continue
Add /model models to Continue's config.yaml, with your key in a secrets file.
- Zed
Add /model to Zed's agent as an OpenAI-compatible provider, with the models you want and their limits.
- Kilo Code
Add /model to Kilo Code as a custom provider, in VS Code, in JetBrains or in its CLI.
- Aider
Run Aider on /model with two environment variables, and tell it the limits of the models it doesn't know.
Libraries
- LangChain
Point LangChain's ChatOpenAI and ChatAnthropic at /model, in Python and JavaScript.
- Vercel AI SDK
Use every /model model in the Vercel AI SDK through its OpenAI Compatible provider, and Claude through its Anthropic provider.
- LiteLLM
Call /model from LiteLLM's Python SDK or its proxy, with the openai/ prefix for any model and anthropic/ for Claude.
One key for every model here.
Top up from $10, change one URL, and pay only for the tokens you use.