by OpenAI
GPT-5.1-Codex-Max is a frontier programming model built for the agent-driven era. Powered by an upgraded core reasoning architecture, it is specially trained for complex agentic tasks in software engineering, mathematics, and scientific research. It delivers faster performance, greater stability, and higher token efficiency across the entire development lifecycle, including code generation, refactoring, debugging, and engineering collaboration. With native support for multiple context windows and a built-in compaction mechanism, the model can coherently process millions of tokens within a single task.
GPT-5.1-Codex-Max is a frontier programming model built for the agent-driven era. Powered by an upgraded core reasoning architecture, it is specially trained for complex agentic tasks in software engineering, mathematics, and scientific research. It delivers faster performance, greater stability, and higher token efficiency across the entire development lifecycle, including code generation, refactoring, debugging, and engineering collaboration. With native support for multiple context windows and a built-in compaction mechanism, the model can coherently process millions of tokens within a single task.
gpt-5.1-codex-max has a 400,000 token context window.
On AIHubMix, gpt-5.1-codex-max costs $1.25 per million input tokens and $10 per million output tokens. Cached input reads are billed at $0.13 per million tokens.
gpt-5.1-codex-max accepts text and image input.
gpt-5.1-codex-max supports function calling, structured outputs and thinking. Per-protocol parameter support is listed in the capability table on this page.
gpt-5.1-codex-max is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gpt-5.1-codex-max — no other code changes needed.
gpt-5.1-codex-max is developed by OpenAI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.
GPT-5.6 Luna is designed for cost-sensitive, high-volume workloads. It roughly…
GPT‑5.6 Sol sets a new standard for both intelligence and efficiency, achieving…
GPT-5.6 Terra is designed for workloads that balance intelligence and cost. It roughly…
GPT-4o Transcribe Diarize is an automatic speech recognition (ASR) model with built-in…
The gpt-audio model is OpenAI's first officially released (generally available) audio…
GPT-image-2 is OpenAI's latest cutting-edge image generation model. Key value adds…
Use gpt-5.1-codex-max via the AIHubMix unified API — one interface for every major LLM.