1 min read
You can now access Amazon's latest model Nova 2 Lite via Vercel's AI Gateway with no other provider accounts required. Nova 2 Lite is a reasoning model for everyday workloads that can process text, images, and videos to generate text.
To use Nova 2 Lite, set model to amazon/nova-2-lite in the AI SDK. Extending thinking is disabled by default. To enable reasoning for this model, set maxReasoningEffort in the providerOptions. The reasoning content is redacted and displays as such, but users are still charged for these tokens.
import { streamText } from 'ai';
const result = streamText({ model: 'amazon/nova-2-lite', prompt: `Derive a correct, optimal algorithm to detect all unique cycles in a directed graph, explaining each logical step and validating edge cases.`, providerOptions: { bedrock: { reasoningConfig: { maxReasoningEffort: 'medium' // low, medium, or high accepted }, }, },});AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.
Read the docs, view the AI Gateway model leaderboard, or use the model directly in our model playground.
AI Gateway: Track top AI models by usage
The AI Gateway model leaderboard ranks the most used models over time by total token volume across all traffic through the Gateway. Updates regularly.
View the leaderboard