About

Ship a production-ready AI Chatbot with tools, memory, file uploads, orgs and billing in hours, not weeks.

Hourzero is the definitive Next.js boilerplate for indie / freelance devs that want more than a basic chat UI.

What you get out of the box:

  • Streaming chat with multi-model support (OpenAI, Anthropic, Gemini or any other model — switch with a config change)

  • Bespoke chat-tread compaction logic that plays nice with prompt caching's cost savings. You're not locked in to Anthropic's API, apply to any model.

  • Better-Auth — you own your auth, your users, your data. Not locked into any auth vendor. Comes with email auth, gmail OAuth, orgs, teams, role-based access & management, password reset / update, account deletion

  • S3-compatible file uploads using presigned URLs — zero bandwidth costs (SAFELY upload direct-to-bucket), works with Railway, AWS S3, Cloudflare R2, or anything S3-compatible. I do want to emphasize SAFETY. You don't have to worry whether you’ve accidentally built a public “upload anything” endpoint with extra steps :)

  • Share conversations and files among users / team members / org members

  • Stripe subscriptions with token limits and real time usage tracking per user / per team / per org → Upstash Redis rate limiting — nearly free at any scale

  • Resend for emails

  • Tool use: web search (SERP, snippet search, webpage retrieval), code execution, memory tool — all configurable

  • Persistent cross-conversation memory with a user-managed memory bank

  • Postgres + Drizzle ORM — one env variable change to switch between Supabase, Neon, PlanetScale, or your own instance

  • Docker for literally anywhere else or Vercel 1-click deploy

  • Fully typed TypeScript throughout, Next.js App Router, shadcn/ui, tRPC, tanstack + other goodies

Who it's for

Freelancers who build AI chatbot products for clients and want to ship in days instead of weeks. Indie developers building their first AI SaaS. Teams that need a multitenant chatbot foundation with org management and RBAC already built-in. Anyone who's been asked to build "something like ChatGPT but just for our company" and doesn't want to start from scratch for the fifth time.

One-time purchase. Lifetime updates. Unlimited projects.