Streaming Chat
Model Switcher
Claude
GPT-4o
Grok
Agent Settings
AI Gateway
Anthropic
OpenAI
xAI
Google
System Prompt
You are a helpful...
Temperature
0.7
Streaming
Mobile Nav
shadcn/ui
Button
Badge
App Router
/
/chat
/api/chat
Streaming Chat
Model Switcher
Claude
GPT-4o
Grok
Agent Settings
AI Gateway
Anthropic
OpenAI
xAI
Google
System Prompt
You are a helpful...
Temperature
0.7
Streaming
Mobile Nav
shadcn/ui
Button
Badge
App Router
/
/chat
/api/chat
AI SDK 6
Claude Opus 4.6 by default

Production-ready chatbot with Opus 4.6 out of the box. Switch models on the Vercel AI Gateway with zero config.

Open Chat
AI Gateway Starter
Claude Opus 4.6
Streaming
R

Show me how to set up streaming with the AI SDK and Gateway.

Two files are all you need. The route handler streams from any gateway model:

import { streamText } from "ai"
import { gateway } from "@ai-sdk/gateway"
const result = await streamText({
model: gateway("anthropic/claude-opus-4.6"),
messages
})

Zero API keys needed on Vercel

Ask anything...
⌘↵

Everything you need to ship an AI chat app

From streaming to model switching, this starter covers the full stack so you can focus on your product.

Vercel AI Gateway

Zero-config access to OpenAI, Anthropic, Google, xAI, and more. No API key juggling.

Streaming Chat UI

Real-time streaming responses with useChat and DefaultChatTransport. Buttery smooth UX.

Agent Settings Panel

Model selector, temperature, system prompt, and max tokens. Fully configurable from the UI.

Mobile-First Design

Responsive layout with hamburger menu, full-screen mobile nav, and touch-optimized chat.

AI SDK 6 Patterns

Built on the latest AI SDK with streamText, convertToModelMessages, and UIMessage parts.

Hackable & Extensible

Clean component architecture. Add tools, persistence, auth, or any integration in minutes.

Built on proven foundations

Modern stack, minimal footprint, maximum flexibility.

Next.js 16
AI SDK 6
Vercel AI Gateway
React 19
TypeScript
Tailwind CSS
shadcn/ui
Streaming
App Router

Brand assets

Ready-made thumbnails, OG images, and app icons.