기술 블로그

← 모든 글

· Research AI

Three Live Runs a Day: Research AI Free Tier on Top of Cache

UI는 한국어입니다. 글 본문은 아직 영어 또는 중국어만 있습니다.

Anonymous users get 3 live AI researches per rolling 24 hours. Cached topics — including trending chips — do not count.

That split matters: we want guests to feel speed on warm topics while capping OpenAI spend on cold ones.

What counts as “live”

Only a cache miss that triggers worker inference burns quota. Hit v2:research:{hash}? Instant, free, unlimited re-reads.

Identity

Next.js forwards an anonymous browser id (a UUID in localStorage) to the backend. Signed-in users get a higher tier, and that identity must come from a verified server-side session, never from a header the browser can set (ADR-005).

Storage

usage_limits.db on the Fly volume — separate from research.db so quota writes do not fight cache reads.

UX when blocked

429 → friendly copy on result page; nudge to try a trending topic or sign in later.

Same playbook as Invest AI’s free tier post — adapted for learning decisions instead of stock analysis.

Further reading: ADR-005 in xingai-research-ai/docs/adr/