gpt-5.4-proGPT-5.4 Pro is OpenAI's most advanced model, built on the unified GPT-5.4 architecture with enhanced reasoning capabilities for complex and high-stakes tasks. It supports text and image inputs and features a 1M+ token context window (≈922K input, 128K output) for handling large-scale workflows and long-context analysis. Optimized for step-by-step reasoning, instruction following, and accuracy, GPT-5.4 Pro excels in agentic coding, long-context problem solving, and complex multi-step workflows, making it well suited for advanced engineering, research, and high-reliability applications.
Select an endpoint and copy a working example for this model.
from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.apertis.ai/v1") response = client.chat.completions.create( model="gpt-5.4-pro", messages=[ {"role": "user", "content": "Hello!"} ], max_tokens=1024, temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(# model="gpt-5.4-pro",# messages=[{"role": "user", "content": "Hello!"}],# extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )modelmessagesmax_tokenstemperaturetop_pstreamtoolsreasoning_effortstream_optionsthinkingextra_bodyUse these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.
See how this model compares to others from the same provider.
GPT-5.6 Luna Pro uses the same underlying model as GPT-5.6 Luna, but runs with reasoning.mode set to pro to deliver higher-quality responses on complex tasks. It is optimized for deeper reasoning, advanced coding, and multi-step agentic workflows, offering improved accuracy and solution quality while retaining the efficiency and scalability of the Luna tier.
GPT-5.6 Luna is the fast, cost-efficient model in OpenAI's GPT-5.6 series, optimized for high-volume, latency-sensitive workloads. It delivers capable reasoning at an affordable price point, making it ideal for chat applications, classification, and lightweight agentic workflows. Designed for scalable production deployments, GPT-5.6 Luna balances speed, cost, and reliability, providing efficient performance for real-time applications and large-scale automation tasks.
GPT-5.6 Terra Pro uses the same underlying model as GPT-5.6 Terra, but runs with reasoning.mode set to pro to deliver higher-quality responses on complex tasks. Optimized for deeper reasoning and greater reliability, it is well suited for advanced coding, multi-step reasoning, and agentic workflows where improved accuracy and solution quality are more important than maximizing speed or minimizing cost.
GPT-5.6 Terra is the balanced model in OpenAI's GPT-5.6 series, positioned between the flagship Sol tier and the cost-efficient Luna tier. It is designed for everyday coding, reasoning, and agentic workflows, delivering strong performance while balancing capability and cost. Offering near-flagship quality at approximately half the cost of Sol, GPT-5.6 Terra is well suited for production applications that require reliable reasoning, software development, and scalable agent execution.
See how this model compares to others from the same provider.
GPT-5.1 Codex Max is OpenAI's advanced agentic coding model, built for long-running, high-context development work. Using an upgraded 5.1 reasoning stack and training on real engineering workflows, it delivers faster performance, stronger reasoning, and better token efficiency across the full software lifecycle.
Sora 2 is the higher-quality version of OpenAI's Sora 2 text-to-video and audio generation model, designed to produce more realistic, controllable, and detailed AI-generated videos with synchronized audio and advanced world simulation capabilities. It builds on Sora 2's breakthrough in video realism and physics-aware generation, offering enhanced visual fidelity and extended features for creative and professional use. Early access has been available to ChatGPT Pro subscribers via sora.com, with wider availability expected after the invite/beta rollout.
GPT-5.5 is OpenAI's frontier model for complex professional workloads, building on GPT-5.4 with stronger reasoning, higher reliability, and improved token efficiency on challenging tasks. It supports text and image inputs and features a 1M+ token context window (≈922K input, 128K output) for large-scale, high-context workflows. Designed for advanced applications, GPT-5.5 excels in reasoning, coding, and multimodal workflows, enabling efficient execution of complex, multi-step tasks within a single system.
GPT-5.4 is OpenAI's latest frontier model, unifying the GPT and Codex lines into a single system designed for both general intelligence and advanced software engineering workflows. It supports text and image inputs and features a 1M+ token context window (≈922K input, 128K output), enabling high-context reasoning, coding, and multimodal analysis within a single workflow. The model delivers improved performance in coding, document understanding, tool use, and instruction following, and is designed as a strong default for complex tasks. It can generate production-quality code, synthesize information across large datasets, and execute multi-step workflows with fewer iterations and greater token efficiency.
Initialized observational baseline with no recorded failures