Zed Editor
Configure Zed's built-in AI features to use Chuizi.AI for inline code generation and chat with any model.
Prerequisites
- Zed editor installed
- A Chuizi.AI account with an API key (starts with
ck-)
Configuration
- Open Zed settings:
Cmd+,(macOS) or via menu Zed > Settings - Add the following to your
settings.json:
config.json
json
{ "language_models": { "openai": { "api_url": "https://api.chuizi.ai/v1", "api_key": "ck-your-key-here", "available_models": [ { "name": "anthropic/claude-sonnet-4-6", "display_name": "Claude Sonnet 4.6", "max_tokens": 16000 }, { "name": "openai/gpt-4.1", "display_name": "GPT-4.1", "max_tokens": 32768 }, { "name": "deepseek/deepseek-chat", "display_name": "DeepSeek Chat", "max_tokens": 8192 } ] } } }
You can add any Chuizi.AI-supported model to the available_models array.
Next Steps
- Choose a Model — compare coding-focused models
- Pricing — model pricing details
- First Request — verify your setup works end-to-end