GPT-4o

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](/models/openai/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"](https://twitter.com/LiamFedus/status/1790064963966370209) #multimodal

ChatOpenAI128k tokens$2.7251 / $10.9006 · 1M

openai/gpt-4o

Contexto
128k tokens
Máx. completion
16,384
Tools
JSON
Lanzamiento
2024-05-13

Llámalo desde Geek Hub

El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es GPT-4o?
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](/models/openai/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"](https://twitter.com/LiamFedus/status/1790064963966370209) #multimodal GPT-4o corre en el API de Geek Hub (compatible con OpenAI). Id: openai/gpt-4o.
¿GPT-4o es gratis?
No. El input cuesta $2.7251 / 1M tokens y el output $10.9006 / 1M tokens en Geek Hub (markup incluido).
¿Cuál es el contexto de GPT-4o?
GPT-4o tiene una ventana de 128k tokens. Soporta hasta 16,384 tokens de completion.
¿GPT-4o soporta tool calling y structured outputs?
GPT-4o acepta tools y tool_choice para function calling. También soporta structured outputs con un JSON schema en response_format.
¿Cuándo se lanzó GPT-4o?
GPT-4o se lanzó el 13 de mayo de 2024.

Más modelos de OpenAI