Характеристики
- Контекстное окно
- 1,024,000
- Входящие данные
- Текст
- Исходящие данные
- Текст
Цены
Оплата по факту за использованные токены, цены за 1M токенов в рублях.
| Входящие токены | 28.96 ₽ |
| Исходящие токены | 116.89 ₽ |
| Чтение кеша | 2.90 ₽ |
Описание модели
ERNIE 5.5 Flash Preview is the latest foundation model in the ERNIE family, with comprehensive improvements in coding, agentic capabilities, knowledge work, and deep research. It has 280 billion total...
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":"baidu/ernie-5.5-flash-preview","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="baidu/ernie-5.5-flash-preview",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)