Use /model in Cline
Use every /model model in Cline, in VS Code or in its CLI, through the OpenAI Compatible provider.
Checked November 23, 2026
Cline works with /model in VS Code and in its command-line tool. Its OpenAI Compatible provider covers every model, Claude included.
Before you start
- A /model API key: create one on the API keys page and add credit on the credits page.
VS Code
- Open Cline and click its settings icon.
- Set API Provider to OpenAI Compatible.
- Set Base URL to the base URL below, and API Key to your /model key.
- Pick a model under Model ID: Cline lists /model's models. You can also type an id from the pricing page.
- Under Model Configuration, enter the model's context window and max output, from its page under Models, and turn on image support for models that read images.
Base URL
https://api.slashmodel.com/v1Command line
cline auth saves the provider, the key and the model; later runs use them.
bash
cline auth -p openai-compatible -k "$SLASHMODEL_API_KEY" -b https://api.slashmodel.com/v1 -m claude-sonnet-5-5
cline "explain this repository"Claude through the Anthropic provider
You can also use Claude through Cline's Anthropic provider: tick Use custom base URL and enter the base URL with /v1, as above.