usage

What your account spent, in dollars and chip-seconds, by model.

What you are billed for is chip-seconds: for every target of every job, how long a processor was actually leased to it. Time spent queueing, targets that failed, retries we had to make and jobs our watchdog stopped are reported in excluded_s and are not billed. Nor is a chip that stayed leased longer than the work that produced your result: each target is capped at the runtime the engine itself measured, plus the time the chip spent loading the model when it did not already have it. That load is billed, because the chip was leased to you while it ran, and each record says how much of billable_s it was in load_s. Each record carries both numbers per target, the intervals and that runtime, so every line can be rechecked by hand.

summary totals the rows in the window (from/to, not the page): amount is what they cost in currency (always usd), amount_micros the same in millionths of a dollar, and by_model and by_surface split it, each adding up to the total. So "what did I spend last week" is summary.amount with from set a week back.

get/v1/usage

Request

  • Base URL: https://api.japanfold.aiand.com
  • URL: https://api.japanfold.aiand.com/v1/usage
  • Auth: HTTP bearer

Query parameters

fromstring

First day, YYYY-MM-DD (inclusive).

tostring

Last day, YYYY-MM-DD (inclusive).

sincestring

Unix epoch or ISO 8601 instant; wins over from.

untilstring

Unix epoch or ISO 8601 instant; wins over to.

limitinteger
cursorstring

Response

Usage list with an account summary

has_moreboolean
next_cursorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.