All posts

ComparisonDevfab Team9 min read

Fixed-bid vs time-and-materials for AI-built projects: who carries the risk when agents write the code

Fixed bid vs time and materials for AI-built projects: who carries the risk, why hourly billing pays less as agents get faster, and how to price with real cost data.

Fixed-bid vs time-and-materials for AI-built projects: who carries the risk when agents write the code

Short answer: Choose fixed-bid when the scope can be written down clearly and you know your own delivery cost; AI makes this more attractive because faster delivery becomes your margin. Choose time-and-materials when the scope cannot be defined yet, such as discovery or a poorly understood legacy system, and cap it with a ceiling.

Fixed-bid vs time-and-materials: a signed scope with one total next to a running timesheet, with AI agents building in between

You run an agency, and AI agents now write much of your code. Your hourly invoices are shrinking while the output grows. That is the problem with billing for time when time is no longer the input.

The contract type decides who keeps the gain and who carries the risk. Pick the wrong one and you either give away your margin or eat an overrun you could not see coming.

In this comparison:

Each section ends with something you can put in your next proposal.

Definitions

The clearest public definitions come from US federal contracting rules, the Federal Acquisition Regulation (FAR). They are written for government buyers, but the logic applies to any client.

Fixed-bid. The FAR's firm fixed contract type sets "a price that is not subject to any adjustment on the basis of the contractor's cost experience." The vendor bears "maximum risk and full responsibility for all costs and resulting profit or loss" (FAR 16.202-1). It suits work bought "on the basis of reasonably definite functional or detailed specifications," when fair prices can be set "at the outset" (FAR 16.202-2).

Time-and-materials (T&M). The client pays for labor at fixed hourly rates that cover wages, overhead and profit, plus actual cost for materials. The FAR says it "may be used only when it is not possible at the time of placing the contract to estimate accurately" the extent or duration of the work. It requires a ceiling price "that the contractor exceeds at its own risk," and "appropriate Government surveillance of contractor performance," because the contract gives the vendor no profit incentive for cost control (FAR 16.601).

In agency terms, Upbase puts it simply. Under hourly billing, "you track time" and bill for it, and the client carries the risk. Under a fixed fee, "you scope the work, quote a flat price, and deliver the project regardless" of the effort, and the agency carries the risk (Upbase, Apr 5, 2026).

Fixed-bid and time-and-materials side by side

AspectFixed-bidTime-and-materials
Who carries cost riskThe vendorThe client
Price setUp front, for a defined scopeAs work happens, at agreed rates
NeedsReasonably definite specificationsA ceiling and close oversight
FitsClearly defined deliverablesOpen-ended work, research, discovery
Scope changesHandled by change ordersAbsorbed by billing more time
Vendor gets fasterVendor keeps the gainClient keeps the gain; vendor bills less
Main frictionArguments over what "done" meansClients scrutinize timesheets
Effect of AI agentsRaises margin if cost is knownShrinks invoices for the same output

Sources: FAR 16.202-1, FAR 16.202-2, FAR 16.601, Upbase. The last row is our reading of how these rules meet AI-built work, not a sourced finding.

Illustration: Fixed-bid, time-and-materials and AI-built work with cost logs compared on risk, scope, speed gains and evidence for the client

Why AI tips the balance

Upbase names the core issue with hourly billing: "Under hourly billing, getting better at your job means earning less." AI agents are the biggest "getting better" most agencies have seen. If a feature that once took a developer a long stretch now takes an agent run and a review, T&M passes nearly all of that gain to the client.

A fixed bid keeps the gain with the agency, but only if two things are true:

  1. You know your own delivery cost. Not a guess from the old hourly days, but what similar work actually cost with agents doing the building.
  2. The scope is definite. The FAR test is "reasonably definite functional or detailed specifications." With AI-built work, the cheapest way to get there is a prototype the client can click before you bid.

If either is missing, the fixed bid becomes a bet. Upbase notes that because the agency absorbs the risk, "you need higher margins to cover overruns on the projects that go sideways," and that fixed fees fail on "open-ended projects" and "R&D work."

A worked example: a wholesale order portal

A food distributor asks an agency for an ordering portal. Restaurants log in, see their negotiated prices, place repeat orders and track deliveries. Staff manage stock and credit limits.

  • The discovery slice is T&M. Nobody yet knows how pricing rules live in the distributor's old ERP. Bill discovery at agreed rates, with a ceiling, and deliver a written spec plus a clickable prototype.
  • The build is fixed-bid. With the spec and prototype approved, scope is definite: login, catalog with customer pricing, repeat orders, delivery tracking, staff admin. The agency bids one total and lists what a change order covers.
  • Support after launch is a retainer or T&M. New requests are open-ended again.

This hybrid is common because each phase has a different level of certainty. The contract follows the certainty.

