Chat app
A streaming chat app: a clean chat screen, answers that appear as they are written, stop and regenerate, a server route that holds the model key, and tests that never call a paid model.
What you build
- A streaming chat screen with stop and regenerate
- A server route that holds the model key
- Tests that never call a paid model
What you need
| Stack | Next.js · Vercel AI SDK · Vitest |
|---|---|
| Level | Intermediate |
| Platform | Browser |
| Plan | Free |
| Needs on your computer | Node.js, Anthropic API key |
| Setup questions | About 4 minutes |
Start a project from one of these templates
Free plan on macOS. Pro is $10 a month or $96 a year.