AI Gateway
Gemini 2.0 Flash delivers next-gen features and improved capabilities, including superior speed, built-in tool use, multimodal generation, and a 1M token context window.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-2.0-flash-lite', prompt: 'Why is the sky blue?'})
Try out Gemini 2.0 Flash Lite by Google. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
Chat with
Powered by AI Gateway