Google: Gemini 2.5 Flash Lite Preview 09-2025
google/gemini-2.5-flash-lite-preview-09-2025
Характеристики
- Контекстное окно
- 1,048,576
- Входящие данные
- Текст, Изображения, Файлы, Аудио, Видео
- Исходящие данные
- Текст
Цены
Оплата по факту за использованные токены, цены за 1M токенов в рублях.
| Входящие токены | 9.88 ₽ |
| Исходящие токены | 39.50 ₽ |
| Чтение кеша | 0.99 ₽ |
| Запись кеша | 8.23 ₽ |
Описание модели
Gemini 2.5 Flash-Lite is a lightweight reasoning model in the Gemini 2.5 family, optimized for ultra-low latency and cost efficiency. It offers improved throughput, faster token generation, and better performance...
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":"google/gemini-2.5-flash-lite-preview-09-2025","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="google/gemini-2.5-flash-lite-preview-09-2025",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)