Use Hanzo AI with Continue.dev
Configure Continue.dev VS Code / JetBrains extension to use Hanzo AI as your coding assistant. Add Hanzo as a custom OpenAI-compatible provider in your config.
Get API key — Free{
"models": [
{
"title": "Hanzo zen4-pro",
"provider": "openai",
"model": "zen4-pro",
"apiKey": "your-hanzo-api-key",
"apiBase": "https://api.hanzo.ai/v1"
},
{
"title": "Hanzo zen4-coder",
"provider": "openai",
"model": "zen4-coder",
"apiKey": "your-hanzo-api-key",
"apiBase": "https://api.hanzo.ai/v1"
}
],
"tabAutocompleteModel": {
"title": "Hanzo Autocomplete",
"provider": "openai",
"model": "zen4-coder",
"apiKey": "your-hanzo-api-key",
"apiBase": "https://api.hanzo.ai/v1"
}
}
9 of 25 lines point at Hanzo
Embeddings config
json
2 of 8 lines point at Hanzo
{
"embeddingsProvider": {
"provider": "openai",
"model": "openai/text-embedding-3-large",
"apiKey": "your-hanzo-api-key",
"apiBase": "https://api.hanzo.ai/v1"
}
}
Install Continue
bash
# VS Code
code --install-extension Continue.continue
# JetBrains: install from marketplace
# Then edit ~/.continue/config.json
Test API
bash
2 of 3 lines point at Hanzo
curl https://api.hanzo.ai/v1/chat/completions \
-H "Authorization: Bearer $HANZO_API_KEY" \
-d '{"model":"zen4-coder","messages":[{"role":"user","content":"Complete this: def hello():"}]}'
Created by Continue.dev
License: Apache-2.0 · View source on GitHub →
Hanzo AI is OpenAI-compatible, so existing Continue.dev code works with zero refactoring. We deeply appreciate the Continue.dev team for building and maintaining this open-source project.
Ready to get started?
Create a free account and get your API key. The Free plan includes free model requests and Kai decisions, no card.