Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rate Limits & Pricing

All prices exclude VAT.

Plans

FeatureFreePAYGStandardEnterprise
Monthly fee€0€0€49€199
Included queries/month1,000050,000500,000
Knowledge bases1520Unlimited
Documents501,0001,00010,000
Max document size5 MB25 MB25 MB100 MB
Storage50 MB50 MB1 GBCustom
Max chunks5,000100,000100,0001,000,000
Rate limit (queries/min)10100100500
Overage (per query)—€0.004€0.002€0.001
Ingestion cost—€0.001/chunkFreeFree

Rate Limiting

API requests are rate-limited per tenant based on your plan:

  • Query rate limit: Applied to POST /v1/query (per-minute, by plan: 10 Free, 100 PAYG and Standard, 500 Enterprise)
  • Burst limits: 20 requests/second per API key on /v1/query, 10 requests/second per API key on /v1/documents
  • Global rate limit: 100 requests/second per IP across all endpoints

When rate-limited, you’ll receive a 429 Too Many Requests response with a Retry-After header.

Response Headers

Successful query responses include rate limit headers:

X-RateLimit-Limit: 10
X-RateLimit-Remaining: 7
X-RateLimit-Reset: 1719936000

Overage

  • Free tier: Hard cap — once the 1,000 monthly queries are used, queries are rejected with 402 quota_exhausted
  • PAYG tier: All queries charged at the €0.004 rate (no included queries); indexed chunks are charged at €0.001 each
  • Standard tier: Overage charged at €0.002 per query beyond included amount
  • Enterprise: Overage charged at €0.001 per query beyond included amount (billed by bank transfer; contact admin@medrag.eu)

Changing plan

A downgrade or cancellation is refused (422 exceeds_target_plan_limits) when your current usage is above the target plan’s limits — for example, more knowledge bases than it allows, or more stored data than its storage quota. Delete the excess and try again.