chat-completions-api SKILL.md skillA
chat-completions-api from air-gapped/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add air-gapped/skills/chat-completions-api@git:20261027.42f4242Pins git:20261027.42f4242 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- air-gapped/skills
- Path
.claude/skills/chat-completions-api/SKILL.md- Versions recorded
- 8
- Latest version
- git:20261027.42f4242, committed Oct 27, 2026
- First version recorded
- Jul 20, 2026
- Size
- 9,770 bytes
- Repository stars
- 5
- License
- MIT
Reference for the OpenAI Chat Completions API (/v1/chat/completions) and legacy /v1/completions as the lingua-franca compatibility protocol — the official spec incl. deprecation timeline and Responses-only feature delta, how 7 local servers (vLLM, SGLang, llama.cpp, Ollama, mistral.rs, Llama Stack/OGX, Lemonade) actually implement it, gateways (LiteLLM, Bifrost), 10 cloud providers' CC-compat endpoints (Anthropic, Gemini, DeepSeek, xAI, Groq, OpenRouter, Azure...), the…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Chat Completions Compatibility Reference
Chat Completions is the lingua franca of LLM serving — and because everyone
has implemented and extended it longest, it carries the MOST undocumented
divergence of the three open protocols. OpenAI keeps it fully supported but
second-choice ("we recommend trying Responses") — and since 2026-07-29
OpenAI's own publications call it "our **legacy** Chat Completions API"
(ARC-AGI-3 post; still no deprecation or sunset date); xAI, Groq, and Azure
declare it legacy too. Legacy `/v1/completions` is now a local/third-party
surface only: OpenAI shut down its last completions models
(`gpt-3.5-turbo-instruct`, `babbage-002`, `davinci-002` → `gpt-5.6-terra`) on
**2026-09-28**, and the `-completions` aliases of chat models
(`gpt-3.5-turbo-completions`, `gpt-4-completions`, `gpt-4-turbo-completions`)
on **2026-10-23**. A client still sending OpenAI model names to
`/v1/completions` must move to `/v1/chat/completions` or Responses.
**Fleet property: stateless.** Full history resent every turn, like
Messages; no server-side session state to break load-balanced fleets
(contrast responses-api's `previous_response_id`).
…Read the whole file at its exact version.
How to install
mdr add air-gapped/skills/chat-completions-api@sha256:4c6d3c74c48f3ed5The line at the top of this page pins the label git:20261027.42f4242, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_dwcysi4pehqvjtu6)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between Jul 20, 2026 and Oct 27, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261027.42f4242 latest | 2026-10-27 | 42f4242 | 9,770 B | A | view · diff |
| git:20261027.a12fb21 | 2026-10-27 | a12fb21 | 9,719 B | A | view · diff |
| git:20261027.a8697a8 | 2026-10-27 | a8697a8 | 9,407 B | A | view · diff |
| git:20261027.c8b375b | 2026-10-27 | c8b375b | 9,822 B | A | view · diff |
| git:20261027.ec11d3e | 2026-10-27 | ec11d3e | 9,422 B | A | view · diff |
| git:20260915.4b2c275 | 2026-09-15 | 4b2c275 | 9,936 B | A | view · diff |
| git:20260731.04a45e8 | 2026-07-31 | 04a45e8 | 9,066 B | A | view · diff |
| git:20260720.472aa2a | 2026-07-20 | 472aa2a | 8,920 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9770 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
air-gapped/skills · 5 stars · license MIT · pushed 2026-10-28 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_dwcysi4pehqvjtu6 GET https://markdownregistry.com/api/v1/resolve?ref=air-gapped/skills/chat-completions-api GET https://markdownregistry.com/api/v1/blob/4c6d3c74c48f3ed5729e491a0722eeed1fc652b773c940c29bfe04c51ab126ad
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.