GPT-4o (2024-08-06)
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...
- Input
- $2.72
- per 1M tokens
- Output
- $10.87
- per 1M tokens
- Cached input
- $1.36
- per 1M tokens
Lowest price across providers. You are billed from your Ditfa Platform credits per token used.
Providers
Requests are routed to the cheapest healthy provider and fall back automatically.
Usage
Tokens served per day, last 30 days
No traffic yet. Be the first to try it.
Top apps
Apps that send an HTTP-Referer or X-Title header, last 30 days
No apps have identified themselves yet.
Quickstart
Use any OpenAI SDK. Point it at the Ditfa Platform base URL and use an sk-dp- key.
curl https://gateway.ditfa.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DITFA_API_KEY" \
-d '{
"model": "openai/gpt-4o-2024-08-06",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'