TheToolRadar

GPT-5.1-Codex-Mini API Cost Calculator

Estimate your monthly API costs for GPT-5.1-Codex-Mini from Openai.

Pricing per 1M tokens

Input
$0.2500
Output
$2.00
400K context100K max outputVisionFunction callingStreaming

Pricing last verified: Mar 21, 2026

30-Day Price History

Solid line: input price  ·  Dashed line: output price

Estimate Your Costs

What are you building?

Cost Breakdown

Input cost/request$0.000125
Output cost/request$0.000600
Cost per request$0.000725
Daily cost (1,000 requests)$0.7250
Monthly estimate$21.75
Annual estimate$261.00

Compare with Similar Models

ModelInput/1MOutput/1M
GPT-5 Mini
Openai
$0.2500$2.00
GPT-IMAGE-1-MINI
Openai
$2.00$0.2000
GPT-3.5 Turbo
Openai
$0.5000$1.50
GPT-4.1 Mini
Openai
$0.4000$1.60
GPT-5.4OUR
Openai
$2.50$0.2500

Frequently Asked Questions

How much does GPT-5.1-Codex-Mini cost per token?

GPT-5.1-Codex-Mini is priced at $0.2500 per 1M input tokens and $2.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.

What is the context window for GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini has a context window of 400K tokens (400,000 tokens). The maximum output length is 100K tokens.

Does GPT-5.1-Codex-Mini support image inputs (vision)?

Yes, GPT-5.1-Codex-Mini supports vision/image inputs. You can send images as part of your prompts.

Does GPT-5.1-Codex-Mini support function calling (tool use)?

Yes, GPT-5.1-Codex-Mini supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.

How does GPT-5.1-Codex-Mini compare to similar models?

GPT-5.1-Codex-Mini costs $0.2500 input and $2.00 output per 1M tokens. GPT-4.1 Mini is less expensive at $0.4000 input and $1.60 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the GPT-4.1 Mini page at /tools/cost-calculator/openai/gpt-4-1-mini.