Dec 2026 Release: Native protocol routing & sticky sessions for Claude 5.5, GPT-6.2, Gemini 4 & DeepSeek V4
Explore Model Plaza →
Protocols 2026-12-05 · 4 min read

/v1/messages vs /v1/chat/completions vs /v1/responses vs /v1beta: Protocol Field Guide

Clear breakdown of the four major AI API protocols, header conventions, Base URL pitfalls, and why native multi-protocol gateways prevent cache thrashing.

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.