ZhiFlo Help Center
Connect the same ZhiFlo API to AI coding tools, graphical chat clients, or your own application.
What do you want to do with ZhiFlo?
Section titled “What do you want to do with ZhiFlo?”AI codingUse ZhiFlo with Codex, Claude Code, OpenCode, and other coding tools. For a first setup, follow the recommended Codex quickstart.
Graphical chatPrefer not to use a command line? Choose a model and chat in Cherry Studio or another graphical client.
Application integrationConnect a script, application, or service to the ZhiFlo API, starting with the model list and your first request.
Your first reply in five minutes
Section titled “Your first reply in five minutes”- 01Create a TokenGenerate a Token with an expiry and quota for this device in the API Portal.
- 02Import into CC SwitchImport the portal-generated configuration in one step; no manual Base URL pasting.
- 03Get your first replySend a test prompt from your coding client and see a reply within seconds.
curl https://api.zhiflo.com/v1/chat/completions \ -H "Authorization: Bearer $ZHIFLO_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "<MODEL_FROM_ZHIFLO>", "messages": [{ "role": "user", "content": "Hello, ZhiFlo!" }] }'