RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

OpenAI: GPT-5.1-Codex-Mini API pricing

$0.25 per 1M input tokens and $2.00 per 1M output tokens on OpenRouter. Context window: 400,000 tokens.

$0.25input / 1M tokens
$2.00output / 1M tokens
$0.03cached input / 1M
391Kcontext
text+image->textmodality

What it costs in practice

WorkloadCost
Chatbot: 10,000 messages (1,500 in / 400 out tokens each)$11.75
RAG: 1,000 queries (8,000 in / 600 out each)$3.20
Summarize 100 long documents (50,000 in / 1,000 out each)$1.45

Cross-check against the provider's list price

LiteLLM's price map lists gpt-5.1-codex-mini (openai) at $0.25 in / $2.00 out per 1M tokens. Matches OpenRouter

Price history

No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.

Cheaper alternatives with similar context

Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.

ModelInput / 1MOutput / 1MContext
Qwen: Qwen3.5 Plus 2026-04-20$0.30$1.80977K
DeepSeek: DeepSeek V4 Flash Vision Exp$0.44$1.321M
Meta: Muse Glimmer 30B$0.35$1.50128K
Thinking Machines: Inkling Small$0.45$1.20512K
Qwen: Qwen3 VL 235B A22B Instruct$0.21$1.90256K
Tencent: Hy4$0.417$1.251M
Qwen: Qwen3.8 27B (batch)$0.16$2.00256K
Cohere: Command A+$0.30$1.50188K

Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID openai/gpt-5.1-codex-mini, listed Nov 13, 2025. Report an error.