The Mathematics of
$0.00 Guaranteed Cloud Spend
By combining sliding-window quota rate-limiters with multi-candidate free-tier routing across Google AI Studio's Gemma 4 and Gemini 3.5 architectures, Ishita operates 24/7 without incurring a single dollar of cloud charges.
Interactive Quota & Cost Calculator
Adjust the projected daily volume of Instagram messages, multimodal reel analyses, and vector recall queries to verify that the zero-dollar cost invariant remains inviolable.
Calculated Infrastructure Status
Dual Sliding-Window Quota Tracking
Google AI Studio enforces limits on two distinct horizons: Requests Per Minute (RPM) and Requests Per Day (RPD). We implement continuous atomic token buckets in Python:
Sliding-Window Equations
Incoming queries are recorded in timestamps list \(T_m\). Any query older than the window is evicted with \(O(\log N)\) bisect search:
N_{24h}(m, t) = |\{ \tau \in T_m \mid t - 86400 \le \tau \le t \}| \le RPD(m)
Automatic Failover Tree
When primary chat capacity exceeds 90% of RPD, the router transitions dynamically: