Codex overview
When to use this page
Use this page when connecting a coding agent, local CLI, desktop agent, or CI agent to QuotaFlow.
Recommended settings
- Base URL:
https://api.quotaflow.ai/openai/v1 - API key environment variable:
QUOTAFLOW_API_KEY - Preferred endpoint:
/responses - Preferred session signal:
x-session-idorprompt_cache_key - Streaming: enabled for interactive agents
Why session ids matter
QuotaFlow tries to keep related agent calls on the same upstream account. This helps with cache locality and avoids unnecessary account switching. If an account is rate limited or unhealthy, QuotaFlow can move the session to another account.
Capacity behavior
QuotaFlow uses dynamic account pool capacity. It does not rely on a single fixed total bucket. If accounts cool down, hit usage limits, or become unavailable, capacity estimates decrease. When accounts recover, capacity returns.
AI agents: start at
/llms.txt, fetch /llms-full.txt for full context, and parse /openapi.yaml for endpoint schemas.