Skip to content

ZhiFlo Help Center

Connect the same ZhiFlo API to AI coding tools, graphical chat clients, or your own application.
  1. 01Create a TokenGenerate a Token with an expiry and quota for this device in the API Portal.
  2. 02Import into CC SwitchImport the portal-generated configuration in one step; no manual Base URL pasting.
  3. 03Get your first replySend a test prompt from your coding client and see a reply within seconds.
Your first API request
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!" }]
}'