Atlas / Models / OpenAI / OpenAI: GPT-4

OpenAI: GPT-4✓ Catalog verified

openai/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 capabilities. Training data: up to Sep 2021.

Input price
$30.00 /1M
Output price
$60.00 /1M
Context
8K
Modalities
text
Released
May 28, 2023
Tool calling
✓ Yes
Atlas signal
78/100
01

Overview

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 capabilities. Training data: up to Sep 2021.

Access: available through the official OpenAI API. Context window: 8K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifieropenai/gpt-4
ProviderOpenAI
Model typeText LLM
Context window8K catalog
Input modalitiestext
Output modalitiestext
ReleasedMay 28, 2023
TokenizerGPT
ModeratedYes
Architecture modalitytext->text
Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p
Source: provider documentation + catalog feedMethodology →
03

Pricing

Live pricing components for openai/gpt-4 as published in the catalog.

$30.00
Input /1M
$60.00
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$0.00003$30.00 / 1MPer input token
Completion tokens$0.00006$60.00 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$27Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual UnderstandingNot advertisedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

OpenAI: GPT-4
MMLU Signal (Reasoning)
80signal
Coding Signal (HumanEval proxy)
83signal
Math Signal (GSM8K proxy)
74signal
Science Signal (GPQA proxy)
74signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call OpenAI: GPT-4 through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="openai/gpt-4",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does OpenAI: GPT-4 cost?

$30.00 per 1M input tokens and $60.00 per 1M output tokens on the official OpenAI API.

What is the context window of OpenAI: GPT-4?

OpenAI: GPT-4 supports up to 8K tokens of context.

Does OpenAI: GPT-4 support tool / function calling?

Yes, OpenAI: GPT-4 supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access OpenAI: GPT-4?

Use the official OpenAI API with the model id `openai/gpt-4`. See the Quick start section above for code examples.