gpt-5-2025-08-07GPT-5 is OpenAI's most advanced model, built for complex, high-stakes tasks that require careful step-by-step reasoning and precise instruction following. It improves code quality, writing, and reliability, supports test-time routing and intent cues like “think hard,” and reduces hallucinations and sycophancy across demanding workloads.
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-2025-08-07", 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-2025-08-07",# 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-4o Transcribe is OpenAI's high-quality speech-to-text model built on GPT-4o's audio capabilities. It delivers accurate transcription with strong language understanding, making it suitable for a wide range of audio processing tasks. Priced per token (input and output), it offers transparent, fine-grained billing, making it well suited for workflows that require scalable transcription, integration with LLM pipelines, and cost-aware processing.
GPT-Codex-5.3 is OpenAI's most advanced agentic coding model, designed for software engineering workflows that extend beyond single prompts into long-running, tool-driven execution. It combines the frontier coding performance of earlier Codex models with stronger reasoning and professional knowledge capabilities, enabling reliable handling of complex refactors, multi-step debugging, research-driven development, and autonomous task execution.  Optimized for developer productivity, GPT-Codex-5.3 supports interactive collaboration during execution, allowing users to steer tasks in real time without losing context. With improved agentic reliability, faster inference, and stronger performance on long-horizon engineering tasks, it is well suited for coding agents, IDE and CLI workflows, and end-to-end software development pipelines where persistence, tool use, and execution continuity are critical.
gpt-image-1.5 is an upgraded OpenAI image model that produces more detailed, realistic visuals with better composition and prompt fidelity. It improves editing, variation, and style control over earlier versions, making it well suited for creative design, illustration, marketing assets, and visual prototyping.
gpt-oss-120b is an open-weight 117B-parameter MoE model from OpenAI, built for advanced reasoning and production workloads. Only about 5.1B parameters are active per step, and it’s optimized to run on a single H100 using MXFP4 quantization. It supports adjustable reasoning depth, full chain-of-thought, and native agent features like tool use, function calling, browsing, and structured outputs.
Initialized observational baseline with no recorded failures