Rate limits
| Limit | How many | What counts |
|---|---|---|
| Per account, REST | 40 a minute | each POST ask to /api/v1/chat or /api/v1/robot. Asking for a job’s answer doesn’t count. |
| Per account, MCP | 40 a minute | each MCP tool call. Connecting and listing tools don’t count. |
| Per address | 300 a minute | every request from one IP address to /api/v1, polls included; /mcp has its own 300. |
Past a limit, the REST API answers 429 rate_limited. Over MCP, the per-address limit answers HTTP 429 and the per-account limit comes back as a tool result with isError: true saying to wait. No Retry-After header is sent: wait a few seconds and try again, a little longer each time.
Sizes and time
text: up to 4,000 characters. Longer text is cut to 4,000 without an error, so cut it yourself where it makes sense.- Waiting: a request waits up to about 25 seconds for the answer. After that it returns
busy: trueand anid; see Long jobs. Give your HTTP client a timeout of 40 seconds or more. - Jobs kept: the answers of the last 10 jobs. Older ids answer
404 no_job. - MCP batches: up to 20 calls in one JSON-RPC batch.
Credits
- REST API: each answer is paid from the account’s Lumi credits, like a message the person typed. The cost follows the work the answer took, so there is no fixed price per call. A web search inside an answer adds 9 credits.
- Asking for a job’s answer (
GET …/<id>) is free. - MCP: the other AI does the thinking, so the tools use no credits. Only
say, which speaks on a device, uses them. - Your own AI key: the model’s part costs no credits. See Your own AI key.
When the credits run out, an ask answers 402 no_credits, and the message says why: the trial is over, or the weekly or monthly limit is reached. Plans and credit packs are on ai.avenpa.com/plans. There is no usage API.