6 minutes

Track agent spend and logs

Monitor what your coding agent spends in Activity and Logs, and diagnose why a request was blocked by a workspace rule.

A single task in a coding agent often sends dozens of requests behind the scenes as the agent reads files, runs tests, and edits code. Every turn includes the conversation history so far, which means prompt tokens grow with each step of a long session.

Because ori login connects your agent directly to your OpenRouter account, every turn appears in:

  • Activity: total spend and token volume over time, which you can filter by model or workspace.
  • Logs: each individual turn, showing the exact model and provider that served it, input and output token counts, latency, and cost.

Check your understanding

You ran a 20-minute coding session in ori claude and want to see why it cost more than yesterday’s session. Where do you look?

Your workspace’s settings apply automatically to your Ori sessions. If your admin configured default provider routing, Zero Data Retention (ZDR), model allowlists, or a workspace budget, your agent follows those rules without any local configuration on your machine.

Apply it

Halfway through a task, your agent stops with an error saying the workspace budget has been reached. What happened, and who can change it?

Takeaway

Coding agents send a new request on every step as context grows. Check Activity for overall spend, open Logs to inspect individual turns, and remember that workspace budgets and model rules apply automatically to Ori sessions.

Try it live

Optional

Run a short task with ori <agent>, then open Logs to see each turn’s token count, provider, and cost.