Skip to content
All models
OpenAIAvailable

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

Try in ewpireopenai/gpt-4o-2024-08-06

Opens in the ewpire workspace. Creating an account is free; runs are paid from your credits.

GPT-4o (2024-08-06) in plain words

GPT-4o (2024-08-06) is a text model from OpenAI. It takes text, images, and files as input and returns text. Its context window is 128,000 tokens. It costs 3.102942 credits per 1M input tokens and 12.411765 credits per 1M output tokens.

It is good at reading attached files and calling tools. It reads images as well as text. A context window of 128,000 tokens holds about 510,000 characters of English text, at 4 characters a token.

For example, a question of 2,000 tokens (about 8,000 characters) with an answer of 1,000 tokens (about 4,000 characters) costs 0.018618 credits. The exact charge follows the usage the model reports for your request.

Details

Made by
OpenAI
Good at
VisionFilesTool use
Reads
Text, Images, Files
Produces
Text
Context window
128,000 tokens

Price

Input, per 1M tokens
3.102942 credits
Output, per 1M tokens
12.411765 credits

Charged per request from your credit balance. No subscription. See pricing

In the API – coming soon

API keys are not open yet. The docs show how to call this model with the OpenAI SDK or plain HTTP once they are. Read the docs

curl https://ewpire.com/api/v1/chat/completions \
  -H "Authorization: Bearer $EWPIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4o-2024-08-06","messages":[{"role":"user","content":"Hello!"}]}'

The docs show how to list the models the API serves, with their capabilities and prices, once API keys are open. Models in the docs

Similar models