GPT-4
by OpenAIopenai/gpt-4
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 nowGPT-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.
| Route | On LLMCompare | Inputper 1M tokens | Outputper 1M tokens | Price verified on | Source |
|---|---|---|---|---|---|
| OpenRouterDefault | Not configured | $30.00 | $60.00 | openrouter.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.
| Parameter | Type | Range or options | Default |
|---|---|---|---|
temperature | Number | 0 to 2in steps of 0.1 | Provider default |
top_p | Number | 0 to 1in steps of 0.05 | Provider default |
max_tokens | Integer | 1 to 4,096 | Provider default |
seed | Integer | -2,147,483,648 to 4,294,967,295 | Provider default |
response_format | One of | textjson_object | Provider 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.
| Add to comparison | Model | Context | Max output | Input priceper 1M tokens | Output priceper 1M tokens | Features | Released | On LLMCompare |
|---|---|---|---|---|---|---|---|---|
o3 ProOpenAIopenai/o3-pro | 200k | 100k | $20.00 | $80.00 | JSONToolsVision | No route yet | ||
o1OpenAIopenai/o1 | 200k | 100k | $15.00 | $60.00 | JSONToolsCacheVision | No route yet | ||
GPT-5 ProOpenAIopenai/gpt-5-pro | 400k | 128k | $15.00 | $120.00 | ReasoningJSONToolsVision | No route yet | ||
Claude Opus 4.1Anthropicanthropic/claude-opus-4.1 | 200k | 32k | $15.00 | $75.00 | ToolsCacheVision | No route yet | ||
Claude Fable 5.1Anthropicanthropic/claude-fable-5.1 | 1M | 128k | $10.00 | $50.00 | ReasoningJSONToolsCacheVision | No route yet | ||
Claude Fable 5Anthropicanthropic/claude-fable-5 | 1M | 128k | $10.00 | $50.00 | ReasoningJSONToolsCacheVision | No 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.