---
last_updated: 2026-11-27
source_url: https://opper.ai/openai/gpt-5-1-codex
title: "GPT-5.1 Codex by OpenAI"
description: "GPT-5.1 Codex by OpenAI, code-tuned model with a 272K context for code generation, refactoring, and debugging."
---

# GPT-5.1 Codex

By [OpenAI](https://opper.ai/openai).

GPT-5.1 Codex is a code-tuned variant of GPT-5.1 with a 272,000-token context window, aimed at software development and code-heavy tasks. It handles code generation, refactoring, debugging, and reasoning over large codebases.

The model supports function calling and structured outputs, so it integrates with development tools and automated code workflows. Its large context window lets it work across many files and keep changes consistent within a project.

## Key info

- Input: Text
- Output: Text
- Features: Tools, Structured output
- Context window: 272K
- Max output: 128K

## Best for

How GPT-5.1 Codex scores on each use case (0 to 100).

- [Multilingual](https://opper.ai/models?use=multilingual): 89.7 (Tasks across languages)

## Benchmarks

Independent benchmark scores via [Artificial Analysis](https://artificialanalysis.ai) ([view on AA](https://artificialanalysis.ai/models/gpt-5-1-codex)). Indices and domain scores are out of 100, Omniscience runs from −100 to 100, Briefcase is an Elo rating, and the other evaluation scores are the share of tasks solved.

- Global rank: #149 of 523 LLMs on the [LLM leaderboard](https://opper.ai/llm-leaderboard)
- Tier: Efficient
- Output speed: 129 tok/s
- Intelligence Index (previous version): 23.7

### Coding

- LiveCodeBench: 85%

### Agentic & knowledge work

- Terminal-Bench Hard: 35%
- τ²-Bench Telecom: 83%

### Science & reasoning

- Humanity's Last Exam: 26%
- GPQA Diamond: 86%
- Long-context reasoning: 69%

### Knowledge

- MMMU-Pro: 73%
- MMLU-Pro: 86%

### Math & instruction following

- AIME 2025: 96%
- IFBench: 70%

## Available routes

No routes currently available — GPT-5.1 Codex isn't routed through the Opper gateway right now. It may return. Contact [hello@opper.ai](mailto:hello@opper.ai) about this model.

## Available models from OpenAI

- [GPT-6.2 Astra](https://opper.ai/openai/gpt-6-2-astra)
- [GPT-6 Astra](https://opper.ai/openai/gpt-6-astra)
- [GPT-6.2 Sol](https://opper.ai/openai/gpt-6-2-sol)
- [GPT-6.1 Sol](https://opper.ai/openai/gpt-6-1-sol)
- [GPT-6.1 Terra](https://opper.ai/openai/gpt-6-1-terra)
- [GPT-6 Luna](https://opper.ai/openai/gpt-6-luna)
