cover_image: https://aiwave.live/images/cover_04_developer_guide.png
title: VSCode + ZooCode + Chinese AI Models: Complete Setup Guide
published: true
tags: ai, aiwave, vscode, chinese-ai, developer-tools
Published: 2026-07-07 | Category: Developer Tools | Reading Time: 8 min
If you're a developer looking to integrate Chinese AI models into your VSCode workflow, ZooCode is the bridge you need. It's a VSCode extension that turns any OpenAI-compatible API endpoint into a full-featured coding assistant — chat, inline completions, and code generation — right inside your editor.
This guide walks you through connecting ZooCode to AIWave, an OpenAI-compatible API gateway that provides access to 60+ Chinese AI models through a single endpoint. No multiple accounts, no separate SDK installations.
You might wonder why not just use GitHub Copilot or Cursor's built-in AI. Fair question. ZooCode's advantage is model flexibility. Copilot locks you into OpenAI's models. Cursor uses Claude by default. ZooCode lets you pick any model from any vendor — and switch between them per-task.
This matters because:
ZooCode decouples your editor from your model vendor. You get the best tool for each job.
Before diving into setup, let's address why you'd use Chinese models over the usual suspects:
The trade-off? Some models have slightly weaker English prose quality. For pure code generation, that's rarely an issue.
https://aiwave.live/v1?utm_source=dev.to&utm_medium=organic&utm_campaign=SEO_ARTICLESThis Base URL is critical. ZooCode needs it to route requests through AIWave's OpenAI-compatible proxy.
Open VSCode and launch ZooCode:
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS)ZooCode: Open SettingsEnter the following values:
API Provider: OpenAI Compatible
Base URL: https://aiwave.live/v1?utm_source=dev.to&utm_medium=organic&utm_campaign=SEO_ARTICLES
API Key: [paste your AIWave API key]
Alternatively, if ZooCode supports JSON configuration, edit your settings file directly:
{
"zoocode.provider": "openai-compatible",
"zoocode.baseURL": "https://aiwave.live/v1?utm_source=dev.to&utm_medium=organic&utm_campaign=SEO_ARTICLES",
"zoocode.apiKey": "sk-your-aiwave-key-here",
"zoocode.defaultModel": "deepseek-v4-flash",
"zoocode.codeModel": "qwen3-coder-480b-a35b-instruct",
"zoocode.maxTokens": 8192,
"zoocode.temperature": 0.3,
"zoocode.enableInlineCompletions": true,
"zoocode.enableChat": true
}
Not all models are equal for all tasks. Here's the setup that works best:
deepseek-v4-flashqwen3-coder-480b-a35b-instructglm-4.7-flashOnce configured, here's how to use ZooCode day-to-day:
Ctrl+Shift+Z)ZooCode offers ghost-text suggestions as you type. To configure:
Ctrl+,)qwen3-coder-480b-a35b-instructThe suggestions appear in greyed-out text. Press Tab to accept, Esc to dismiss.
ZooCode lets you attach files to your chat:
Create a test file to verify everything works:
# test_zoocode.py
def fibonacci(n):
"""Return the nth Fibonacci number."""
if n <= 1:
return n
return fibonacci(n - 1) + fibonacci(n - 2)
Open the ZooCode chat and ask:
"Optimize this fibonacci function for performance. The naive recursive approach is O(2^n)."
Expected response should include memoization or dynamic programming:
from functools import lru_cache
@lru_cache(maxsize=None)
def fibonacci(n):
"""Return the nth Fibonacci number. Memoized O(n)."""
if n <= 1:
return n
return fibonacci(n - 1) + fibonacci(n - 2)
Or an iterative version:
def fibonacci(n):
"""Return the nth Fibonacci number. Iterative O(n)."""
if n <= 1:
return n
a, b = 0, 1
for _ in range(2, n + 1):
a, b = b, a + b
return b
If you get a coherent, correct response, your setup is working.
Let's estimate a typical workday:
| Task | Tokens (avg) | Model | Cost per task |
|------|-------------|-------|---------------|
| Chat question | 2K in / 1K out | DeepSeek V4 Flash | ~$0.0001 |
| Code generation | 5K in / 2K out | Qwen3 Coder | ~$0.0002 |
| Code review | 10K in / 3K out | DeepSeek V4 Flash | ~$0.0003 |
| Documentation | 8K in / 4K out | DeepSeek V4 Flash | ~$0.0003 |
Daily total (50 interactions): ~$0.015 — roughly $0.45/month for a full-time developer. Compare that to GitHub Copilot at $10/month or Claude Pro at $20/month.
"API key not recognized": Double-check you're using your AIWave key, not a key from another provider. The Base URL must be exactly https://aiwave.live/v1.?utm_source=dev.to&utm_medium=organic&utm_campaign=SEO_ARTICLES
"Model not found": The model ID must match AIWave's catalog exactly. Use deepseek-v4-flash, not deepseek-v4-flash-2025-06-01 or other variant names.
Slow responses: Chinese models are served from Singapore. If you're in Europe or the Americas, expect 200-500ms added latency. For latency-sensitive work, consider using the free GLM-4.7 Flash ($0.00/1M) for quick tasks.
Chinese AI models have closed the quality gap while maintaining dramatic price advantages. There's never been a better time to integrate them into your daily workflow.
We're a small team behind AIWave. No VC money, no big marketing budget — just a few people who believe Chinese AI models should be accessible to everyone in the world. Your API calls keep this project alive. If you find value in what we're building, stick around. It means more than you know.