← All news

News / AI models / OpenAI

GPT-4

GPT-4 is a model by OpenAI, released 28 May 2023. It reads text and writes text, with a context window of 8K tokens and up to 4K tokens out. Through OpenRouter it costs $30 per million input tokens and $60 per million output tokens.

Facts from OpenRouter · updated 24 Nov 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $90 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "openai/gpt-4", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of GPT-4?

GPT-4 has a context window of 8,191 tokens, about 12 pages of text, and can write up to 4,096 tokens in one reply.

How much does GPT-4 cost?

Through OpenRouter, $30 per million input tokens and $60 per million output tokens. The maker's own price can differ.

Is GPT-4 open source?

No. OpenAI does not publish its weights; you use it through an API.

When was GPT-4 released?

It became available on 28 May 2023.

Something wrong? Email hello@capylaunch.com. All AI models