Chat
Object that provides pre-configured instances of advanced GPT models for different use cases. These instances represent versatile and high-performance large language models capable of handling various tasks like text completion, image input processing, structured outputs, and interfacing with tools.
Properties
GPT-4.1 mini provides a balance between intelligence, speed, and cost that makes it an attractive model for many use cases.
GPT-4.1-nano is the smallest and most affordable model in the GPT-4.1 family. It's designed for tasks that require basic capabilities at the lowest possible cost.
GGPT-4o (“o” for “omni”) is a versatile, high-intelligence flagship model. It accepts both text and image inputs, and produces text outputs (including Structured Outputs). It is the best model for most tasks, and is currently the most capable model outside of the o-series models.
GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in Codex or similar environments. It's available in the Responses API only, and the underlying model snapshot will be regularly updated.
GPT-5.1-Codex-Max GPT‑5.1-Codex-Max is purpose-built for agentic coding. It's only available in the Responses API.
GPT-5.2-Codex is an upgraded version of GPT-5.2 optimized for agentic coding tasks in Codex or similar environments. GPT-5.2-Codex supports low, medium, high, and xhigh reasoning effort settings.
GPT-5.3-Codex is optimized for agentic coding tasks in Codex or similar environments. GPT-5.3-Codex supports low, medium, high, and xhigh reasoning effort settings.
GPT-5.4 mini brings the strengths of GPT-5.4 to a faster, more efficient model designed for high-volume workloads.
GPT-5.4 nano is designed for tasks where speed and cost matter most like classification, data extraction, ranking, and sub-agents.
GPT-5.4 pro uses more compute to think harder and provide consistently better answers. GPT-5.4 pro is available in the Responses API only to enable support for multi-turn model interactions before responding to API requests, and other advanced API features in the future. Since GPT-5.4 pro is designed to tackle tough problems, some requests may take several minutes to finish. To avoid timeouts, try using background mode. GPT-5.4 pro supports reasoning.effort: medium, high, xhigh.
GPT-5 pro uses more compute to think harder and provide consistently better answers. GPT-5 pro is available in the Responses API only to enable support for multi-turn model interactions before responding to API requests, and other advanced API features in the future. As the most advanced reasoning model, GPT-5 pro defaults to (and only supports) reasoning.effort: high. GPT-5 pro does not support code interpreter.
o3 is a well-rounded and powerful model across domains. It is capable of math, science, coding, and visual reasoning tasks. It also excels at technical writing and instruction-following. Use it to think through multi-step problems that involve analysis across text, code, and images.