Messages API

Reference for the Anthropic Messages API (/v1/messages) as a third-party compatibility protocol — the 7 inference servers that implement it natively (vLLM, SGLang, llama.cpp, Ollama, mistral.rs, Llama Stack/OGX, Lemonade), gateways that adapt it (LiteLLM, Bifrost, Superagent Gateway), client behavior (Claude Code, opencode anthropic provider), Messages ↔ Chat Completions translation, the thinking-signature seam, stop_reason divergences, and streaming quirks. NOT for official Anthropic API usage (models, pricing, SDK) — that is the claude-api skill.

air-gapped 5f28977 8 files · 40.9 KB Updated

File contents

air-gapped/skills/tree/main/.claude/skills/messages-api commit 5f2897791b

Frequently asked questions

npx skillmds@latest add air-gapped/messages-api