Rate limits and quotas

Available in the API
Two limits apply: requests per second, which protects the service, and monthly units, which is what you pay for. Every name call reports both in its headers.

Available 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

PlanRequests per secondBurstUnits a monthOver the units
Free251,000Hard stop
Developer102025,000$1.00 per 1,000 units
Growth50100200,000$0.60 per 1,000 units
Scale2004001,500,000$0.30 per 1,000 units
Enterprise5001,000ContractedContracted

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}'
Response 200
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-Limit is the plan rate. RateLimit-Remaining is the lower of the two buckets. RateLimit-Reset is the seconds until a token is back.
  • Limited: POST /v1/transliterate, /variants, /normalise, /match and 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"}'
Response 429
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_exceeded with Retry-After: 3600 until 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"}'
Response 429
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

CallUnits
POST /v1/transliterate1
POST /v1/variants1 standard; 5 extended, when it opens
POST /v1/normalise1; 2 with return_arabic_and_latin
POST /v1/match1, when it opens
A batch itemWhat the same sync call costs, for succeeded items only
Any error0
A test key call0
A retry with the same Idempotency-Key and body0
Reads: batches, results, usage, webhooks, meta0

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.

Planmax_results (transliterate)max_variants (variants)
Free510
Developer20100
Growth20100
Scale20100
Enterprise20100

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.

PlanDefault cap on overageOverage units within the cap
Developer$49 a month49,000
Growth$99 a month165,000
Scale$399 a month1,330,000
  • Once the next billable call would take the month's overage over the cap, billable live calls answer 429 spend_cap_reached with Retry-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_reached and 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-Key and 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"}'
Response 429
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"
Response 200
{
  "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_cap gives the cap (usd, null when unlimited is true), the overage spend that counts against it (spent_usd) and state: reached once billable calls are refused.
  • GET /v1/usage: daily rows, newest first, with from and to (inclusive UTC dates, default the current month), group_by (endpoint, key or both), limit and cursor. Each row has units, calls (errors and free retries included), errors and cache_hits.
  • Both need the usage:read scope and bill nothing.

Alerts

  • At 80% and 100% of the included units, the account owner gets an email and a usage.threshold_reached webhook event, once each per month.
  • At 50% and 100% of the spend cap, the account owner gets an email and a spend_cap.reached event. 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.