Характеристики
- Контекстное окно
- 8,000
- Входящие данные
- Текст
- Исходящие данные
- Текст
Цены
Оплата по факту за использованные токены, цены за 1M токенов в рублях.
| Входящие токены | 246.88 ₽ |
| Исходящие токены | 987.50 ₽ |
Описание модели
Inflection 3 Productivity is optimized for following instructions. It is better for tasks requiring JSON output or precise adherence to provided guidelines. It has access to recent news. For emotional...
API и примеры кода
Единый OpenAI-совместимый endpoint. Укажите base_url и ключ из личного кабинета.
curl https://app.cloudcompute.ru/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"inflection/inflection-3-productivity","messages":[{"role":"user","content":"Привет!"}]}'from openai import OpenAI
client = OpenAI(
base_url="https://app.cloudcompute.ru/api/v1",
api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
model="inflection/inflection-3-productivity",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)