Skip to main content

GPT-5.1 Codex

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. $1.25 per million input tokens, $10 per million output tokens. 400,000 token context window, maximum output of 128,000 tokens. Higher uptime with 2 providers. Includes independent benchmarks from Artificial Analysis.

Input / output price
$1.25 / $10.00 per 1M
Context
400K tokens
Released
Nov 13, 2025
Agent setup

Paste into Claude Code, Cursor, or Codex

Help me set up the Respan gateway: fetch and follow https://www.respan.ai/docs/agent-setup.md. Use model "gpt-5.1-codex".

Read docs

Providers

2 providers, cheapest first, retired then OpenRouter last, priced per 1M tokens after gateway discounts.

ProviderInputOutput
Azure Foundryazure_foundry/gpt-5.1-codex
$1.25/M$10.00/M
OpenRouterRetiredopenrouter/gpt-5.1-codex
$1.25/M$10.00/M

Is a provider down? OpenRouter status

Pricing

Averaged across 2 providers, in USD per 1M tokens after gateway discounts.

Average input
$1.25 per 1M
Average output
$10.00 per 1M
Average cache read
$0.13 per 1M

Cost by volume

Total cost from 0 to 1T tokens.

$1.25/MAzure Foundry and OpenRouter

Throughput and latency

30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.

Output speed

Higher is better

7.5tokens/sacross providers

Faster than 15% of the other 599 models on the gateway

Response latency

Lower is better

2.2sacross providers

Faster than 48% of the other 780 models on the gateway

Benchmarks

4 published scores from 2 sources, each linked to where it was published.

Published scores

BenchmarkScore
SWE-bench VerifiedOpenAI73.7%
SWE-Lancer IC SWEOpenAI66.3%
Terminal-Bench 2.0OpenAI52.8%

Apps

Use GPT-5.1 Codex in the tools you already run. Each guide points the app at the Respan gateway.

Setup guides for more apps are in the integration docs.

GPT-5.1 Codex FAQ

Short answers, built from the data on this page.

GPT-5.1 Codex is a model from OpenAI, released on Nov 13, 2025. GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. $1.25 per million input tokens, $10 per million output tokens. 400,000 token context window, maximum output of 128,000 tokens. Higher uptime with 2 providers. Includes independent benchmarks from Artificial Analysis.

On the Respan gateway, GPT-5.1 Codex costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on every provider, after gateway discounts.

GPT-5.1 Codex is available through 2 providers: Azure Foundry and OpenRouter.

GPT-5.1 Codex accepts up to 400K tokens of context on its largest provider route.

Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "gpt-5.1-codex". To set it up with a coding agent, copy the agent setup prompt at the top of this page.

GPT-5.1 Codex has 4 published benchmark scores, including SWE-bench Verified 73.7% and LMArena WebDev 1338. Each score links to where it was published; the data is collected by Respan.

Certified where it counts.

Built to meet the security and privacy standards that enterprise and healthcare teams require.

ISO 27001

The internationally recognized standard for information security management.

SOC 2

Secure, compliant management of your data across all of our systems.

GDPR

Operated under GDPR, the world's strictest standard for data privacy.

HIPAA

HIPAA compliant, with a BAA available for healthcare teams.

Works with your entire stack

Use Respan with your favorite frameworks and tools.

AnthropicAI21 LabsxAIVercel AI SDK
LangChainOpenRouterAssemblyAICursor
LiteLLMGroqBasetenMem0
CohereCogneeLlamaIndexFireworks
DeepSeekLinkupHaystackTogether AI
PerplexityInference.netPostHogRubyLLM
SlackMastraAzure OpenAIMistral
AWS BedrockMoonshotHyperspellBAML
ModaInstructorGoogle GeminiParasail
ReductoZapierAgnoNebius
OpenAINovita AIReplicateSuperagent

Built for AI agents.
Break less.
Ship more.