Launch deal — $49 lifetime · usually $99

Chat demo

This streams via the mock provider so it works offline. Set AI_PROVIDER + a real key to swap in OpenRouter, OpenAI, or Anthropic.

AI chat

Streaming · mock provider

Start a conversation

Powered by the mock provider. Token counts are estimates.

Streams out of the box

Server route /api/ai/chat returns a text stream — works with any UI framework, not just our hook.

Cost-aware

Every call records tokens, cost, and latency to the ai_call table — admins can see exactly what every dollar bought.

Provider-agnostic

The same hook works against the mock, OpenRouter, OpenAI, or Anthropic — switch by changing one env var.

Streaming AI Chat Demo (Next.js + Claude / GPT) · Vibestrap