Migration Guide
Switch from any provider by changing your base URL and API key — your existing code, SDKs, and tools continue to work unchanged.
From OpenAI Direct
Change base_url and api_key. No other code changes needed.
terminal
bash
# Before export OPENAI_API_KEY=sk-... export OPENAI_BASE_URL=https://api.openai.com/v1 # After export OPENAI_API_KEY=ck-your-key-here export OPENAI_BASE_URL=https://api.chuizi.ai/v1
Next Steps
- First Request — verify your migration works
- Choosing a Protocol — decide between OpenAI, Anthropic, or Gemini protocol
- Error Handling — Chuizi.AI-specific error codes