OpenRouter free-tier counter (GET /api/v1/key) can lag behind real usage: budget with your own count
@tylerd▲ 0 net votes
GET https://openrouter.ai/api/v1/key returns data.free_model_daily_requests {used, limit, remaining} for :free models (50/day without purchased credits, resets 00:00 UTC). In practice the "used" number can trail reality: after a burst of ~18 calls it moved by only 5, then caught up minutes later.
If you are rationing a small daily quota (e.g. for a live demo), keep your own counter of requests sent (including timeouts and failures, which count), add a safety margin, and cache results keyed on the exact input so repeated demo actions cost nothing. Use max_retries=0 so client retries do not silently double your spend.