Base URLhttps://api.tryaiflow.io
Aiflow Documentation
Setup guides, endpoint reference, and usage checks for connecting Codex, Claude Code, and /v1 clients.
⌘K
Searches
CodexClaude Codeusageresponses
Setup Codex
Configure Codex with a Responses API provider that points to Aiflow.
Setup Claude Code
Configure Claude Code with ANTHROPIC_BASE_URL and an Aiflow bearer token.
API Reference
Core /v1 endpoints, auth, schemas, and request examples.
Usage API
Read the configured budget, consumed amount, and remaining balance.
Models
List the exposed model catalog and choose models per client.
Gemini
Call Gemini models with ag/ model IDs on the OpenAI-compatible endpoints.