Smartgenix is a SaaS platform based in the UK that helps marketing teams and content creators produce high-quality copy at scale using OpenAI's GPT-4 models. Users can generate blog posts, ad copy, email campaigns, and social media content from structured templates, then refine outputs with tone controls and version history — all without leaving the browser.
Streaming responses with partial save states
Users frequently navigate away mid-generation. Built a custom streaming hook that persists partial output to Supabase in 500ms chunks, so content is never lost even if the connection drops.
Controlling GPT output quality at scale
Raw LLM output varied wildly across user inputs. Introduced a two-pass generation pipeline: first a structured JSON plan, then a prose expansion step — increasing output consistency by ~60% based on user ratings.
Cost control for token-heavy workloads
Uncapped API usage made the unit economics unsustainable in beta. Implemented a client-side token estimator that warns users before submission, plus server-side hard limits with graceful truncation.
Tech Stack