Calculator/OpenAI/GPT-4.1 Mini
OA

GPT-4.1 Mini

by OpenAIWebsite
codingchat

Input

$0.20/MTok

Output

$0.80/MTok

Cached Input

$0.10/MTok

with caching

Batch Input

$0.10/MTok

batch API

Specifications

Context Window

1M context

Max Output

32K tokens

Caching

Supported

Batch API

Supported

Vision

Supported

Tool Use

Supported

Cost Examples

Single chat message

500 input + 300 output tokens

$0.000340/request

Code review

5,000 input + 2,000 output tokens

$0.0026/request

Document summary

50,000 input + 1,000 output tokens

$0.01/request

100 requests/day

1,000 input + 500 output × 30 days

$1.80/month

Compare GPT-4.1 Mini

See how GPT-4.1 Mini stacks up against GPT-5.4 Nano and Grok 4.1 Fast.