返回模型列表
Amazon Nova 2 Lite
amazonamazon/nova-2-lite
API 使用指南
Chat 调用
通过 TheRouter 的 OpenAI 兼容接口调用 Nova 2 Lite。TheRouter 在上游处理 Bedrock InvokeModel / Converse 的协议转换,客户端继续按 OpenAI 形态写。
cURL
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."}]
}'流式输出
为聊天界面做流式输出。开启 extended thinking 后首 token 延迟随预算档位升高而增加,流式可以在生成开始后掩盖延迟。
cURL
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 通过标准 tools/tool_choice 字段支持函数调用。注意:web grounding 与代码解释器由 Bedrock 作为运行时工具托管,与你声明的函数分开。
cURL
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 输出,方便下游解析;可在 system prompt 中附 JSON schema 收紧结构控制。
cURL
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."}
]
}'视觉输入
Nova 2 Lite 原生多模态——可在 OpenAI 兼容 content 数组中同时传图像与文字。按 AWS 说明,还支持文档和短视频输入。
cURL
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://example.com/invoice.png"}}
]
}]
}'Extended thinking
默认关闭。通过 reasoning 字段开启,选择 low / medium / high 预算档位以速度换深度。AWS 建议先关,仅在确需深度推理的任务上逐级开启。
cURL
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-05-22 | 已核实 |
| Bedrock 模型 id | aws.amazon.com ↗ | 2026-05-22 | 已核实 |
| 训练数据截止 | — | — | 未知 |
| Extended thinking 预算档位 | aws.amazon.com ↗ | 2026-05-22 | 已核实 |
| 内置工具 | aws.amazon.com ↗ | 2026-05-22 | 已核实 |
| 可定制化 | aws.amazon.com ↗ | 2026-05-22 | 已核实 |
| Bedrock 档位 | aws.amazon.com ↗ | 2026-05-22 | 待核实 |
| 许可 | — | — | 已核实 |
| MMLU-Pro | medium.com ↗ | 2026-05-22 | 单一来源 |
| GPQA Diamond | medium.com ↗ | 2026-05-22 | 单一来源 |
| Artificial Analysis Intelligence Index | medium.com ↗ | 2026-05-22 | 单一来源 |
| Long-context benchmarks (LongCodeBench 1M, OpenAI-MRCR) | assets.amazon.science ↗ | 2026-05-22 | 未知 |
| AWS 发布 Nova 2 Lite:100 万 token 上下文、extended thinking、内置 web grounding | aws.amazon.com/blogs/aws ↗ | 2026-05-22 | 已核实 |
| Amazon 发布 Nova 2 技术报告 | assets.amazon.science ↗ | 2026-05-22 | 已核实 |
| Nova 2 Lite 的上下文窗口有多大? | aws.amazon.com ↗ | 2026-05-22 | 待核实 |
| Nova 2 Lite 支持深度推理吗? | aws.amazon.com ↗ | 2026-05-22 | 待核实 |
| Nova 2 Lite 内置了哪些工具? | aws.amazon.com ↗ | 2026-05-22 | 待核实 |
| Nova 2 Lite 可以微调吗? | aws.amazon.com ↗ | 2026-05-22 | 待核实 |
| Nova 2 Lite 在 Bedrock 不同档位下的价格如何? | aws.amazon.com ↗ | 2026-05-22 | 待核实 |