General setup checklist
- Use your AI Stats API key as a Bearer token.
- Set the base URL to
https://api.phaseo.app/v1. - Pass model ids exactly as listed in the Models endpoint.
- Use
/messagesfor Anthropic-compatible clients and/chat/completionsor/responsesfor OpenAI-compatible clients.
Integration guides
AI SDK
Use the AI SDK provider wrapper for AI Stats.
Claude Code
Route Claude-compatible workflows through the Gateway.
Codex
Connect coding agents to the Gateway.
OpenCode
Use OpenCode with AI Stats routing and analytics.
Examples
Ready-to-run request examples and payloads.