Stop guessing which model to use. Put smart routing in the model field.
Call the OpenAI-compatible API as usual. Simple tasks can use faster or lower-cost models, harder requests can use stronger models, and code or vision workloads can use dedicated routes. Fixed model IDs still work whenever you need them.
curl https://api.chuizi.ai/v1/chat/completions \
-H "Authorization: Bearer $CHUIZI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"auto/balanced","messages":[{"role":"user","content":"..."}]}'
How to call it
model: auto/balanced
Best for
Text, code, and vision tasks
After the call
Usage, cost, and latency are visible
Choose a routing mode by task
You do not need to memorize every model. Use auto/balanced for normal production traffic. Switch to a clear model name when you need speed, lower cost, stronger reasoning, code, or vision.
Default for production
Balances quality, speed, and cost for most application requests.
A practical first step when moving from fixed model IDs to automatic selection.
Low-latency first
Prioritizes faster models for support, formatting, extraction, and short answers.
Use it when user experience depends more on response time than maximum reasoning depth.
Cost first
Keeps classification, summarization, and structured output on lower-cost capable models.
Good for batch processing and high-volume automation.
Quality first
Prioritizes stronger models for complex reasoning, analysis, and long-context work.
Use it when answer quality matters more than the lowest possible cost.
Code and agents
Built for coding, debugging, tool calls, code review, and agent workflows.
Keeps engineering requests on routes that fit code work better.
Vision understanding
Built for images, screenshots, document understanding, and visual QA.
Image-input requests are not sent to text-only models.
The user experience should stay simple
Your application sends the request. Chuizi.AI matches a model, handles temporary unavailability, and records usage without pushing that complexity into your business code.
Send the request as usual
Keep one BaseURL and the OpenAI-compatible format.
Understand the task
Detect whether the request needs speed, low cost, code, vision, or deeper reasoning.
Match a suitable model
Choose a working route from the models available to the current account.
Review the result
See the model, usage, cost, latency, and status after completion.
Move model choice out of application code
Do not maintain model rules and cost checks in every app. Your product calls one stable API while the selection strategy can evolve with your workload and model availability.
Fixed models still work
Use exact model IDs for evals, compliance, or customer-specified models.
Separate scenarios cleanly
Production, testing, support, agent, and media workloads can use different keys and model ranges.
More stable when paths fail
If one path is temporarily unavailable, the system prefers a working path to reduce disruption.
Cost is visible per request
Every request can show usage, cost, status, and latency for review.
Which model value should I use?
You do not need to choose from every model every time. Pick a stable model value for the scenario.
| Need | Suggested model | Best for |
|---|---|---|
| A specific model is required | openai/gpt-4.1 | Evals, compliance, customer-specified models |
| Normal production requests | auto/balanced | Most text and mixed business traffic |
| Realtime UX or support | auto/fast | Short answers, classification, extraction, formatting |
| High-volume low-cost tasks | auto/cheap | Batch summaries, labels, structured output |
| Code and agent workflows | auto/code | Generation, debugging, review, tool calls |
| Images or document understanding | auto/vision | Screenshots, PDFs, visual QA |
FAQ
Start with auto/balanced and let the system handle model choice.
Create a key and call immediately. Use fixed models when results must be exact, and automatic modes when you want efficiency and resilience.
Exact availability, pricing, and capabilities depend on the model catalog and current API key settings in the console.