GPT-4
openai/gpt-4
OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...
- Input
- $32.6
- per 1M tokens
- Output
- $65.2
- 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-4",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'