Skip to main content

GPT-4o

Live
OpenAI128K context · Text, Vision, ToolsBenchmark price · $2.5 input / $10 output per 1M tokens
Use this model
Best discount now96.0%offYou pay 4.0% of reference.
Median discount50.0%offAcross 214 live offers.
Realized · 7 days94.3%avgRequest-weighted average.
Requests · 24h1,299214 offers from 70 sellers.
Current offers
214 of 477 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
OpenAI
96%
$0.10 in
$0.40 out
916ms
99.9%
65.2%
$5
OpenAI
94%
$0.15 in
$0.60 out
916ms
99.9%
65.2%
-
OpenAI
94%
$0.15 in
$0.60 out
916ms
99.9%
65.2%
-
OpenAI
94%
$0.15 in
$0.60 out
916ms
99.9%
65.2%
-
OpenAI
93%
$0.15 in
$0.60 out
916ms
99.9%
65.2%
-
OpenAI
86%
$0.33 in
$1.30 out
916ms
99.9%
65.2%
$0.231
OpenAI
86%
$0.33 in
$1.30 out
916ms
99.9%
65.2%
-
OpenAI
86%
$0.33 in
$1.30 out
916ms
99.9%
65.2%
-
OpenAI
86%
$0.33 in
$1.30 out
916ms
99.9%
65.2%
-
OpenAI
86%
$0.33 in
$1.30 out
916ms
99.9%
65.2%
-
Total
Cumulative offers
Sold
$5

Discount trend

Realized · 7 days
98.5%+0.2 pts vs last week
Best, twice dailyMedian 50.0%

Recent fills

16:39119 tokensOpenAI direct95.9%
16:3617 tokensOpenAI direct95.5%
16:369 tokensOpenAI direct96.7%
16:3417 tokensOpenAI direct95.5%
16:3236 tokensOpenAI direct95.8%
16:3013 tokensOpenAI direct97.5%
16:299 tokensOpenAI direct96.7%
16:2236 tokensOpenAI direct95.8%
16:2013 tokensOpenAI direct97.5%
16:199 tokensOpenAI direct96.7%
16:192,606 tokensOpenAI direct96.0%
16:1236 tokensOpenAI direct95.8%
16:1218 tokensOpenAI direct95.8%
16:10964 tokensOpenAI direct96.0%
16:1013 tokensOpenAI direct97.5%
16:102,587 tokensOpenAI direct96.0%
16:101,101 tokensOpenAI direct96.0%
16:0813 tokensOpenAI direct97.5%
16:0813 tokensOpenAI direct97.5%
16:081,956 tokensOpenAI direct96.0%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
OpenAI direct100% of traffic
99.9% success
p50 916 ms · p95 4.11 s · 99 tok/s
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",
    messages=[{"role": "user",
               "content": "Hello!"}]
)

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

Related models