Usage
Revised
Review recent activity on the usage page, or compare available plans.
Usage API
Use the cloud usage endpoint to retrieve request counts, token usage, and cost over the last 24 hours, 7 days, or 30 days.
curl 'https://ollama.com/api/usage?range=24h' \
-H "Authorization: Bearer $OLLAMA_API_KEY"
New usage can1 take time to appear.?1
Balance API
Use the balance endpoint to retrieve your remaining included and purchased credits.
curl https://ollama.com/api/balance \
-H "Authorization: Bearer $OLLAMA_API_KEY"
Both endpoints require an API key. Team admins can also retrieve usage for the whole team.
Notes on this page
1 Wording Audit: improved Uses can for what is possible; the meaning is unchanged.
Was:
mayterm-may-can-mightAuditor: “Can take time” reads more plainly than “may take time” while preserving the uncertainty.
Questions for the owner
?1 How long can new usage take to appear, so the page can give a number?
About: “New usage may take time to appear.”
Original
Review recent activity on the usage page, or compare available plans.
Usage API
Use the cloud usage endpoint to retrieve request counts, token usage, and cost over the last 24 hours, 7 days, or 30 days.
curl 'https://ollama.com/api/usage?range=24h' \
-H "Authorization: Bearer $OLLAMA_API_KEY"
New usage may take time to appear.
Balance API
Use the balance endpoint to retrieve your remaining included and purchased credits.
curl https://ollama.com/api/balance \
-H "Authorization: Bearer $OLLAMA_API_KEY"
Both endpoints require an API key. Team admins can also retrieve usage for the whole team.
What Changed
This page already follows the reference shape and passes every check, so the edits are small: one modal verb changed to the standard's preferred form, and one question about a missing fact.
Content type: reference. The page lists two API endpoints with the same shape: a sentence, an example request, and a note.
Automated check, original: 0 errors, 0 warnings, 0 suggestions. Revised: 0 errors, 0 warnings, 0 suggestions.
Independent audit (GPT-6): improved. The revision makes one small wording change and otherwise preserves the page. It asks the owner for the missing timing detail instead of inventing one.
What the revision missed:
- The page says team admins can retrieve usage for the whole team but does not explain how; ask the owner for the steps or a link.
Wording (1)
- 1 Uses can for what is possible; the meaning is unchanged. improved