Costs and limits¶
Costs and plans¶
A completed job is charged three things, at the prices GET /billing/rates lists:
- a text fee per 1,000 characters of document text it processed;
- a conversion fee per PDF page or image it converted (plain text, Markdown, HTML and Office files pay none);
- the LLM tokens it used, per kind (input, cached input, output, reasoning), priced per million.
POST /process/estimate takes the same request as /process and returns the estimated cost, its fees and the hold, without queueing anything. A submitted job reserves its hold from your balance until it ends, and stops if its cost reaches it. A job that fails is not charged. A job you stop, or one stopped at its hold, pays the tokens it used and no fees. No job is charged more than its hold. Set max_cost_eur to choose the hold yourself; it must exceed the job's fees.
GET /billing/statement lists your charges by job, GET /billing/balance your balance, and POST /billing/credit-requests asks for credit, with an optional purpose (trial, buy or invoice) and a note. An account starts with the starter credit that GET /policy reports when it opens.
Every account is on a plan that limits its projects, the ontologies and shapes documents per project, the triples in one ontology, the triples it stores in all, the characters in one job, and how many jobs run and wait at once. GET /me/plan shows the limits and what your account uses. An action that would pass a limit answers 409 plan_limit; delete what you no longer need, or ask us for the pro plan. A job may take the account past its stored-triples limit once; the next one is refused.
Feedback¶
PUT /jobs/{id}/feedback says whether a finished or failed job's result was useful (rating up or down, an optional message); sending it again replaces it. POST /jobs/{id}/feedback/facts flags one fact of a finished job as wrong (subject, predicate, object; without a predicate, the entity as a whole), and DELETE /jobs/{id}/feedback/facts/{flag} takes the flag back. GET /jobs/{id}/feedback returns both. POST /feedback sends us a message. Feedback is deleted with your account; a fact flag also goes with its job.
Limits¶
- Inputs: PDF, Word (
.docx), PowerPoint (.pptx), Excel (.xlsx), HTML, Markdown, CSV, AsciiDoc, images (PNG, JPEG, TIFF), plain text and JSON.GET /policylists the accepted extensions and the upload size, for documents and for ontology and shapes files. - Per request: a limited number of files (
422too_many_filesnames it), and a total upload size (413). - Per job: a number of characters of document text, set by your plan (
GET /me/plan); split a longer document, or sethead_chunks. - Imports: one file holds at most
GET /policymax_facts_mbandmax_facts_triples(413over either). A file that does not parse, or holds an RDF 1.2 triple term other than a reifier's (the object ofrdf:reifies, not nested), answers415. - Rates: submissions and feedback per hour, and estimates, exports and queries per minute. Past one, the API answers
429with aRetry-Afterheader. - Start-up: after a quiet period, the first requests answer
503wakingwithRetry-Afterwhile the platform starts.