Billing
To keep billing simple and transparent, we made the billing model as straightforward as possible. It works like this:
Responses with an HTTP
2xxcode are billed;Responses with an HTTP code other than
2xxare not billed;
Examples:
A classification analysis in which no document was found (a blank file, or one with very poor resolution) returns
200, but with an empty list of documents. This case is charged, because the processing did take place.An analysis in which the document had good resolution but, for some reason, hit a processing error during the analysis, returns
500. This case is not charged, because the processing did not complete.A call with authentication problems that returned a
4xx. It is not charged, because no processing took place.For the SDKs, billing happens on the calls to the backend. Using the SDK itself incurs no charge — only the requests it sends, following the same rule as any other request.