Use ApexApi in Continue
Continue is an open-source AI code assistant for VS Code, JetBrains and the terminal. It talks to ApexApi as an OpenAI compatible endpoint, so every model in our catalog works with one config block.
1. Get your API key
Create a key in your dashboard. It starts with ak-.
2. Add ApexApi to config.yaml
Edit ~/.continue/config.yaml and add a model entry per model you want:
name: my-assistant
version: 0.0.1
models:
- name: Claude Sonnet 4.6 (ApexApi)
provider: openai
model: anthropic/claude-sonnet-4.6
apiBase: https://api.apexapi.dev/v1
apiKey: ak-your-key-here
- name: DeepSeek V4 Pro (ApexApi)
provider: openai
model: deepseek/deepseek-v4-pro
apiBase: https://api.apexapi.dev/v1
apiKey: ak-your-key-hereprovider stays openai for every model, Claude and Gemini included; it names the protocol, not the model maker.
3. Pick your models
The ID must match the catalog exactly, in provider/model format. Browse all IDs on the models page.
4. Select it and go
Reload the extension (or restart cn in the terminal) and pick the ApexApi entry from Continue's model dropdown.
Troubleshooting
- 401 Unauthorized: the key wasn't pasted correctly or has been revoked.
- Model not found: the model ID doesn't match a catalog ID. Copy it verbatim from the models page.
- Connection fails: make sure the base URL is exactly
https://api.apexapi.dev/v1(no trailing slash after v1) and your balance is positive. - Anything else: check the error codes reference; streaming and tool calling are fully supported on
/v1/chat/completions.