· 3 min read
Two free models, one schema
How a private content tool keeps generating scripts every morning on free AI tiers: one function, a primary and a fallback provider, a Zod schema both must satisfy, and a request log that doubles as the rate limit.
- AI
- Reliability
- TypeScript