Cherry Studio
Cherry Studio is a desktop chat client. Add the exchange as an OpenAI-compatible provider, set the API host and paste your key. Cherry Studio then sends its requests to the exchange.
Before you start
- A workspace with a balance and a
spendkey. See API keys. - Cherry Studio installed.
1. Add a provider
Open Settings → Model Providers → Add. Choose the OpenAI-compatible provider type and give the provider a name.
2. Set the API host
https://router.inference.ai.exchange/v1
The URL ends in /v1.
3. Paste the key
sk-liquid-...
4. Add the model
Add a model name from the book. To get the current names, use GET /v1/models. See Market data.
liquid.auto
Notes
- The exchange sets a cap on each request. It is in the
x-liquid-cap-usdresponse header. To limit total spend, set a spending limit on the key. See API keys. - Use a preset for other purchasing rules. See Purchasing rules.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
401 |
The key is wrong, revoked or expired. Paste it again. |
404 |
Keep /v1 at the end of the API host. |
model_not_found |
The model is not on the book. Use an exact name from GET /v1/models. |
| A request is refused for lack of funds. | The workspace balance cannot cover the cap. Add funds on the Credits page. |
See Errors for the error codes.
Next steps
- Open WebUI: a self-hosted chat front end.
- RikkaHub: an Android chat app with a custom provider.
- Purchasing rules: models, strategy and limits, and presets.