Skip to main content

Grok 4.7

Live
SpaceXAI500K context · Text, Vision, Tools, ReasoningBenchmark price · $2 input / $6 output per 1M tokens
Use this model
Best discount now98.2%offYou pay 1.8% of reference.
Median discount91.0%offAcross 92 live offers.
Realized · 7 days56.4%avgRequest-weighted average.
Requests · 24h3,20092 offers from 34 sellers.
Current offers
92 of 146 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
InferHub
98%
$0.0368 in
$0.11 out
5.5s
77.0%
77.1%
$16
InferHub
98%
$0.0368 in
$0.11 out
5.5s
77.0%
77.1%
$0.079
InferHub
98%
$0.0368 in
$0.11 out
5.5s
77.0%
77.1%
$0.328
InferHub
98%
$0.0369 in
$0.11 out
5.5s
77.0%
77.1%
$0.732
InferHub
97%
$0.0421 in
$0.13 out
5.5s
77.0%
77.1%
$2
InferHub
97%
$0.0421 in
$0.13 out
5.5s
77.0%
77.1%
$0.452
InferHub
97%
$0.0600 in
$0.18 out
5.5s
77.0%
77.1%
$5
InferHub
92%
$0.16 in
$0.48 out
5.5s
77.0%
77.1%
-
InferHub
91%
$0.18 in
$0.54 out
5.5s
77.0%
77.1%
-
InferHub
91%
$0.18 in
$0.54 out
5.5s
77.0%
77.1%
-
Total
Cumulative offers
Sold
$45

Discount trend

Realized · 7 days
99.9%+0.0 pts vs last week
Best, twice dailyMedian 91.0%

Recent fills

17:402,659 tokensInferHub98.1%
17:39123 tokensOpenRouter70.0%
17:3948 tokensOpenRouter70.0%
17:3920,309 tokensInferHub98.1%
17:392,362 tokensInferHub98.2%
17:3882,677 tokensInferHub98.2%
17:3881,846 tokensInferHub98.2%
17:382,784 tokensInferHub98.1%
17:379,826 tokensOpenRouter70.1%
17:3781,408 tokensInferHub98.2%
17:3780,095 tokensInferHub98.2%
17:371,961 tokensInferHub98.1%
17:37183 tokensVenice AI16.1%
17:3728,992 tokensOpenRouter70.1%
17:3779,814 tokensInferHub98.2%
17:3779,548 tokensInferHub98.2%
17:362,654 tokensInferHub98.2%
17:3678,424 tokensInferHub98.2%
17:362,118 tokensInferHub98.2%
17:362,297 tokensVenice AI16.2%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
InferHub59% of traffic
77.0% success
p50 10.11 s · p95 61.18 s · 99 tok/s
Venice AI direct23% of traffic
92.7% success
p50 13.64 s · p95 33.57 s · -
OpenRouter18% of traffic
96.4% success
p50 18.42 s · p95 203.21 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
  • 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
  • reasoning_effortstringHow hard to think, as a string such as "high"
  • reasoningobjectReasoning options as an object, such as {"effort": "high"}
  • include_reasoningbooleanStripped before the request reaches the provider
  • logprobsbooleanReturn token log probabilities
  • top_logprobsintegerHow many top tokens to return probabilities for
Context window 500K tokens · Max output 250K 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="grok-4.7",
    messages=[{"role": "user",
               "content": "Hello!"}]
)

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

Related models