VS Code and other extensions
Editor extensions connect in one of two modes: OpenAI Compatible (address with /v1) or Anthropic (address without /v1).
Claude Code
Install the extension. It reads the same ~/.claude/settings.json as the CLI: set it up following the Claude Code guide and restart the editor.
Cline, Roo Code, Kilo Code
Open the extension panel → settings → API Provider and fill in the fields:
text
API Provider: OpenAI Compatible
Base URL: https://api.claudexia.tech/v1
API Key: sk_cdx_YOUR_KEY
Model ID: claude-sonnet-5
Context Window Size: 1000000Always set the context size: otherwise the extension assumes a 128K model and compacts history too early.
Continue
Open ~/.continue/config.json (on Windows %USERPROFILE%\.continue\config.json) and add a model:
json (~/.continue/config.json)
{
"models": [
{
"title": "Claudexia · Claude Sonnet 5",
"provider": "openai",
"model": "claude-sonnet-5",
"contextLength": 1000000,
"apiBase": "https://api.claudexia.tech/v1",
"apiKey": "sk_cdx_YOUR_KEY"
}
]
}New models are picked up when you save the file.
Any other extension
Pick the provider type and use the matching address:
| Provider type | Base URL | Key |
|---|---|---|
| OpenAI Compatible | https://api.claudexia.tech/v1 | your Claudexia key |
| Anthropic | https://api.claudexia.tech | your Claudexia key |
Take model names from the catalog.