Cline Setup
Cline is a popular VS Code AI coding extension (formerly Claude Dev). With OfoxAI, you can use multiple models.
Setup Steps
1. Install Cline
Search for Cline in the VS Code extension marketplace and install it.
2. Select API Provider
- Open the Cline sidebar
- Click the settings icon
- Under API Provider, select OpenAI Compatible
3. Enter Configuration
| Setting | Value |
|---|---|
| Base URL | https://api.ofox.ai/v1 |
| API Key | Your OfoxAI API Key |
| Model ID | anthropic/claude-sonnet-4.5 |
You can also select Anthropic as the Provider and set the Base URL to https://api.ofox.ai/anthropic. This gives you full access to Anthropic native protocol features.
Using Anthropic Provider (Recommended)
If you primarily use Claude models, we recommend selecting the Anthropic Provider:
| Setting | Value |
|---|---|
| API Provider | Anthropic |
| Base URL | https://api.ofox.ai/anthropic |
| API Key | Your OfoxAI API Key |
| Model | anthropic/claude-sonnet-4.5 |
Recommended Models
| Scenario | Model | Description |
|---|---|---|
| Daily coding | anthropic/claude-sonnet-4.5 | Balanced coding performance |
| Complex refactoring | anthropic/claude-opus-4.6 | Deep understanding and reasoning |
| Quick Q&A | openai/gpt-4o-mini | Fast responses |
| Long file analysis | google/gemini-3-flash-preview | Large context window |
FAQ
Q: Model not supported error
Make sure the model ID format is correct with the provider/ prefix.
Q: Tool Use feature not working
Use the Anthropic Provider configuration for full Tool Use support.