Model spec

A model spec is a public document in which an AI developer sets out how its models should behave, how they should weigh conflicting instructions and values, and what they must never do.

Every chatbot's behaviour reflects choices: when to refuse, how to handle a sensitive question, whose instructions to follow when a company's settings and a user's request conflict. A model spec writes those choices down. It is used during training as the standard that the model's responses are judged against, and published so outsiders can see what the developer intends.

OpenAI published the first draft of its Model Spec on May 8, 2024. It set out objectives, rules and default behaviours, and OpenAI said it would serve as guidance for the people rating responses in reinforcement learning from human feedback. A revised version followed on February 12, 2025, and the document is dedicated to the public domain under a Creative Commons CC0 licence so anyone can reuse it. Its central mechanism is a chain of command. Instructions carry different levels of authority, from root rules that nothing can override, through OpenAI's system messages, developer instructions and user requests, down to soft defaults, while tool outputs and quoted text carry no authority at all. That last point is a defence against prompt injection.

The spec gives worked examples. If a developer sets up a library assistant and tells it to reproduce whole books on request, the spec's higher-level rule on respecting creators' rights wins, so the model declines and offers a summary instead. A message claiming to switch on a special testing mode cannot override the spec's absolute bans either.

Anthropic uses the word constitution. Its Constitutional AI method trains a model with feedback guided by a written set of principles, and on May 9, 2023 it published the principles behind Claude, drawn from sources including the Universal Declaration of Human Rights and Apple's terms of service. On January 21, 2026 it published a new, much longer constitution, also under CC0. It asks Claude to prioritise being broadly safe, then broadly ethical, then compliant with Anthropic's guidelines, then genuinely helpful, weighing these holistically rather than as strict tie-breakers.

A spec states intentions, not guarantees. Models trained on one can still misbehave, and training only approximates the written text. Its value is accountability: when a model does something odd, the spec lets users and researchers judge whether it is a bug or a deliberate policy. Specs are revised often, and OpenAI keeps dated versions, so check which version a story refers to.

Common questions

What is OpenAI's Model Spec?

It is a public document, first published on May 8, 2024, describing how OpenAI wants its models to behave in ChatGPT and the API. It sets out values, rules and defaults, and a chain of command for resolving conflicts between instructions from OpenAI, developers and users. It is released under a CC0 public domain dedication.

What is Claude's constitution?

It is Anthropic's written statement of the values and behaviour it intends for its Claude models, used directly in training. A new version was published on January 21, 2026 under CC0. It asks Claude to prioritise being broadly safe, broadly ethical, compliant with Anthropic's guidelines and genuinely helpful, in that order, weighed holistically.

Does a model spec guarantee how an AI will behave?

No. It describes intended behaviour and is used as a target in training, but models can still deviate from it. It is most useful as a public yardstick for judging whether a given behaviour is intended or a failure.

Why do AI companies publish their model specs?

Publishing lets users, developers, researchers and regulators see how a company wants its models to handle difficult cases and conflicting instructions. It invites scrutiny of those choices and makes it easier to hold the company to its stated policies.

Finding more

Search for "OpenAI Model Spec", "Claude's constitution" or "Constitutional AI" to find the current documents and how they are used. The primary sources are the documents themselves on the developers' websites, together with their release notes and research papers. Commentary from AI researchers and journalists is helpful for spotting changes between versions, but always check the dated version of the document being discussed.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.