Quick Wire-Protocol Reference
| Endpoint Path | Primary Clients | Auth Header | Expected base_url |
|---|---|---|---|
/v1/chat/completions |
OpenAI SDK, Cursor, Cherry Studio | Authorization: Bearer |
https://www.aiozium.com/v1 |
/v1/responses |
Codex CLI, modern OpenAI SDK | Authorization: Bearer |
https://www.aiozium.com/v1 |
/v1/messages |
Claude Code, Anthropic SDK, Cline | x-api-key + anthropic-version |
https://www.aiozium.com (no /v1) |
/v1beta/models/... |
Gemini CLI, Google GenAI SDK | x-goog-api-key |
https://www.aiozium.com |
Rule of thumb: use each CLI’s native wire protocol for maximum caching and tool fidelity, and unify application backends on /v1.
Related Questions
Why do Anthropic SDKs fail with 404 when /v1 is included in ANTHROPIC_BASE_URL?
Anthropic SDKs append /v1/messages automatically, so including /v1 sends requests to /v1/v1/messages.