When to choose fixed-bid

  • The scope is written and approved. Specs, acceptance criteria and a prototype the client has clicked through.
  • You have cost data from similar work. Past projects with logged delivery cost, not hourly estimates.
  • The client wants a single number. Public buyers and finance teams often need a total to approve.
  • You deliver faster with AI agents. A fixed bid lets you keep that gain instead of billing less.
  • You have a change-order process. Upbase warns that without one, scope shifts drain the project.

When to choose time-and-materials

  • The work cannot be estimated accurately yet. That is the FAR's own test for T&M.
  • Discovery, research or a legacy system nobody fully understands. Upbase lists open-ended projects and R&D work as poor fits for fixed fees.
  • The client wants to steer as you go. Priorities may change between releases.
  • Integration risk sits outside your control. Third-party APIs or an old ERP with unknown behavior.
  • You can report often. T&M needs close oversight, so share progress and spend regularly to keep trust.

Whichever you pick, put a ceiling on T&M and a change-order clause in every fixed bid. More on pricing in how agencies should price AI-built work and per-seat vs usage-based AI pricing.

Where an AI software factory fits

The hard part of a fixed bid is knowing your cost and pinning down scope. That is where the tooling matters. Coding agents automate the developer. Devfab automates the development lifecycle.

Scope. Devfab's Researcher works before the Planner. For the order portal, it maps terms such as customer-specific pricing and credit limits, best practices for B2B ordering, and similar products, then suggests a prototype. A person approves the plan, and that approved plan is a concrete document to attach to the bid.

Cost data. Devfab logs cost after each run, per task and per project. Over several projects, an agency builds a record of what work actually cost, which it can use when it sets its own bids. Devfab does not produce a quote; the bid and its terms are yours.

Evidence. The QA agent runs UI and flow tests, clicking a restaurant's journey from login to repeat order to delivery status, plus logic tests such as "an order over the credit limit never submits." Those results help settle what "done" means. When the client asks for a change, ChainFlow maps which functions and APIs depend on the part being changed, such as pricing feeding checkout, invoices and order confirmations, which helps you scope the change order honestly.

The code lives in the client's or your GitHub organization, and Deploy ships to the client's own server.

Honest limits: Devfab is in Beta, with a smaller community and fewer integrations than mature platforms. It needs a GitHub account and is not an editor for hands-on coding. It does not write your contract or your bid. See how to track AI cost per task and per project and what an AI software factory is.

FAQ

What is the difference between fixed-bid and time-and-materials?

In a fixed-bid contract, the vendor agrees one total for a defined scope and absorbs overruns. In time-and-materials, the client pays agreed rates for the time worked plus materials at cost, so the client carries the risk if the work grows. US federal rules allow time-and-materials only when the work cannot be estimated accurately up front.

Does AI make fixed-bid pricing more attractive for agencies?

Often, yes. Under hourly billing, an agency that delivers faster earns less. A fixed bid lets the agency keep the gain from AI agents, as long as it knows its own delivery cost well enough to bid and has a change-order process for scope changes.

When is time-and-materials still the better contract?

When the scope cannot be defined: discovery, research, legacy systems nobody fully understands, or a client who wants to steer week by week. Add a ceiling, as the US federal rules require for this contract type, and report progress often so the client keeps trust.

How do I protect a fixed bid from scope creep?

Write a tight scope with acceptance criteria, agree a change-order process before work starts, and get the client to approve a written plan. With AI-built work, a prototype the client can click through before the bid also narrows what 'done' means.

How does Devfab help an agency set a bid?

With evidence, not a quote. Devfab is in Beta. Cost is logged after each run, per task and per project, so you can see what past work actually cost you. The approved plan and QA results also make the scope concrete. The bid and its terms stay yours.

Bid on evidence, not old timesheets. Try Beta

Frequently asked questions

What is the difference between fixed-bid and time-and-materials?

In a fixed-bid contract, the vendor agrees one total for a defined scope and absorbs overruns. In time-and-materials, the client pays agreed rates for the time worked plus materials at cost, so the client carries the risk if the work grows. US federal rules allow time-and-materials only when the work cannot be estimated accurately up front.

Does AI make fixed-bid pricing more attractive for agencies?

Often, yes. Under hourly billing, an agency that delivers faster earns less. A fixed bid lets the agency keep the gain from AI agents, as long as it knows its own delivery cost well enough to bid and has a change-order process for scope changes.

When is time-and-materials still the better contract?

When the scope cannot be defined: discovery, research, legacy systems nobody fully understands, or a client who wants to steer week by week. Add a ceiling, as the US federal rules require for this contract type, and report progress often so the client keeps trust.

How do I protect a fixed bid from scope creep?

Write a tight scope with acceptance criteria, agree a change-order process before work starts, and get the client to approve a written plan. With AI-built work, a prototype the client can click through before the bid also narrows what 'done' means.

How does Devfab help an agency set a bid?

With evidence, not a quote. Devfab is in Beta. Cost is logged after each run, per task and per project, so you can see what past work actually cost you. The approved plan and QA results also make the scope concrete. The bid and its terms stay yours.