OpenAI, released May 28, 2023

GPT-4

GPT-4 is OpenAI's older flagship text model from May 2023, built for harder problems where you need stronger reasoning and broader general knowledge than earlier models could manage. In OpenAI's current lineup it's a legacy pick sitting behind the GPT-6.1 Terra, GPT-6.2 Sol and GPT-6.2 Astra families, and it costs a lot more to run than any of those newer options. Still, it handles complex text work, tool calling and structured JSON output if you have a reason to stay on it.

Already paying for ChatGPT?

GPT-4 costs $60 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

GPT-4 pricing and specs

Input
$30per 1M tokens
Output
$60per 1M tokens
Context window
8K8,191 tokens
Max output
4K4,096 tokens
Released
May 28, 2023
Knowledge cutoff
Sep 2021
Accepts
Text
Features
Tool callingStructured outputs

What GPT-4 is good at

  • Keeping existing GPT-4 apps running, when rewriting and retesting your prompts for newer models like GPT-6.2 Sol or GPT-6.2 Astra isn't worth the time right now.
  • Text workflows that need structured JSON output, since it supports JSON directly.
  • Multi-step text tasks using tool calling, where the model has to reason through which external function to trigger next.
  • Harder general-knowledge or reasoning tasks (as long as nothing depends on events after September 2021).

Good to know

  • It's expensive. Even OpenAI's newer top-end models like GPT-6.2 Astra Pro cost less per token, and budget picks like GPT-6.1 Terra are way cheaper, so it's hard to justify GPT-4 for new high-volume workloads.
  • The context window is tight, and replies cap out pretty quickly too, which means you can't dump long documents into a single request.
  • Its training data cuts off in September 2021. And it only accepts text, not other media.

GPT-4 vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
GPT-4$30$60Not available8K
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Claude Fable 5.1$10$50$0 on Claude1M
Claude Fable 5$10$50$0 on Claude1M

GPT-4 cost per month

Tokens a month at $30 input and $60 output per 1M
WorkloadAPI price
Side project2M in, 500K out$90.00
Production app25M in, 5M out$1,050
Agents at scale250M in, 50M out$10,500

FAQ

How much does the GPT-4 API cost?

GPT-4 costs $30 per 1M input tokens and $60 per 1M output tokens.

What is the GPT-4 context window?

GPT-4 takes 8,191 tokens of context, with up to 4,096 output tokens per request.

When was GPT-4 released?

OpenAI released GPT-4 on May 28, 2023.

Can I use GPT-4 with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Should I start a new project on GPT-4 or a newer OpenAI model?

For a new build, start with OpenAI's newer lineup instead - GPT-6.1 Terra, GPT-6.2 Sol or GPT-6.2 Astra (and their Pro versions). GPT-4 mostly makes sense if you're maintaining an older setup or testing against a 2023 baseline.

How do I deal with the September 2021 knowledge cutoff?

You have to supply any newer facts yourself. GPT-4 supports tool calling, so you can wire it up to pull in fresh data at runtime, or just paste what it needs straight into the prompt.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80