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 Stats CLI
Install the first-party CLI for browser OAuth, device code, keys, guardrails, and workspaces.
Docs MCP
Add AI Stats documentation to coding agents and assistants.
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.