Skip to content
Dashboard

xAI and Vercel partner to bring zero-friction AI to developers

VP of Product, AI

Use xAI's Grok models across Vercel, the AI SDK, and v0

Link to headingThe Vercel Marketplace

vercel install xai

Explore AI on the Vercel Marketplace

Play, test, and integrate with a wide range of AI model types, sizes, and specializations in the Vercel Marketplace.

Get started

Link to headingMore ways to get started with AI

Link to headingThe Next.js AI Chatbot, now powered by xAI

Link to headingAI SDK

import { xai } from "@ai-sdk/xai";
import { streamtext } from "ai";
const result = streamText({
model: xai("grok-2-1212"),
prompt: "What is the meaning of life?",
});
for await (const textPart of result.textStream) {
process.stdout.write(textPart); // The answer is 42.
}

Link to headingA peek at what's next

Link to headingGet started today

Explore AI on Vercel

Vercel offers everything you need to get started with AI.

Start building


Ready to deploy?