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 computed from each response by a formula the provider defines. The formula 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. Amounts a formula can’t compute also bill nothing.

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.