OpenAI: GPT-4

Pricing, context window and lifecycle for openai/gpt-4, tracked from what the vendor publishes.

Price per million tokens

Input$30.00
Output$60.00

Facts

Model IDopenai/gpt-4
VendorOpenAI
Context window8,191 tokens
Knowledge cutoff2021-09-30
End of lifenone published

Supported parameters

frequency_penalty, logit_bias, logprobs, max_completion_tokens, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Other OpenAI models