OpenAI: GPT-4o
openai/gpt-4o
Created May 13, 2024|128K context|$2.50/M input tokens|$10.00/M output tokens
Intel TDX
GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of GPT-4 Turbo while being twice as fast and 50% more cost-effective. GPT-4o also offers improved performance in processing non-English languages and enhanced visual capabilities. For benchmarking against other models, it was briefly called "im-also-a-good-gpt2-chatbot" #multimodal
Providers for OpenAI: GPT-4o
RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
openai
Input Price
$2.50
Output Price
$10.00
Total Context
128K
API
RedPill provides an OpenAI-compatible completion API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
fetch("https://api.redpill.ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "openai/gpt-4o",
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
})
})