Skip to main content

GPT-4o Mini

Live
OpenAI128K context · Text, Vision, ToolsBenchmark price · $0.15 input / $0.6 output per 1M tokens
Use this model
Best discount now97.0%offYou pay 3.0% of reference.
Median discount50.0%offAcross 462 live offers.
Realized · 7 days95.7%avgRequest-weighted average.
Requests · 24h18,806462 offers from 63 sellers.
Current offers
462 of 641 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
OpenAI
97%
$0.00450 in
$0.0180 out
679ms
99.8%
4.9%
$6
OpenAI
97%
$0.00450 in
$0.0180 out
679ms
99.8%
4.9%
$0.947
OpenAI
97%
$0.00450 in
$0.0180 out
679ms
99.8%
4.9%
$0.659
OpenAI
97%
$0.00450 in
$0.0180 out
679ms
99.8%
4.9%
-
OpenAI
94%
$0.00900 in
$0.0360 out
679ms
99.8%
4.9%
-
OpenAI
94%
$0.00900 in
$0.0360 out
679ms
99.8%
4.9%
-
OpenAI
94%
$0.00900 in
$0.0360 out
679ms
99.8%
4.9%
-
OpenAI
94%
$0.00900 in
$0.0360 out
679ms
99.8%
4.9%
-
OpenAI
94%
$0.00900 in
$0.0360 out
679ms
99.8%
4.9%
-
OpenAI
94%
$0.00900 in
$0.0360 out
679ms
99.8%
4.9%
-
Total
Cumulative offers
Sold
$8

Discount trend

Realized · 7 days
98.8%+0.0 pts vs last week
Best, twice dailyMedian 50.0%

Recent fills

17:40579 tokensOpenAI direct96.7%
17:40929 tokensOpenAI direct97.2%
17:39654 tokensOpenAI direct97.0%
17:39637 tokensOpenAI direct96.7%
17:392,156 tokensOpenAI direct97.1%
17:39772 tokensOpenAI direct97.1%
17:39806 tokensOpenAI direct97.0%
17:39621 tokensOpenAI direct97.1%
17:39698 tokensOpenAI direct97.2%
17:3917 tokensOpenAI direct100.0%
17:39566 tokensOpenAI direct97.5%
17:39575 tokensOpenAI direct97.3%
17:39538 tokensOpenAI direct96.9%
17:3917 tokensOpenAI direct100.0%
17:39958 tokensOpenAI direct97.1%
17:39614 tokensOpenAI direct97.1%
17:39475 tokensOpenAI direct96.8%
17:39522 tokensOpenAI direct96.6%
17:391,152 tokensOpenAI direct97.0%
17:38614 tokensOpenAI direct97.4%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
OpenAI direct100% of traffic
99.8% success
p50 2.25 s · p95 10.11 s · 73 tok/s
Uncensored AI direct0% of traffic
1.7% success
p50 - · p95 - · -
OpenRouter0% of traffic
1.9% success
p50 - · p95 - · -
Use this model

Change your base URL.
Keep your code.

Any OpenAI-compatible client works. Add /min30 to the path to only buy at 30% off or better.

Read the quickstart ↗
Parameters this model acceptsPOST /v1/chat/completions
  • modelstringThis model’s id
  • messagesarrayThe conversation, as role and content pairs
  • streambooleanSend the answer as server-sent events
  • max_tokensintegerMost output tokens to generate
  • temperaturenumberSampling temperature
  • top_pnumberNucleus sampling
  • stopstring | arrayStop sequences
  • seedintegerDeterministic sampling
  • toolsarrayFunctions the model may call, in the OpenAI format
  • tool_choicestring | objectauto, required, none, or one named function
  • response_formatobjectJSON mode or a JSON schema for structured output
  • structured_outputsbooleanAccepts a JSON schema in response_format
  • frequency_penaltynumberPenalises tokens by how often they appeared
  • presence_penaltynumberPenalises tokens that appeared at all
  • logit_biasobjectPer-token bias on the logits
  • logprobsbooleanReturn token log probabilities
  • top_logprobsintegerHow many top tokens to return probabilities for
  • web_search_options
Context window 128K tokens · Max output 16K tokensOthers are passed through; most providers ignore what they don’t support. Parameter compatibility ↗
from openai import OpenAI

client = OpenAI(
    api_key="inf_your_key_here",
    base_url="$SURPLUS_BASE_URL"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user",
               "content": "Hello!"}]
)

SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1

Related models