The Model Spec is a document OpenAI first published in 2024 that describes the objectives, rules and default behaviors its models in ChatGPT and the API should follow. It covers matters such as which instructions take priority when users and developers conflict and which requests should be refused.
OpenAI uses the document as a reference for training and evaluating its models and has revised it several times since its release.