Editors and IDEs
Use HopBase in Cursor, Continue, Cline, and other editor tools.
Cursor, Trae, and AI extensions for VS Code such as Cline, Roo Code, and Continue support custom model providers. Each needs a Base URL, API key, and model ID. The official Claude Code and Codex extensions for VS Code share their CLI configuration.
Choose the provider type by model
| Model | Provider type | Base URL | Key |
|---|---|---|---|
| GPT models such as gpt-5.5 or gpt-5.4 | OpenAI Compatible | https://api.hop-base.com/v1 | OpenAI or Codex plan key |
| Gemini models such as gemini-3.5-flash | OpenAI Compatible | https://api.hop-base.com/v1 | Gemini plan key |
| Claude models such as claude-sonnet-4-6 | Anthropic | https://api.hop-base.com without /v1 | Claude plan key |
Copy all current model IDs and see current pricing in the model catalog after signing in.
A Claude plan key does not support OpenAI Compatible mode. That mode uses an OpenAI protocol path and returns a 404. If the extension has no Anthropic provider type, use Cline, Roo Code, Continue, Trae, or the web console.
Cline and Roo Code
In extension settings, set API Provider to OpenAI Compatible for GPT models or Anthropic for Claude models. Enter the matching Base URL, API key, and model ID.
Continue
# models section in ~/.continue/config.yaml
models:
- name: HopBase GPT
provider: openai
model: gpt-5.5
apiBase: https://api.hop-base.com/v1
apiKey: sk-openai-plan-key
- name: HopBase Claude
provider: anthropic
model: claude-sonnet-4-6
apiBase: https://api.hop-base.com
apiKey: sk-claude-plan-keyCursor
In Cursor Settings, open Models and API Keys. For GPT models, enter an OpenAI plan key, enable Override OpenAI Base URL, set https://api.hop-base.com/v1, then add and enable the model ID. For Claude, use the Anthropic API Key field and override the Anthropic Base URL without /v1 in a recent Cursor release. Built-in features such as Tab completion still use Cursor's service; this configuration applies to the custom model selected in Chat.
Trae
Open Settings, Models, then Add model. Select OpenAI Compatible for GPT or Anthropic for Claude. Enter the matching Base URL, API key, and model ID.
Keys follow plan groups: Claude models require a Claude plan key and Anthropic provider; GPT models require an OpenAI plan key and OpenAI Compatible provider. The same rule applies to Zed, JetBrains AI, and other editors.