Skip to main content
← All Inference APIs

GPT-4

openai gpt-4 LLM Large Retired Oct 23, 2026

Provider: openai

Input:
text
Output:
text

Knowledge cutoff: November 2023

Tool calling
Deprecated October 23, 2026.

Model deprecated and scheduled for shutdown on October 23, 2026. Substitute: gpt-5.6-sol. Source: https://platform.openai.com/docs/deprecations

Sticker prices & cost-per-token

List rates as published by openai, before any volume or enterprise discounts.

Input cost

$30.00

Output cost

$60.00

Context window

8,192 tokens

Max output tokens

8,192

tokens per response (includes reasoning tokens)

Model weights

Closed weights

Get this data free

Want to stay updated on price changes on this model? Pull this data free (no API key required) here:

curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=gpt-4&q%5Bsource_api_eq%5D=openai"

Full REST API docs →

Pricing History

Effective Price
Aug 16, 2026 – present Input cost: $30.00 / 1M, Output cost: $60.00 / 1M, Cached input cost: $0.00 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr

History

Last change detected September 7, 2026 (about 2 months ago) by an automated scan.

Date Changed by What changed
Aug 16, 2026 Unknown Initial record created

Source

https://models.dev/api.json (models.dev provider 'openai', bulk import 2026-08-13)

Comparable models

No comparable models identified yet.

Reliability

No reliability incidents recorded in the last 90 days.

Frequently asked questions

Track LLM pricing and deprecations automatically.

Start free