GPT-4o (2024-08-06)

💬 Chat & Text OpenAI openai/gpt-4o-2024-08-06 ⧉ Input 175 · Output 700 credits per 1M tokens
💬

Sign in to try GPT-4o (2024-08-06)

Sign in with your Google account and top up credits to get started.

Sign in with Google

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY — create a key in your dashboard

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

Fully compatible with OpenAI Chat Completions: stream, temperature, max_tokens, tools, image messages, etc. The response includes usage.credits showing the credits used.

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — openai/gpt-4o-2024-08-06
messages * array – – Conversation messages, each with role (system / user / assistant) and content
max_tokens integer – – Maximum tokens in the answer
temperature number 0 – 2 1 Randomness of the answer; lower is steadier
top_p number 0 – 1 1 Nucleus sampling threshold
stream boolean true, false false Stream the answer back in chunks (SSE)
stop string | array – – Sequences where generation stops
tools array – – Tools (functions) the model may call
tool_choice string | object – – Controls how tools are chosen
response_format object – – Forces an answer format such as JSON

About this model

GPT-4o (2024-08-06) is a Chat & Text model by OpenAI

Input📝 Text🖼️ Image📎 File
PriceInput 175 · Output 700 credits per 1M tokens

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

Preparing details in English…