OpenAI: GPT-4o (2024-08-06)
- by openai
- openai/gpt-4o-2024-08-06
The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4o ("o" for "omni") is...
What the numbers mean
- Context window128,000 tokens
- How much the model can read in one request, counting your prompt, any files and the conversation so far. That is about 96,000 words, or 192 pages.
- Max output16,384 tokens
- The longest single reply it can write: about 12,000 words.
- Input price$2.5 per million tokens
- What you pay for everything the model reads. A 1,000-word prompt costs less than a cent.
- Output price$10 per million tokens
- What you pay for everything the model writes. Output usually costs more than input. A 500-word answer costs less than a cent.
- Modalitiestext, image, file in, text out
- The kinds of content it accepts and the kinds it produces. A model that takes images in can read a screenshot; one that only puts text out cannot draw.
- Knowledge cutoff2023-10-31
- The last date its training data covers. It does not know about anything after that unless you put it in the prompt.
Supported parameters
The settings you can pass with a request. A model that lists tools can call functions; one that lists structured_outputs can be held to a JSON schema.
frequency_penaltylogit_biaslogprobs