OpenAI: GPT-4

Text input Text output
Author's Description

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

Key Specifications
Cost
+$$$$$
Context
8K
Released
May 27, 2023
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Tools Response Format Top Logprobs Stop Frequency Penalty Logprobs Tool Choice Temperature Max Tokens Structured Outputs Presence Penalty Logit Bias Top P Seed
Features

This model supports the following features:

Structured Outputs Tools Response Format
Performance Summary

OpenAI's GPT-4, a large-scale multimodal language model created on May 27, 2023, demonstrates competitive response times, performing among the faster models with a 45th percentile speed ranking across benchmarks. However, it tends to be positioned at premium pricing levels, ranking in the 4th percentile for cost. With a context length of 8191 tokens and training data up to September 2021, GPT-4 aims to solve difficult problems with greater accuracy due to its broader general knowledge and advanced reasoning capabilities. In terms of specific performance, GPT-4 achieved perfect accuracy (100.0%) in the Ethics (Baseline) benchmark, notably being the most accurate model at its price point and among models of similar speed. Its instruction following capabilities are solid, scoring 67.0% accuracy, placing it in the 69th percentile. A significant weakness is observed in the Coding (Baseline) benchmark, where it scored only 7.0% accuracy, ranking in the 11th percentile. Overall, GPT-4 excels in ethical reasoning and general instruction following but shows considerable limitations in coding proficiency, reflecting a strong emphasis on nuanced language understanding over technical programming tasks.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $30
Completion $60

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
OpenAI
OpenAI | openai/gpt-4 8K $30 / 1M tokens $60 / 1M tokens
Azure
Azure | openai/gpt-4 8K $30 / 1M tokens $60 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by openai