Amazon Nova 2 Lite
Чем обслуживание в TheRouter отличается от вендорского
AWS обслуживает Nova 2 Lite через Bedrock bedrock-runtime с Converse, Invoke, response streaming, guardrails, client-side tool calling, prompt caching, extended thinking, web grounding и code interpreter. Нативная карточка указывает text/image/video input, text output, 1M context, 64K max output и отсутствие нативных Bedrock structured outputs.
TheRouter отдаёт Nova 2 Lite как OpenAI-совместимый /v1/chat/completions под amazon/nova-2-lite. Operational routing, pricing, context, modality и supported-parameter поля берутся из live catalog TheRouter; эта curated page документирует AWS-only capabilities и отмечает, что непроверенные snippets остаются capped до operator-funded verification.
Гид по API
Chat completion
Вызывайте Nova 2 Lite через OpenAI-совместимую поверхность TheRouter. Перевод в Bedrock InvokeModel / Converse делается на стороне TheRouter — ваш клиентский код остаётся в формате OpenAI.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/nova-2-lite",
"messages": [{"role": "user", "content": "Summarise this 200-page PDF in 5 bullets."}]
}'Стриминг
Стримит токены для чат-UI. С включённым extended thinking время до первого токена растёт с выбранным бюджетом; стриминг скрывает задержку после начала генерации.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/nova-2-lite",
"stream": true,
"messages": [{"role": "user", "content": "Explain DSA attention in 200 words."}]
}'Использование инструментов
Nova 2 Lite поддерживает function calling через стандартные поля tools/tool_choice. Важно: web grounding и code interpreter управляются Bedrock как runtime-инструменты и отделены от ваших объявленных функций.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/nova-2-lite",
"messages": [{"role": "user", "content": "Look up the AWS region for Tokyo."}],
"tools": [{
"type": "function",
"function": {
"name": "lookup_region",
"parameters": {"type": "object", "properties": {"city": {"type": "string"}}}
}
}]
}'Структурированный JSON
Через response_format ограничьте вывод JSON. Полезно для парсеров; для жёсткого контроля схемы добавьте JSON schema в system prompt.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/nova-2-lite",
"response_format": {"type": "json_object"},
"messages": [
{"role": "system", "content": "Return JSON: {\"intent\":string,\"entities\":string[]}"},
{"role": "user", "content": "Book a flight from Tokyo to Sydney next Friday."}
]
}'Vision-вход
Nova 2 Lite — нативно мультимодальная: передавайте изображения вместе с текстом в OpenAI-совместимом массиве content. По данным AWS, также поддерживаются документы и короткие видео.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/nova-2-lite",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "Extract the invoice total and due date."},
{"type": "image_url", "image_url": {"url": "https://therouter.ai/assets/vision-sample.png"}}
]
}]
}'Extended thinking
По умолчанию выключен. Включите через поле reasoning и выберите бюджет — low / medium / high — менять скорость на глубину. AWS советует начинать с off и поднимать уровень только там, где это действительно нужно.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/nova-2-lite",
"reasoning": {"effort": "medium"},
"messages": [{"role": "user", "content": "Plan a multi-step deployment migration."}]
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Дата релиза | aws.amazon.com ↗ | 2026-08-15 | проверено |
| Идентификатор модели Bedrock | docs.aws.amazon.com ↗ | 2026-08-15 | проверено |
| Дата отсечения данных | docs.aws.amazon.com ↗ | 2026-08-15 | проверено |
| Максимальный вывод | docs.aws.amazon.com ↗ | 2026-08-15 | проверено |
| Кэширование промптов | docs.aws.amazon.com ↗ | 2026-08-15 | проверено |
| Уровни бюджета extended thinking | aws.amazon.com ↗ | 2026-08-15 | проверено |
| Встроенные инструменты | aws.amazon.com ↗ | 2026-08-15 | проверено |
| Кастомизация | aws.amazon.com ↗ | 2026-08-15 | проверено |
| Тарифы Bedrock | aws.amazon.com ↗ | 2026-08-15 | проверено |
| Лицензия | — | — | проверено |
| AWS launch benchmark summary | aws.amazon.com ↗ | 2026-08-15 | проверено |
| Long-context benchmark disclosure | assets.amazon.science ↗ | 2026-08-15 | проверено |
| Bedrock model card limits | docs.aws.amazon.com ↗ | 2026-08-15 | проверено |
| AWS представляет Nova 2 Lite — контекст 1M, extended thinking и встроенный web grounding | aws.amazon.com/blogs/aws ↗ | 2026-08-15 | проверено |
| Amazon публикует технический отчёт Nova 2 | assets.amazon.science ↗ | 2026-08-15 | проверено |
| Какое окно контекста у Nova 2 Lite? | aws.amazon.com ↗ | 2026-08-15 | к проверке |
| Поддерживает ли Nova 2 Lite extended reasoning? | aws.amazon.com ↗ | 2026-08-15 | к проверке |
| Какие инструменты встроены в Nova 2 Lite? | aws.amazon.com ↗ | 2026-08-15 | к проверке |
| Можно ли дообучать Nova 2 Lite? | aws.amazon.com ↗ | 2026-08-15 | к проверке |
| Как меняется цена Nova 2 Lite в разных тарифах Bedrock? | aws.amazon.com ↗ | 2026-08-15 | к проверке |