← All models
OpenAI: GPT-4
openai/gpt-4
Tool useJSONStreaming
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...
Pricing
Input
$30.00 / 1M
Output
$60.00 / 1M
Specs
Context
8,191 tokens
Input
text
Output
text
Knowledge cutoff: 2021-09-30
Released: 2023-05
Supported parameters
frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p