OpenAI

gpt-4.1-mini

$0.4 in · $1.6 out per million tokens · 1,000,000 tokens of context · first token in 857 ms

Get an API key

Price, limits and measured speed

Input price
$0.4 per million tokens
gateway.plungeai.com
Output price
$1.6 per million tokens
gateway.plungeai.com
OpenAI's list price, input
$0.4 per million tokens
OpenAI's list price, as our price feed records it
OpenAI's list price, output
$1.6 per million tokens
OpenAI's list price, as our price feed records it
Against the list price
At the list price
gateway.plungeai.com
Context window
1,000,000 tokens
gateway.plungeai.com
Tool calling
Yes
gateway.plungeai.com
Reads images
No
gateway.plungeai.com
Streams its answer
Yes
gateway.plungeai.com
Takes
text
gateway.plungeai.com
Request parameters
27 supported
gateway.plungeai.com
Served by
OpenAI
gateway.plungeai.com
Time to first token
857 ms
our probe of 22 November 2026 · measured by us
Output speed
132.1 tokens a second
our probe of 22 November 2026 · measured by us
Price of our test call
$0.000204
our probe of 22 November 2026, as the API stated it · measured by us
Input price rank
26th lowest of 55 chat models
the models on this site we could call · measured by us
Output price rank
23rd lowest of 55
the models on this site we could call · measured by us
First-token rank
20th fastest of 55 measured
our probe of 22 November 2026 · measured by us
Output speed rank
30th fastest of 42 measured
our probe of 22 November 2026 · measured by us
Context rank
15th largest of 55
the models on this site we could call · measured by us

Call it

curl

curl https://api.plungeai.com/v1/chat/completions \
  -H "Authorization: Bearer $PLUNGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-mini",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

What it costs for three jobs

The same three jobs on every model page, so two models can be compared.

The cost of three reference workloads on openai/gpt-4.1-mini
JobTokens inTokens outThrough One APIAt OpenAI's list price
A chat turn1,000300$0.00088$0.00088
An answer over retrieved documents8,000500$0.004$0.004
A summary of a long document100,0002,000$0.0432$0.0432

Models near it

Each against gpt-4.1-mini: its input price and the time to its first token.

Models related to openai/gpt-4.1-mini by provider, price and context
ModelWhy it is hereInput price against itFirst token against itInput, $ per 1MOutput, $ per 1MContext, tokensFirst tokenTokens a second
openai/gpt-5-miniSame provider−38 %+3,307 ms$0.25$2400,0004,164 ms124.6
openai/gpt-5.4-nanoSame provider−50 %−406 ms$0.2$1.25400,000451 ms159.3
openai/gpt-5.6-lunaSame provider−50 %−60 ms$0.2$1.21,000,000797 ms220
deepseek/deepseek-v4.1-flashCheaper, same abilities−38 %−431 ms$0.25$0.751,048,576426 ms189.3
google/gemini-3.1-flash-liteCheaper, same abilities−38 %+1 ms$0.25$1.51,000,000858 ms739.6
google/gemini-3.5-flash-liteLarger context−25 %−7 ms$0.3$2.51,048,576850 ms715.2

Request options

What openai/gpt-4.1-mini returns and the request parameters it accepts
SettingValue
Returnstext
Request parameterstemperature, top_p, max_tokens, max_completion_tokens, stop, tools, tool_choice, response_format, n, seed, presence_penalty, frequency_penalty, logprobs, top_logprobs, logit_bias, parallel_tool_calls, reasoning_effort, audio, functions, function_call, prompt_cache_key, safety_identifier, metadata, prediction, web_search_options, verbosity, modalities

What changed

  • gpt-4.1-mini A summary of a long document: $0.043 → $0.0432

Every change

In short

  • One API charges OpenAI's list price for gpt-4.1-mini: $0.4 in and $1.6 out per million tokens.
  • By input price it is the 26th lowest of the 55 chat models we could call on 22 November 2026.
  • Its first token arrived after 857 ms in our test; the median of the 23 OpenAI models we called was 1,047 ms.
  • Its context window of 1,000,000 tokens holds about 2,000 pages of text at 500 tokens a page.

How this page is made

Prices, context sizes and abilities are read from One API's public price feed and its model endpoints each time this page is built. The time to the first token, the output speed and the price of a call are measured by us: 3 calls for each model through a One API key on 22 November 2026, entering at not recorded. A model that did not answer has no page. How we measure.

Data checked · Last changed

Get an API key