Textby 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...

  • By price it is among the most expensive of the 345 text models GenMagic runs (339th cheapest).
  • Among the models GenMagic runs, it places in the top 10 on 2 of its 6 benchmarks: 3rd of 10 on GSM8K, 8th of 19 on MMLU.
  • It was listed on May 28, 2023.

Data last changed Nov 1, 2026 · tracked since Oct 29, 2026 · Every model change

Try GPT-4

Generate with GPT-4 right here. Verify your email to start with free credits.

~$0.135
Try

Specifications

Context window

8K tokens

Max output

4K tokens

Knowledge cutoff

2021-09-30

Input price

$45.00 / 1M tokens

Output price

$90.00 / 1M tokens

Benchmarks

How GPT-4 scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

13.1

source date 2026-11-11
Source: openrouter
AI2 ARC ChallengeReasoning & Knowledge

96.3%

Source: epoch
GSM8KMathematics

92%

Source: epoch
LMArena (Coding)Instruction & Preference

1209 Elo

source date 2026-09-11
Source: lmarena
LMArena (Overall)Instruction & Preference

1206 Elo

source date 2026-09-11
Source: lmarena
MMLUReasoning & Knowledge

83.9%

Source: epoch

Compare against every model in the full benchmark matrix.

Capabilities

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use GPT-4 through the API

The model id is openai/gpt-4. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="openai/gpt-4",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "openai/gpt-4" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use GPT-4 in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick OpenAI: GPT-4, or enter openai/gpt-4 as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
OpenAI: GPT-4 (this model)OpenAI$45.00 in / $90.00 out per 1M tokens8K
Anthropic: Claude Opus 4.1Anthropic$22.50 in / $112.50 out per 1M tokens200K
Sakana: Fugu Ultra v2Sakana AI$7.50 in / $45.00 out per 1M tokens1M
Meta: Muse WonderMeta$6.00 in / $30.00 out per 1M tokens1M
Fireworks: Ember-1Fireworks$4.50 in / $22.50 out per 1M tokens1M
Perplexity: Sonar Pro SearchPerplexity$4.50 in / $22.50 out per 1M tokens200K

More from OpenAI

All 70 OpenAI models

Price and listing history

Every change GenMagic has recorded for GPT-4 since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$33.00 in / $66.00 out per 1M tokens$45.00 in / $90.00 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as OpenAI publishes them, checked daily.
  • Benchmarks: 6 scores from Artificial Analysis and OpenRouter, Epoch AI, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 1, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with GPT-4 today

One GenMagic plan unlocks GPT-4 and every other model across text, image, audio, and video.