← All news

News / AI models / OpenAI

GPT-5.1-Codex

GPT-5.1-Codex is a model by OpenAI, released 13 Nov 2025. It reads text, image and writes text, with a context window of 400K tokens and up to 128K tokens out. Through OpenRouter it costs $1.25 per million input tokens and $10 per million output tokens.

Facts from OpenRouter · updated 24 Nov 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $7.5 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "openai/gpt-5.1-codex", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of GPT-5.1-Codex?

GPT-5.1-Codex has a context window of 400,000 tokens, about 600 pages of text, and can write up to 128,000 tokens in one reply.

How much does GPT-5.1-Codex cost?

Through OpenRouter, $1.25 per million input tokens and $10 per million output tokens. The maker's own price can differ.

Is GPT-5.1-Codex open source?

No. OpenAI does not publish its weights; you use it through an API.

When was GPT-5.1-Codex released?

It became available on 13 Nov 2025.

Something wrong? Email hello@capylaunch.com. All AI models