๐
Platforms & Editors
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.
Base URL: https://api.hanzo.ai/v1
API Key: Get yours at hanzo.ai/signup ยท Fully OpenAI-compatible ยท 390+ models available
๐
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.
~/.continue/config.json
json
{
"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"
}
}Embeddings config
json
{
"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.jsonTest API
bash
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():"}]}'Ready to get started?
Create a free account and get your API key. 100K API calls/month free forever.