Support triage
Detect urgency, choose a team, and score severity from the same ticket.
Send a state and typed questions. Get probabilities, a selected option, or a score in one structured response.
Detect urgency, choose a team, and score severity from the same ticket.
Choose the next queue or action and keep the full probability distribution.
Run several atomic checks before your workflow continues.
Connect the Pi coding agent to ApiClo in ~/.pi/agent/models.json. Use baseUrl https://apiclo.com/v1, api openai-completions and apiKey $APICLO_API_KEY. Open /model to reload the file and choose the custom provider. This guide concerns the Pi coding agent, not another product named Pi.
Set APICLO_API_KEY in the shell that launches Pi. Add the JSON provider below without overwriting your other providers.
Use an exact ApiClo model ID and declare image input only for a vision model. Open /model and choose apiclo/claude-sonnet-5 or your chosen entry.
If an old credential overrides the new key, inspect Pi's provider-scoped authentication. Test a short reply first, then one tool call and an image in a separate request.
export APICLO_API_KEY="YOUR_APICLO_KEY"
$env:APICLO_API_KEY="YOUR_APICLO_KEY"
{
"providers": {
"apiclo": {
"baseUrl": "https://apiclo.com/v1",
"api": "openai-completions",
"apiKey": "$APICLO_API_KEY",
"models": [{"id": "claude-sonnet-5", "input": ["text", "image"]}]
}
}
}
Send one small request and inspect ApiClo Logs for the exact model, outcome and charged usage. Test tool calls and images separately. Cache settings in the client do not prove a hit: check actual read/write token counts.
ApiClo is an independent gateway. A client integration does not include that client's subscription or guarantee all its features. Compare ordinary input, cache reads, cache writes and output at current model rates; cache hits and savings are workload-dependent.
All documentation