# Model Spec (OpenAI)

> Canonical: https://skillalmanac.com/glossary/model-spec | Last verified: 2026-11-24 | Index status: not offered to search engines

The Model Spec is a public document in which OpenAI describes how it intends its models to behave: the values behind them, firm rules, adjustable defaults and a chain of command for resolving conflicts between instructions.

Also called: Model Spec, OpenAI Model Spec, OpenAI model specification, model specification.

## In plain language

The Model Spec is OpenAI's written statement of how its AI models are meant to act. Think of an employee handbook for a model: it says what the assistant should be helpful about, where it must hold a firm line, and whose instructions win when two parties ask for different things, such as the company that built an app and the person using it. Anyone can read it. Its limit is that it states intent, not a guarantee. A model can still depart from the document, and the text changes over time, so check the current version. It covers OpenAI's models; other companies publish their own documents.

## Technical definition

The document sets out the behavior OpenAI intends for its models. The version dated October 29, 2026 lists five values, firm rules for the most serious harms, and defaults that can be adjusted. A chain of command ranks authority in this order: Root, System, Developer, User, then Guideline, while assistant, tool and untrusted content carry no authority by default. OpenAI's May 2024 announcement described a first draft meant to guide researchers and AI trainers working on reinforcement learning from human feedback, and said OpenAI would explore whether models can learn from the Spec directly. The page is dedicated to the public domain under CC0 and notes that a newer version is available; check the current one. The version read on 2026-11-24 is marked as a historical reference and points to a newer version at model-spec.openai.com.

## How it shows up when you use agents

When you build on OpenAI's models, the Model Spec is the document that explains why the assistant follows some instructions and declines others. It describes a chain of command: the spec's chain of command runs Root, then System, Developer, User and Guideline. If you write a [system prompt](/glossary/system-prompt) for an app, you are acting at the developer level. The Spec says developer messages generally outrank user messages when both are present, so a user's request does not override your setup unless the Spec treats the matter as adjustable.

In a coding session with a tool such as Codex, instructions arrive from several places: the platform, your project's instruction files, your prompt and the contents of files the agent reads. The Spec describes content from tools and untrusted sources as carrying no authority by default. A line inside a fetched web page is therefore data, not an order. That does not remove the need for your own controls, which the [guardrails](/glossary/guardrails) entry covers.

What breaks when the Spec is misunderstood: teams treat it as a guarantee of behavior, or as a rule set for every vendor. It is a statement of OpenAI's intent for its own models, and the text changes between versions. A safer habit is to read the current version before you write instructions that depend on it, and to test the behavior you rely on. For the general idea of aligning a model with human intent, see [AI alignment](/glossary/ai-alignment).

## Common confusions

- **Model Spec versus system prompt.** The Spec is OpenAI's published policy for its models. A system prompt is text a developer writes for one app. See [System prompt](/glossary/system-prompt).
- **Model Spec versus Constitutional AI.** Both are written statements of intended behavior, from different companies and with different roles. Constitutional AI is a training method; see [Constitutional AI](/glossary/constitutional-ai).
- **Intent versus guarantee.** The document says what OpenAI wants the models to do. It does not promise that a given response will match.
- **Fixed versus versioned.** OpenAI described the first release as a first draft. Use the version the site marks as current.

## Worked examples in this catalogue

### [agent-instruction-files](https://skillalmanac.com/skills/skill-almanac/agent-instruction-files)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Instruction files where every line is project-specific, verified against the repo, and worth loading.

Why it exercises the concept: Adjacent, not the Model Spec: the Spec sets model-wide behavior, and instruction files are the layer a project owner writes on top. Reading both shows where each kind of instruction lives.

### [prompt-writing](https://skillalmanac.com/skills/skill-almanac/prompt-writing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Writes and lints LLM prompts with a fixed structure, injection rules and a numeric test plan.

Why it exercises the concept: A prompt you write sits at the developer or user level of the Spec's chain of command. This skill treats the prompt as one input among several instructions the model weighs.

### [coding-agent-guardrails](https://skillalmanac.com/skills/skill-almanac/coding-agent-guardrails)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A pre-action checklist for coding agents plus a read-only audit of a repo's guardrail setup.

Why it exercises the concept: The Spec states a model-level policy. This skill covers the separate, user-controlled guardrails a team still puts around a coding agent.

### [OpenAI](https://skillalmanac.com/publishers/openai)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: OpenAI's publisher page in the catalogue.

Why it exercises the concept: The Model Spec is published by OpenAI, so this entry points to the publisher whose models it describes.

## Related terms

- [System prompt](https://skillalmanac.com/glossary/system-prompt.md)
- [AI alignment](https://skillalmanac.com/glossary/ai-alignment.md)
- [Guardrails](https://skillalmanac.com/glossary/guardrails.md)
- [Constitutional AI](https://skillalmanac.com/glossary/constitutional-ai.md)
- [Reinforcement learning from human feedback (RLHF)](https://skillalmanac.com/glossary/rlhf.md)
- [AI safety](https://skillalmanac.com/glossary/ai-safety.md)

## Sources

- [Model Spec (2026/10/29)](https://model-spec.openai.com/2026-10-29.html), OpenAI (accessed 2026-11-24)
- [Introducing the Model Spec](https://openai.com/index/introducing-the-model-spec/), OpenAI (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
