API ВЕГА
openai

OpenAI: GPT-4

openai/gpt-4
Контекст
8 191
Вход токены
5323,53 ₽/M
Выход токены
10647,06 ₽/M
описание

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

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

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

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