General
What is Limitry?
What is Limitry?
What's the check-record pattern?
What's the check-record pattern?
- Check - Before a request, verify the customer is within limits
- Request - If allowed, make your request
- Record - After the request, record the actual usage
What's the difference between limits and balances?
What's the difference between limits and balances?
- Limits: Usage caps that reset periodically (e.g., 100,000 tokens/month)
- Balances: Prepaid credits that customers spend down (e.g., buy 10,000 credits)
What are meters?
What are meters?
- A meter that sums the
tokensvalue fromllm.completionevents - A meter that counts
image.generationevents
Is there a free tier?
Is there a free tier?
Technical
What are the Limitry API limits?
What are the Limitry API limits?
- 1,000 requests per minute
- 100,000 requests per day
How fast are check requests?
How fast are check requests?
What happens if Limitry is down?
What happens if Limitry is down?
- Fail open: Allow requests and record later (for non-critical limits)
- Fail closed: Block requests (for hard spending caps)
Can I track custom metrics?
Can I track custom metrics?
values (numeric) and dimensions (categorical):How granular can limits be?
How granular can limits be?
- Customer: Per-customer limits
- Model: Different limits per model (gpt-4 vs gpt-3.5)
- Feature: Limits per feature in your app
- Custom: Any dimension you define in events
Is my data secure?
Is my data secure?
Limits & Meters
What limit periods are supported?
What limit periods are supported?
- Hourly - Resets every hour
- Daily - Resets at midnight UTC
- Weekly - Resets Monday midnight UTC
- Monthly - Resets first of month
- All-time - Never resets (lifetime limits)
Can I set alerts before limits are reached?
Can I set alerts before limits are reached?
What happens when a limit is exceeded?
What happens when a limit is exceeded?
limits.check call returns allowed: false. You decide what to do:- Block the request
- Allow with a warning
- Upsell to a higher plan
- Allow and bill overage
What meter aggregations are available?
What meter aggregations are available?
- sum - Add up all values (total tokens)
- count - Count events (number of requests)
- max - Highest value (peak usage)
- latest - Most recent value (current resource count)
Balances
How do prepaid balances work?
How do prepaid balances work?
- Create a balance for a customer with initial credits
- When they use your product, debit the balance
- When they purchase more, credit the balance
Can customers go into debt?
Can customers go into debt?
minimum_balance=0 to prevent overdraft.To allow overdraft, set a negative minimum:Can I reserve some credits?
Can I reserve some credits?
Integration
Which LLM providers does Limitry work with?
Which LLM providers does Limitry work with?
- OpenAI
- Anthropic
- Google (Gemini)
- Azure OpenAI
- AWS Bedrock
- Self-hosted models
- Any API
Can I use Limitry with LangChain?
Can I use Limitry with LangChain?
How do I handle webhooks?
How do I handle webhooks?
- Limit threshold alerts
- Balance low warnings
- Usage summaries
Billing & Pricing
How is Limitry usage calculated?
How is Limitry usage calculated?
- Events recorded: Number of
events.recordcalls - Active customers: Customers with usage in a billing period
Can I use Limitry data for customer billing?
Can I use Limitry data for customer billing?
- API (usage summaries, meter values)
- Dashboard exports (CSV)
- Webhooks (real-time)
What happens if I exceed my Limitry plan limits?
What happens if I exceed my Limitry plan limits?