Why choose Gemini 1.5 Pro?
Gemini 1.5 Pro natively supports vast 1M to 2M token context windows, allowing it to process hours of video, massive codebases, and entire books in a single prompt.
เข้าถึง Gemini 1.5 Pro ได้ฟรีผ่าน Vercel AI Gateway
Gemini 1.5 Pro natively supports vast 1M to 2M token context windows, allowing it to process hours of video, massive codebases, and entire books in a single prompt.
Vercel มอบเครดิต AI มูลค่า $5 ต่อเดือนสำหรับทุกทีม คุณสามารถทดลองใช้โมเดลนี้ได้ฟรีผ่าน Vercel AI SDK ตราบใดที่การใช้งานของคุณไม่เกินขีดจำกัดนั้น
import { generateText } from 'ai';
import { google } from '@ai-sdk/google';
const { text } = await generateText({
model: google('gemini-1.5-pro-latest'),
prompt: 'Write a quick poem about free AI models',
});
console.log(text);