Skip to main content
APIs on JoJ API bill in billable objects — the resources a provider charges for. Most APIs use the default Credits object; an API can also meter additional objects such as AI tokens or compute time. Every plan states how much of each object it includes (or what you pay per unit), and every endpoint shows what it consumes.

What a request costs

Each endpoint’s documentation card lists its billing per object:
  • A fixed amount (“5 Credits / request”) is a hard upper bound — a request may bill less (the provider can lower it based on the response) but never more.
  • A metered object is read from each response by a rule the provider sets: a response header, one key of a header, or a field of the JSON body. The rule itself is shown on the endpoint (hover the info icon), along with a last-month average per request — you can always see exactly how usage is counted.
You can track what every request cost you in real time through the gateway’s response headers: X-Jojapi-Credits-Used, and one X-Jojapi-<object>-Used header per additional object.

Failed requests are free

Responses with a 5xx status code — and error responses generated by the gateway itself — never consume anything, on any object. When a response carries no usable amount, the default shown with the rule applies, or nothing is billed.

Tracking your usage

Workspace → Subscriptions shows your current period’s usage per object — one progress bar per included quota on fixed plans, and per-object usage with spending on pay-as-you-go plans. Quotas reset each billing period and unused amounts do not carry over.