You can bill clients for AI agent work in three ways: pass the cost through at what it cost you, add a markup on that cost, or include it in a fixed price or retainer. Which one fits depends on how predictable the work is and how much the client wants to see. You can charge clients for AI usage with any of the three, as long as the method is agreed before the work starts. Whatever you choose, you need each client’s share of the agent cost, so start by keeping a record per run.
The three methods at a glance
| Method | You charge | Fits when | Main risk |
|---|---|---|---|
| Pass through at cost | What the agent usage cost you | The client already thinks in expenses and agent use is a small part of the work | You earn nothing on supervising and checking the output |
| Cost plus a markup | The cost plus a percentage, such as 25% | Agent work is a visible part of the project and the client agreed to usage billing | The client questions a markup that was not stated up front |
| Fixed price or retainer | One price for the outcome | The work is predictable | You absorb a heavy month |
Each method in detail
Pass the cost through at cost
You add a line to the invoice for agent usage and charge what it cost you, with no margin. This is the simplest to explain: the client sees the number you paid. It fits when the client already thinks in terms of expenses, such as ad spend or stock photos, and when agent use is a small part of the work.
The weakness is that you earn nothing on the effort of supervising and checking the agent’s output, and that review time is real work.
Add a markup
You charge the cost plus a percentage, for example 25%. This covers the overhead of managing the tools and the risk that a month runs high. It fits when agent work is a visible part of the project and the client has agreed to usage-based billing.
Say the markup out loud in the contract. Clients accept a markup on a cost they can see far more easily than one they discover later. If you add a markup, show the underlying cost and the percentage on the invoice, not only the total.
Include it in a fixed price or retainer
You quote a price for the outcome, such as a redesigned checkout or a month of maintenance, and agent cost sits inside it. The client never sees a usage line. This fits when the work is predictable, when you want the client to pay for the result rather than the method, and when agents make you faster at something you already price by the project.
The risk is yours. If a month runs heavy, you absorb it. The way to manage that is to keep the per-run records anyway, so that after a few months you know what a typical project costs in agent usage and can price the next quote from data. For the people side of a fixed-price project, see agency time tracking and how to track billable hours.
Which one to choose
Pass-through or markup suits time-and-materials clients who expect to see usage. A fixed price suits clients who want one number. Some agencies mix them: fixed price for the project, pass-through for anything unusual, such as a large one-off data job. Agree on this before the work starts.
What to put on the invoice for AI usage
Whichever way you bill, a client who sees “AI usage: $287.50” with no detail will ask what it is. A good line item gives the client enough to check it without handing them your whole log. Include:
- the period;
- the agent or tool at a general level, for example “AI coding agent usage”;
- the underlying cost;
- the markup percentage, if there is one;
- the total.
Using the sample numbers from the worked example below, the line reads:
“AI coding agent usage, November 1 to 30: $230.00 at cost, plus 25% markup ($57.50), total $287.50.”
If the client pays by the hour for people, keep agent usage on its own line, separate from hours. Do not fold agent minutes into people’s hours; the time is not the same kind of time, and blending the two makes both numbers harder to defend.
Be ready to show the supporting detail on request: which runs, which tickets, what each delivered. That turns “AI usage” into a list of finished tasks, which is a conversation about value instead of cost.
How to attribute AI usage to each client
Tag every run with the client when it starts, not at the end of the month. If you pay for agents through the Anthropic API, Anthropic describes Console workspaces as a way to separate different projects, environments or teams under one bill (Anthropic, checked November 2026). A workspace per large client keeps that client’s spend apart from the rest.
Some usage will not map to one client: internal tools, experiments, a run that touched two projects. Put it on an “unallocated” line in your own records and decide once how you handle it, for example as overhead, so you do not make the call again every month.
A worked example, with sample numbers
Sample result: $230 of agent usage across three clients becomes $287.50 with a 25% markup, a $57.50 margin. Here is how.
The numbers below are sample numbers, invented to show the math. They are not a benchmark or a real client. The prices are the Anthropic API list prices for Opus 5.5 (Anthropic, checked November 2026), in dollars per million tokens: $4 input, $20 output, $0.20 cache read and $5 for a 5-minute cache write.
Suppose an agency ran Claude Code on pay per use for a month on Opus 5.5, and the month’s total usage was (sample numbers):
| Token type | Millions | Price per million | Cost |
|---|---|---|---|
| Input | 10 | $4.00 | $40.00 |
| Output | 3 | $20.00 | $60.00 |
| Cache read | 250 | $0.20 | $50.00 |
| Cache write (5 minute) | 16 | $5.00 | $80.00 |
| Total | $230.00 |
These are sample figures for a small agency’s month. Your own will differ.
The month had 40 runs across three clients: 20 for Northwind, 12 for Acme and 8 for Birch Studio, all sample names. Splitting by share of runs gives 50%, 30% and 20% (sample numbers):
| Client | Runs | Share | Cost | With 25% markup |
|---|---|---|---|---|
| Northwind | 20 | 50% | $115.00 | $143.75 |
| Acme | 12 | 30% | $69.00 | $86.25 |
| Birch Studio | 8 | 20% | $46.00 | $57.50 |
| Total | 40 | 100% | $230.00 | $287.50 |
The math: $230 times 50% is $115, times 30% is $69, times 20% is $46. Each cost times 1.25 gives the marked-up amount. The three marked-up amounts add up to $287.50, which is $230 times 1.25, so the split checks out. The agency’s margin on this month is $57.50.
One caution on the method. Splitting by number of runs assumes every run costs about the same. If one client’s runs were long and heavy, that client’s share is higher than their share of runs. Where you have the tokens per run, split by tokens instead. A per-run record with the cost on it makes this exact. The free AI agent cost calculator does this split, with a markup, from your own usage.

