openai
OpenAI

OpenAI: GPT-4o (2024-08-06)

openai/gpt-4o-2024-08-06
Контекст
128 000
Вход токены
307,64 ₽/M
Выход токены
1230,55 ₽/M
Кэш чтение
153,82 ₽/M
описание

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...

модальности
+
+
интеграция

Как использовать через API

bash
# Запрос к API VEGA через openai/gpt-4o-2024-08-06
curl https://api.vega.chat/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $VEGA_API_KEY" \
  -d '{
    "model": "openai/gpt-4o-2024-08-06",
    "messages": [
      {  "role": "user", "content": "Hello!"  }
    ]
  }'