New Project

A real-time AI chat application using Next.js (frontend), FastAPI (backend), WebSocket for streaming, and the Python AI SDK for LLM integration. Deployed on Vercel using Services.
https://fastapi-ai-chat.vercel.app/
/ and /api).# Clonenpx giget@latest gh:vercel/examples/websockets/fastapi-ai-chat fastapi-ai-chatcd fastapi-ai-chat# Set your AI Gateway API keyecho "AI_GATEWAY_API_KEY=your-key-here" > .env# Run both servicesvercel dev
Open http://localhost:3000.
| Variable | Description |
|---|---|
AI_GATEWAY_API_KEY | Vercel AI Gateway API key (required) |
AI_MODEL | Model to use (default: anthropic/claude-sonnet-4-6) |