OpenAI
gpt-4o API
Call gpt-4o by OpenAI through one OpenAI-compatible API. Keep your SDK, change the base URL, and pay per token from your Yeap balance.
GPT-4o is an AI model provided by openai.
New LLM API accounts get $5 of free credit.
Quick start
Call gpt-4o in a few lines
Use any OpenAI SDK or plain HTTP. Point the base URL at Yeap Cloud and set the model name.
curl https://llm.yeap.cloud/v1/chat/completions \
-H "Authorization: Bearer $YEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello"}]
}'gpt-4o variants
Same model with a different reasoning effort, mode or snapshot. Use the exact name in the model field.
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
gpt-4o-2024-05-13 | $5 | $15 |
gpt-4o-2024-08-06 | $3 | $12 |
gpt-4o-2024-11-20 | $2.50 | $10 |