Guide
How to bill AI costs to your clients as a freelancer
AI tools now sit on most freelance invoices, whether you show them or not. A client feature that calls an API every day can cost more than your laptop. Here is how to decide what to charge, agree it up front and back each line with a receipt.
The short answer
Keep your own tools in your rate and pass through what a client's project uses on its own. Separate the two at the source: give each client its own API project or workspace, record every top-up or invoice at its real amount, and allocate shared costs with a percentage you can explain. Agree the method, any markup and a monthly cap in writing before the work starts.
Four ways to charge for AI
| Method | Works best for | Watch out for |
|---|---|---|
| Built into your rate | Your own ChatGPT, Claude or Cursor plan that helps you on every job | Raise the rate when your tool bill grows, or it eats your margin |
| Pass-through at cost | API usage by a product you built and the client runs | You carry the cash until the invoice is paid |
| Pass-through with a handling fee | Clients who want you to hold the accounts and the paperwork | State the fee as a percentage in the contract |
| Fixed AI budget per month | Retainers with steady, predictable usage | Check real spend against the budget every month |
Agree it before the first invoice
Surprise line items damage trust faster than a high rate. Put these in the proposal or contract:
- which tools and APIs are billed to the client, and which are included in your rate,
- at cost or with a fee, and how currency conversion is handled for bills in US dollars,
- a monthly cap, and that you ask before going over it,
- what evidence they get: a copy of the provider's invoice, or a monthly cost report.
The better long-term answer for a production app is often to move the API account into the client's name once the project is live. Then the bill goes to them directly and you stop being the bank.
Separate costs at the source
Allocation is easier when the providers already split the bill for you:
- OpenAI API: create a project per client. Usage can be broken down by project, and each project can have a monthly budget that blocks further requests once it is reached.
- Claude API: create a workspace per client in the Claude Console. API keys belong to one workspace, and each workspace can have its own monthly spend limit and notification.
- Gemini API: use a separate Google Cloud project per client and an optional per-project spend cap in AI Studio; see Google AI Pro vs Gemini API billing.
One caution: with prepaid credits, the charge on your card is the top-up for the whole organisation, not one client's usage. Use the provider's usage page to split a top-up, and keep the screenshot or export with the receipt.
Back every invoice line with a receipt
- Record the real charge. The amount and date from the provider's invoice, in the currency you paid. Our invoice guide lists where each provider keeps them.
- Allocate it. 100% to the client for a dedicated API project, a stated percentage for shared infrastructure, 0% for your own tools. The allocation guide covers the rules.
- Invoice from the report. One line per month, for example "AI and API usage, November 2026, at cost", with the allocated total and the receipts attached or available on request.
VAT and tax treatment of re-billed costs differs by country and by how you invoice them. Ask your accountant whether to bill them as part of your service or as a separate cost.
Doing this in ModelTab
Create a project per client, add or import each cost with its receipt, and set the allocation yourself. Every imported cost starts at 0%, so nothing is billed to a client by accident. Each project gets a monthly report and a CSV export with original amounts, allocation and source. Your first project is free; ModelTab Plus adds unlimited client projects and encrypted sync across devices. See ModelTab for freelancers for the full picture.
Put your AI spend in one place.
No account, no card and no connected accounts. Free forever for your own AI spend; Plus adds unlimited client projects and end-to-end encrypted backup and sync.