GPT-4

by OpenAIopenai/gpt-4

  • Text
  • No route yet
  • Released
  • Knowledge cutoff 30 September 2021

LLMCompare cannot run GPT-4 yet.No route to this model is configured on this site yet. Its prices and parameters are listed below for reference.

See the models that can be run now

GPT-4 at a glance

Context length
8,191 tokens
Maximum output
4,096 tokens
Accepts
Text
Returns
Text
Features
JSON outputTool calling
Reasoning effort levels
Not supported
Released
28 May 2023
Knowledge cutoff
30 September 2021

Model facts synced from the OpenRouter model list on 21 Oct 2026.

GPT-4 pricing by route

A route is the service LLMCompare calls to reach the model. GPT-4 has 1 route. Prices are in US dollars.

Prices of GPT-4 on each route
RouteOn LLMCompareInputper 1M tokensOutputper 1M tokensPrice verified onSource
OpenRouterDefaultNot configured$30.00$60.00openrouter.ai/openai/gpt-4

The cost shown in an LLMCompare report is calculated from these prices as they were at the time of the run.

Cost calculator

Estimate what a batch of calls to GPT-4 costs. The starting numbers are examples. Change them to match your task.

Cost per call
$0.06
72 credits
Cost of 100 calls
$6.00
7,200 credits

Calculated from the OpenRouter prices verified on 21 Oct 2026. Credits are the cost plus a 20% service fee, at $0.001 per credit, rounded up for each call, with a minimum of 1 per call. A real run is charged for the usage the provider reports.

Parameters you can set

These are the parameters LLMCompare can set when it calls the model through OpenRouter.

Parameters of GPT-4
ParameterTypeRange or optionsDefault
temperatureNumber0 to 2in steps of 0.1Provider default
top_pNumber0 to 1in steps of 0.05Provider default
max_tokensInteger1 to 4,096Provider default
seedInteger-2,147,483,648 to 4,294,967,295Provider default
response_formatOne oftextjson_objectProvider default

About GPT-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

Description as published for this model. LLMCompare has not edited it.

Models to compare with GPT-4

Text models from the same provider and models at the nearest price. The order is not a ranking.

Models to compare with GPT-4
Add to comparisonModelContextMax outputInput priceper 1M tokensOutput priceper 1M tokensFeaturesReleasedOn LLMCompare
o3 ProOpenAIopenai/o3-pro200k100k$20.00$80.00JSONToolsVisionNo route yet
o1OpenAIopenai/o1200k100k$15.00$60.00JSONToolsCacheVisionNo route yet
GPT-5 ProOpenAIopenai/gpt-5-pro400k128k$15.00$120.00ReasoningJSONToolsVisionNo route yet
Claude Opus 4.1Anthropicanthropic/claude-opus-4.1200k32k$15.00$75.00ToolsCacheVisionNo route yet
Claude Fable 5.1Anthropicanthropic/claude-fable-5.11M128k$10.00$50.00ReasoningJSONToolsCacheVisionNo route yet
Claude Fable 5Anthropicanthropic/claude-fable-51M128k$10.00$50.00ReasoningJSONToolsCacheVisionNo route yet

Questions about GPT-4

How much does GPT-4 cost?
On the OpenRouter route, GPT-4 costs $30.00 per 1 million input tokens and $60.00 per 1 million output tokens, in US dollars. LLMCompare verified this price on 21 Oct 2026.
What is the context length of GPT-4?
GPT-4 has a context length of 8,191 tokens and returns up to 4,096 output tokens in one call.
What inputs does GPT-4 accept?
GPT-4 accepts these inputs: Text. GPT-4 returns: Text.
Can I test GPT-4 on my own data?
Not yet. LLMCompare lists the prices and parameters of GPT-4, but no route to GPT-4 is configured on LLMCompare, so it cannot be selected for an evaluation.