Back to models

OpenAI: GPT-4

OpenAI · Text

GPT model for general reasoning, writing, coding, and tool-assisted tasks

Model ID openai/gpt-4LegacyUpdated Apr 9, 2024

Pricing & billing

Billing unit: 1M tokens. Vendor reference price; conversion is approximate.

ItemUSD referenceList price (USD)
Input$30.00$30.00
Output$60.00$60.00
Cache read—No public pricing—No public pricing
Cache write—No public pricing—No public pricing

Specifications

Form
Text model
Input modalities
Text
Output modalities
Text
Context length
8K
Max output
4K
Weights
Closed
Family
gpt
Knowledge cutoff
2023-11
Released
Nov 6, 2023

Uses and capabilities

Capabilities Text model、Function calling、Structured output、Prompt caching

Function calling

Structured output

Reasoning

Prompt caching

Open weights

Sources

Use these links to verify specs and pricing — they may point to the vendor's site or to a third-party catalog.