API ВЕГА
openai

OpenAI: GPT-3.5 Turbo

openai/gpt-3.5-turbo
Контекст
16 385
Вход токены
88,73 ₽/M
Выход токены
266,18 ₽/M
описание

GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks.

Training data up to Sep 2021.

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

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

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