Rate limits and quotas
Available in the APIAvailable in the API. Rate limits, the Free plan's monthly stop, overage metering, the stop at the spend cap, usage endpoints and usage alerts all run today.
Limits per plan
| Plan | Requests per second | Burst | Units a month | Over the units |
|---|---|---|---|---|
| Free | 2 | 5 | 1,000 | Hard stop |
| Developer | 10 | 20 | 25,000 | $1.00 per 1,000 units |
| Growth | 50 | 100 | 200,000 | $0.60 per 1,000 units |
| Scale | 200 | 400 | 1,500,000 | $0.30 per 1,000 units |
| Enterprise | 500 | 1,000 | Contracted | Contracted |
Prices and the rest of each plan are on the pricing page. Enterprise limits are set in your agreement; the rates above are the defaults.
Requests per second
Rate limit and units headers on a Growth key
curl https://api.arabinames.assentify.com/v1/transliterate \
-H "Authorization: Bearer $ARABINAMES_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Rami","max_results":1}'RateLimit-Limit: 50
RateLimit-Remaining: 99
RateLimit-Reset: 1
Assentify-Units: 1
Assentify-Engine-Version: mock-1
Assentify-Cache: miss
{
"id": "tr_example",
"object": "transliteration",
"source_script": "latn",
"target_script": "arab",
"results": [
{
"text": "رامي",
"rank": 1
}
],
"tokens": null,
"hints": {
"dialect": "auto",
"orthography": "auto",
"source": "default",
"applied": "none"
},
"warnings": [],
"engine_version": "mock-1",
"units": 1
}Fixture spellings (engine_version mock-1), which is what a test key returns. A live key returns the engine's spellings in the same fields and bills the units shown; a test key bills 0.
- Two token buckets: one per API key and one per account, both at the plan rate with the plan burst. Many keys cannot add up to more than the account's rate.
RateLimit-Limitis the plan rate.RateLimit-Remainingis the lower of the two buckets.RateLimit-Resetis the seconds until a token is back.- Limited:
POST /v1/transliterate,/variants,/normalise,/matchand batch creation. Reads (batches, results, usage, webhook endpoints, meta) are not. - Batch items run in a separate worker pool and do not count, only the call that creates the batch.
- Test keys share the account's buckets with live keys.
Over the rate on a Free key
curl https://api.arabinames.assentify.com/v1/transliterate \
-H "Authorization: Bearer $ARABINAMES_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Rami"}'RateLimit-Limit: 2
RateLimit-Remaining: 0
Retry-After: 1
Assentify-Units: 0
{
"type": "https://arabinames.assentify.com/docs/errors#rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Over 2 requests per second.",
"request_id": "req_example",
"doc_url": "https://arabinames.assentify.com/docs/errors#rate_limited"
}The gateway's answer, with its request id replaced. Errors bill zero units.
Monthly units
- The period is the UTC calendar month. A call counts when it completes.
- Free: 1,000 units, then a hard stop. Live calls answer
429 quota_exceededwithRetry-After: 3600until the month turns or you upgrade. - Paid plans: calls continue past the included units and the overage is billed per started 1,000 units at the plan rate, up to the account's spend cap.
- Test keys never count toward the allowance.
The Free plan after its included units
curl https://api.arabinames.assentify.com/v1/transliterate \
-H "Authorization: Bearer $ARABINAMES_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Rami"}'Retry-After: 3600
Assentify-Units: 0
{
"type": "https://arabinames.assentify.com/docs/errors#quota_exceeded",
"title": "Monthly quota exceeded",
"status": 429,
"code": "quota_exceeded",
"detail": "The Free plan includes 1000 units a month.",
"request_id": "req_example",
"doc_url": "https://arabinames.assentify.com/docs/errors#quota_exceeded"
}The gateway's answer, with its request id replaced. Errors bill zero units.
What a call costs
| Call | Units |
|---|---|
POST /v1/transliterate | 1 |
POST /v1/variants | 1 standard; 5 extended, when it opens |
POST /v1/normalise | 1; 2 with return_arabic_and_latin |
POST /v1/match | 1, when it opens |
| A batch item | What the same sync call costs, for succeeded items only |
| Any error | 0 |
| A test key call | 0 |
| A retry with the same Idempotency-Key and body | 0 |
| Reads: batches, results, usage, webhooks, meta | 0 |
A cached answer bills the same as a fresh one. Every response states its units in the body (units) and in the Assentify-Units header.
Plan caps on request fields
Two request fields are capped by plan. A value over the cap is lowered to the cap, not refused.
| Plan | max_results (transliterate) | max_variants (variants) |
|---|---|---|
| Free | 5 | 10 |
| Developer | 20 | 100 |
| Growth | 20 | 100 |
| Scale | 20 | 100 |
| Enterprise | 20 | 100 |
The engine returns at most 10 ranked spellings per transliteration, whatever max_results says.
Spend cap
Every paid account has a cap on overage spend per month. It equals the plan price unless an owner or admin of the account changes it on the billing screen of the console, to any whole dollar amount from $0 or to unlimited, so by default overage never costs more than the plan itself. The API applies a new cap within 5 seconds.
| Plan | Default cap on overage | Overage units within the cap |
|---|---|---|
| Developer | $49 a month | 49,000 |
| Growth | $99 a month | 165,000 |
| Scale | $399 a month | 1,330,000 |
- Once the next billable call would take the month's overage over the cap, billable live calls answer
429 spend_cap_reachedwithRetry-After: 3600, and nothing is billed. The bill never passes the cap. - A call is refused whole: a call worth more units than fit under the cap is refused even when one unit would fit. Batch items past the cap fail with
spend_cap_reachedand bill nothing; items before them keep their results. - Calls resume when the month turns or when an owner or admin raises the cap. A cap of $0 stops calls at the included units, like Free. An unlimited cap never stops calls; alerts at 80% and 100% of the included units still go out.
- Test keys are never billed and never stopped by the cap. A retry with the same
Idempotency-Keyand body still answers, with zero units. - Free has no cap: it stops at its units with
quota_exceeded. Enterprise caps are set in the agreement. - After a proven key leak (support revoked the key after a leak report), the account owner on the billing screen, or support, can forgive the overage of the current month once per account in 365 days. When the leak was reported this month and the key was also used last month, the same forgiveness covers last month's overage too. It is recorded in the audit log. Forgiven overage is not billed and no longer counts against the cap, so calls on your other keys resume.
A Developer account whose overage reached the $49 cap
curl https://api.arabinames.assentify.com/v1/transliterate \
-H "Authorization: Bearer $ARABINAMES_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Rami"}'Retry-After: 3600
Assentify-Units: 0
{
"type": "https://arabinames.assentify.com/docs/errors#spend_cap_reached",
"title": "Spend cap reached",
"status": 429,
"code": "spend_cap_reached",
"detail": "Overage reached this account's spend cap of $49 for the month. Calls resume next month or once an owner or admin of the account raises the cap.",
"request_id": "req_example",
"doc_url": "https://arabinames.assentify.com/docs/errors#spend_cap_reached"
}The gateway's answer, with its request id replaced. Errors bill zero units.
Checking usage
Units used this month
curl https://api.arabinames.assentify.com/v1/usage/current \
-H "Authorization: Bearer $ARABINAMES_KEY"{
"object": "usage.current",
"environment": "live",
"plan": "growth",
"period": {
"start": "2026-11-01",
"end": "2026-11-30"
},
"included": 200000,
"used": 0,
"remaining": 200000,
"overage_units": 0,
"overage_usd_estimate": 0,
"spend_cap": {
"usd": 99,
"unlimited": false,
"state": "ok",
"spent_usd": 0
}
}The gateway's answer, with ids and times replaced.
GET /v1/usage/current: the current month for your account, as seen by the calling key's environment. A test key sees test usage, which is never billed.spend_capgives the cap (usd, null whenunlimitedis true), the overage spend that counts against it (spent_usd) andstate:reachedonce billable calls are refused.GET /v1/usage: daily rows, newest first, withfromandto(inclusive UTC dates, default the current month),group_by(endpoint,keyor both),limitandcursor. Each row hasunits,calls(errors and free retries included),errorsandcache_hits.- Both need the
usage:readscope and bill nothing.
Alerts
- At 80% and 100% of the included units, the account owner gets an email and a
usage.threshold_reachedwebhook event, once each per month. - At 50% and 100% of the spend cap, the account owner gets an email and a
spend_cap.reachedevent. The 100% alert means billable calls are now refused; with a $0 cap it comes when the included units are used.
Event payloads are on the batches and webhooks guide.
Errors
rate_limited, quota_exceeded, concurrency_limited and spend_cap_reached. All are 429 with Retry-After, and none is billed.