GPT-4.1 API pricing

GPT-4.1 costs $2 per million input tokens and $8 per million output tokens. A typical chatbot request (about 1,500 input + 400 output tokens) costs $0.0062, or $6.20 per 1,000 requests.

0 characters0 words0 tokens (GPT o200k)

ModelInput tokensPrice / 1M (in → out)Per requestPer month
GPT-4.1$2 → $8

≈ = estimated token count: only OpenAI publishes its tokenizer. Claude counts use Anthropic’s published ratios; use the count_tokens API for an exact number.

GPT-4.1 price per million tokens

USD, OpenAI standard tier. Prices checked on October 28, 2026.

Token typePrice per 1MWith Batch API
Input$2$1
Cached input$0.5$0.25
Output$8$4

Model ID: gpt-4.1 · Source: developers.openai.com

What a GPT-4.1 request costs

RequestPer requestPer 1,000
Short chat reply
500 input + 200 output tokens
$0.0026$2.60
Chatbot turn with context
1,500 input + 400 output tokens
$0.0062$6.20
Document Q&A (RAG)
8,000 input + 500 output tokens
$0.02$20.00
Long-document summary
150,000 input + 2,000 output tokens
$0.32$316

Token counts are measured with GPT's o200k tokenizer and converted for GPT-4.1 (see below). No caching or batch discount.

Similarly priced models

ModelChatbot requestvs GPT-4.1
Grok 4.7 xAI$0.0056−10%
Grok 4.6 xAI$0.0056−10%
Grok 4.5 xAI$0.0056−10%
Gemini 2.5 Pro Google$0.0060−4%
o3 OpenAI$0.0062same
GPT-6.1 Sol OpenAI$0.0070+13%

Frequently asked questions

How much does the GPT-4.1 API cost?

GPT-4.1 costs $2 per million input tokens and $8 per million output tokens on OpenAI's standard tier. Prices checked on October 28, 2026.

How much does one GPT-4.1 request cost?

A typical chatbot request with about 1,500 input and 400 output tokens costs about $0.0062, or $6.20 per 1,000 requests. Paste your own prompt into the calculator on this page for an exact estimate.

Does GPT-4.1 support prompt caching?

Yes. Cached input costs $0.5 per million tokens, 75% less than regular input.

Does GPT-4.1 have a Batch API discount?

Yes: 50% off for requests sent through the Batch API, which may take up to 24 hours. That makes it $1 / $4 per million input / output tokens.

How are GPT-4.1 tokens counted?

GPT-4.1 uses OpenAI's public o200k tokenizer, so its token counts here are exact.

More pricing