Retainer Agreement Template for AI App Agencies (2026)
The generic retainer templates on Google were built for lawyers, not software agencies. Here is a copy-paste retainer for AI app work, with the six clauses to add and a utilization-honest way to price the monthly fee.
Updated on July 6, 2026

On this page
Quick answer: A retainer agreement template is a reusable contract that sells a client a fixed block of recurring monthly capacity, at an agreed fee, with the scope, rollover rules, and exit terms written down before the work starts. Generic 2026 templates were built for lawyers and consultants, so they miss the clauses a software or AI app agency actually needs: an hour bank with a rollover cap, a pass-through for model and infrastructure costs, and named ongoing deliverables like evals and monitoring. The template below is written for agency retainers, followed by the six clauses to add and a simple way to price the monthly fee so it stays profitable.
What a retainer agreement actually is (and what generic templates miss)
A retainer agreement reserves a defined amount of your team's time each month in exchange for a recurring fee. The client gets guaranteed access and a predictable bill; you get predictable revenue and a smoother pipeline. The legal definition is narrow, retained capacity paid for in advance, and the Legal Information Institute's entry on retainer agreements frames it around reserving future availability rather than paying for a finished deliverable.
That framing is the problem for software agencies. Almost every template on the first page of Google in 2026 is a lawyer's retainer or a generic consulting retainer. They handle fees and termination well, and practitioner guides like Mercury's consulting retainer walkthrough cover the commercial basics cleanly. What none of them handle is the way an AI app build accrues variable cost and ongoing operational work after launch. A retainer that ignores model spend and monitoring duties will quietly lose you money by month three.
So use a solid base, then bolt on the clauses below.
The retainer agreement template (2026)
Copy this, replace every bracketed field, and have your own counsel review it before first use. It is a starting structure, not legal advice.
RECURRING SERVICES RETAINER AGREEMENT
Parties: [Agency legal name] ("Provider") and [Client legal name] ("Client").
Effective date: [Month D, YYYY]. Initial term: [6] months, then month to month.
1. Retained capacity. Provider reserves [40] hours of engineering and
design capacity per calendar month for Client ("the Hour Bank").
2. Fee. Client pays [$6,000] per month, invoiced on the [1st], due net [15].
The fee is payable whether or not the full Hour Bank is used, subject to
the rollover terms in Section 3.
3. Rollover. Unused hours roll into the next month up to a cap of [20%] of
the monthly Hour Bank. Hours above the cap expire. Rolled hours do not
carry past the end of the then-current term.
4. Overage. Work beyond the Hour Bank is billed at [$175] per hour, approved
in writing in advance, and invoiced with the next monthly cycle.
5. Pass-through costs. Third-party model, API, and infrastructure charges
incurred on Client's behalf are billed at cost plus [0%], itemized monthly.
Client owns the underlying vendor accounts where practical.
6. Scope. Covered work is defined in the attached Service Schedule. Anything
outside it is handled through a written change request.
7. Ownership. On payment, Client owns all deliverables produced under this
retainer. Provider retains its pre-existing tools and generic know-how.
8. Pause and termination. Either party may terminate on [30] days' written
notice. Either party may pause the retainer once per term for up to
[30] days with [14] days' notice; paused months are not invoiced.
9. Priority and response. Provider will acknowledge new requests within
[1] business day. The retainer does not guarantee same-day delivery.
Signed: ____________________ Date: __________
Signed: ____________________ Date: __________
The template is deliberately short. The value is not in the boilerplate, it is in the six clauses most agencies leave vague.
The six clauses generic retainer templates leave out
Hour bank with a rollover cap
Sell capacity, not "unlimited support." An uncapped rollover turns unused months into a growing liability that a client can cash in all at once, usually at your busiest moment. A rollover cap of 10 to 20 percent keeps the retainer flexible without letting it compound into a quarter of free work.
AI model and infrastructure cost pass-through
This is the clause that separates a 2026 software retainer from a 2019 one. AI app work carries variable inference, storage, and API cost that moves with usage. Bill it as an explicit itemized pass-through, at cost, and where you can, keep the vendor accounts in the client's name. Absorbing model spend inside a flat fee is how a healthy retainer turns unprofitable the month traffic doubles.
Named ongoing deliverables
Consulting retainers sell "advice." A software retainer should sell specific recurring outputs: monitoring and uptime review, a monthly eval run against a fixed test set, dependency and security updates, and a short written report. Naming the deliverables protects you from the "what did we even pay for" conversation and gives the client something concrete to value.
Rate escalation
A twelve-month retainer at last year's rate is a slow discount. Add a simple annual escalation, for example the greater of a fixed percentage or a published inflation index, so a long relationship does not erode your margin.
Pause and kill terms
Clients have slow months. A single allowed pause per term, with notice, keeps them from cancelling outright, and a clean termination notice period protects your staffing. Write both down; a retainer with no exit is a retainer clients resent.
Utilization-honest pricing
The retainer fee should reflect the capacity you can actually deliver, not raw seat-time. That is a pricing decision, covered next.
How to price the monthly fee
Most agencies price a retainer as committed hours times a blended rate and stop there. The number that decides whether it is profitable is utilization: how many of the hours you sell turn into focused delivered work after meetings, context switching, and admin.
Scroll to see more
| Input | Example |
|---|---|
| Committed Hour Bank | 40 hours/month |
| Blended rate | $150/hour |
| Sticker fee | $6,000/month |
| Realistic delivered hours | 32 of 40 (80%) |
| True delivered rate | $6,000 / 32 = $187/hour |
| Overage rate | $175/hour (above the bank) |
Two rules follow from the table. First, price on delivered capacity, not the sticker Hour Bank, or your effective rate silently drops every month the client pulls a full load. Second, set the overage rate above the blended rate, not below it, so heavy months are compensated rather than subsidized. If you offer a prepay discount for a multi-month commitment, fund it from the rollover cap, not from the delivered rate. For a fuller view of where retainer rates sit by agency archetype, see our 2026 agency rate-card benchmarks.
Where the retainer fits in your contract stack
A retainer is one document in a stack, and it works best when the others carry their share of the load. The master service agreement governs the whole relationship and holds the liability, IP, and confidentiality terms, so the retainer can stay short. The statement of work defines any fixed-scope project that sits alongside the retainer. When retained work grows into something larger, it graduates into its own statement of work rather than swelling the Hour Bank. Keep the governing terms in the MSA, the recurring capacity in the retainer, and the fixed projects in their own SoWs, and each document stays readable.
If you take one thing from this
Sell delivered capacity with a rollover cap and an explicit cost pass-through, not "unlimited support" at a flat fee. The retainers that stay profitable are the ones where the client can see exactly what recurs and you can see exactly what it costs you.
Written by
Helena MarshHelena Marsh writes AgencyOps at DevShopVault, covering packaging, pricing, and the operating contracts that keep fixed-price software work profitable.
Frequently asked questions
What is a retainer agreement template?
A retainer agreement template is a reusable contract that sells a client a fixed block of recurring monthly capacity at an agreed fee, with the scope, rollover rules, and exit terms written down before the work begins. For a software agency it reserves your team's time each month rather than paying for a single finished deliverable.
What should a software agency retainer include that a generic template does not?
Add an hour bank with a rollover cap, an explicit pass-through for model and infrastructure costs billed at cost, named ongoing deliverables such as monitoring and monthly eval runs, an annual rate escalation, and clear pause and termination terms. Generic legal or consulting templates skip all of these and quietly lose money on AI app work.
How do you price a monthly retainer fee?
Start with committed hours times a blended rate, then price on delivered capacity rather than raw seat-time. If you sell 40 hours at $150 but realistically deliver 32 focused hours, your true delivered rate is about $187 per hour. Set the overage rate above the blended rate and fund any prepay discount from the rollover cap, not the delivered rate.
Should unused retainer hours roll over?
Yes, but with a cap. Rolling unused hours forward up to 10 to 20 percent of the monthly bank keeps the retainer flexible. An uncapped rollover becomes a growing liability a client can cash in all at once, usually during your busiest month.
How is a retainer different from a statement of work?
A retainer reserves recurring monthly capacity for ongoing work, while a statement of work defines a specific fixed-scope project with a defined deliverable and end date. Keep the governing terms in a master service agreement, recurring capacity in the retainer, and fixed projects in their own statements of work.
Who pays for AI model and API costs on a retainer?
Write a pass-through clause. Third-party model, API, and infrastructure charges incurred on the client's behalf should be billed at cost and itemized monthly, and where practical the vendor accounts should sit in the client's name. Absorbing variable model spend inside a flat fee is how a retainer turns unprofitable when usage grows.
Related entries
Master Service Agreement Template for Software and AI Agencies (2026)
A master service agreement template built for software and AI-app agencies, with the five AI-native clauses most generic MSAs still miss, and how it pairs with your statement of work.
Statement of Work Template (2026): A Free, Agency-Ready SoW
A complete, copy-paste statement of work template, plus the five AI-native clauses generic SoW templates leave out: platform, IP and source ownership, migration, capped revision rounds, and hosting plus data residency.
AI Agency Pricing Benchmarks 2026: Rate Cards by Archetype
June 2026 rate cards for AI agency builds split by archetype: solo operator, 3-person team, 8-person team, 20-plus-person studio. Discovery, build, retainer, audit, and white-label bands per archetype, plus a worked example on what to charge for a 6-hour AI-agent build.


