api docs
Point Claude Code at aphiii.
aphiii speaks the Anthropic Messages API, so Claude Code works out of the box — better cache hit rates than most clients, at a fraction of the official price. An OpenAI-compatible endpoint is also available.
1 · configure claude code
recommended// ~/.claude/settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://ap.hiii.boo",
"ANTHROPIC_AUTH_TOKEN": "sk-ant-api03-xxx"
}
}Drop this into ~/.claude/settings.json. Your sk-ant-api03- key authenticates over Claude Code's native API-key header or Authorization: Bearer. That's it — run claude and traffic routes through aphiii.
2 · pick your models
// Use the real Claude model names you want (optional)
{
"env": {
"ANTHROPIC_BASE_URL": "https://ap.hiii.boo",
"ANTHROPIC_AUTH_TOKEN": "sk-ant-api03-xxx",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-8",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5"
}
}Send the real Claude model name and aphiii passes it straight through to the pool — no aliases to learn. Or set defaults per slot above. Switch live with /model.
Starter
Sonnet 4.6 and Haiku 4.5Best value for daily coding, agents, and batch work.
Pro
All models + Opus 4.7 and 4.8For reasoning-heavy and long-context work, with the highest cache hit rates.
also available
OpenAI-compatible endpoint
Any OpenAI SDK works — point it at /v1/chat/completions with your key and a Claude model name in the model field.
curl https://ap.hiii.boo/v1/chat/completions \
-H "Authorization: Bearer sk-ant-api03-xxx" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role":"user","content":"Ship a concise answer."}],
"stream": true
}'retention policy
Prompts and completions are not stored by the application layer. Usage logs keep only timestamp, key id, route, model alias, status, latency, token counts, and cost.