If you pay a flat plan instead
Some agencies run agents on a flat plan such as Claude Max, which Anthropic lists at $100 a month (Anthropic, checked November 2026). There is no cost per token to pass through, so the number to split is the plan price.
Using the same sample shares, $100 splits into $50 for Northwind, $30 for Acme and $20 for Birch Studio. With a 25% markup that is $62.50, $37.50 and $25.00, $125 in total.
Two caveats. The plan price is a fixed cost: it does not fall when you use it less, so a quiet month means each client’s share is not “what the work cost” in any sense. And if the same plan also covers internal work or your own experiments, charge clients only for their share of that use, not the whole plan. Some agencies treat the plan as part of their overhead and charge a flat fee for agent-assisted work instead. That is the fixed-price route above, and it is a fair choice.
Anthropic describes plan usage as multiples of Pro (“5x Pro usage” for Max) and does not publish it in hours or tokens, so you cannot convert the plan price into a per-token rate you can defend. Splitting the price by share of work is the defensible version. Before you charge clients for work done on any plan, read that plan’s terms on commercial use.
How to explain it to a client
Tell the client up front that AI agents are part of how the work is done, ideally in the proposal or contract, before the first invoice carries a usage line. Then say what the agent does (“an AI coding agent drafts and tests code; a person on our team reviews all of it”), how you charge (“usage is billed at cost plus 25%, shown as its own line”) and what the client can see (“a list of runs with the ticket and what each delivered, on request”). If you are using a fixed price, say that agent usage is included and that you do not bill it separately.
Most clients’ real question is whether they are paying twice for the same work: once for your hours and once for the agent. The answer is that the hours are for people’s judgment, review and direction, and the agent line is for the machine time and usage. Keeping the two on separate lines is what makes that answer believable.
How Ruam fits
Ruam logs each agent run on the right client with what it delivered, who started it, how long it took and its cost when it can work it out, kept apart from people’s hours. It works with Claude Code, Codex, Antigravity CLI and Cursor, and it is in Beta and open on every plan. Runs carry a billable flag, and a client’s record shows billable agent time and the agent cost reported. Agent cost does not reach invoices yet, so you copy the figures across for now. See AI agent time tracking and the free billable hours calculator for the people side of the bill.
Start with one client this month. Agree on the method in writing, record every run, and send the first invoice with the supporting list attached. After two or three months you will know what agent work really costs you per client, and your next quote can use that.


