Tech and unit economics

AI where it matters, static structure where it saves money.

The platform should feel alive without letting model costs eat the subscription. The strategy is pre-cached curriculum, mini models for routine chat, stronger models for high-value moments, and daily image caps.

Next.js + Vercel

Fast app shell, simple routing, and clean deployment path for 1stgraid.com/vision.

Supabase

Auth, lesson progress, quiz results, locker artifacts, subscriptions, and admin data.

OpenAI API

AI Teacher chat, high-value coaching moments, quizzes, revision help, and art generation.

Pre-cached lessons

Static lesson spine keeps quality consistent and keeps runtime API use under control.

Model mix

gpt-4o-mini for normal teacher chat, gpt-4o for high-value planning and critique, and gpt-image-1 for capped art moments.

Margin target

Target API cost is $3-8 per kid per month against $19-29 subscription pricing, aiming for 75-85% gross margin.

Why inside the platform

The child needs guardrails, memory, quizzes, lockers, and continuity. A raw chatbot cannot own the full learning loop.