Cloud usage
Usage statistics for cloud inference, web search, and web fetch.
400. Errors follow Ollama’s JSON error format.
Time ranges
24h starts at 02:00 UTC on September 30. It returns 24 complete hourly buckets followed by the current 02:00–02:30 bucket. The 7d and 30d ranges return seven and thirty complete days, followed by today so far.
Buckets appear in chronological order, including zeroes for hours or days with no recorded requests. The final bucket covers the current hour or day and has partial: true.
All timestamps are in UTC. Each from is inclusive and each until is exclusive.
Usage totals and buckets
totals summarizes usage across the entire range. buckets breaks that usage into hours or days.
granularity is set automatically: hour for 24h and day for 7d and 30d. The top-level from and until describe the entire range; each bucket has its own boundaries.
partial indicates whether the hour or day is still in progress, rather than whether all usage has been recorded.
Legacy plans
Legacy plans
Rate limits
This endpoint allows 10 requests per minute per user, shared across API keys and devices. We recommend polling once per minute. A429 response includes a Retry-After header with the number of seconds to wait before retrying.
Team usage
By default, everyone sees their own usage (scope=self).
Team admins can use scope=team to see usage for the whole team:
Coming soon
We plan to add custom time ranges, usage breakdowns by model and API key, and breakdowns by team member for team admins.Reference
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Completed UTC hours or days to include, plus the current partial hour or day.
24h, 7d, 30d Your requests, or your team's requests. Team scope requires being a team admin.
self, team Response
Usage for the selected range and scope.
Selected time range.
24h, 7d, 30d Selected usage scope.
self, team Set automatically: hour for 24h, day for 7d and 30d.
hour, day Start of the range in UTC, inclusive.
End of the range in UTC, exclusive.
Usage across the entire range.
Usage in chronological order, including buckets with no recorded requests.

