Why choose Llama 3.1 70B?
Llama 3.1 70B provides excellent general-purpose instruction following and reasoning, offering a robust open-source alternative to GPT-4 class models.
Access Meta's Llama 3.1 70B through Vercel AI Gateway using your monthly Vercel free credits.
Llama 3.1 70B provides excellent general-purpose instruction following and reasoning, offering a robust open-source alternative to GPT-4 class models.
As an open source overlord, the local deployment of the 70B model requires extremely high hardware costs. With Vercel AI Gateway, you can invoke this powerful model in the cloud freely and free of charge.
Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.
Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
// Often accessed via a compatible provider within Vercel's routing
const { text } = await generateText({
model: openai('meta-llama/Meta-Llama-3.1-70B-Instruct'),
prompt: 'Write a quick poem about free AI models',
});
console.log(text);