Neither model is sacred to us. What we insist on is a contract that reflects how much you really know.
Once discovery has pinned down a clear scope, a fixed price is workable. In our fixed-price works contract, the statement of work lays out the result we are committing to, the tests for acceptance and what the client has to provide.
While the scope is still taking shape, any fixed price would be a guess wearing the costume of a guarantee. In that situation we work on a weekly retainer. Cancel in any week you like, and if we did not earn the final week, you get it back. That arrangement holds us to account every week, rather than letting us shelter behind a figure no one could honestly defend.
Keep price, acceptance and change control apart
Under a fixed-price contract, the commitment is to a defined result. The statement of work (SoW) sets out that result and the evidence needed to accept it. Agree how the price is set as its own matter. Where a quote rests on an estimate, find out whether the estimate is expressly guaranteed or offered with no guarantee, which number is binding on both sides and which assumptions would let it be reopened. How an overrun estimate is treated depends on the law that governs your contract, so look at that before signing.
As an example, set a fixed price for an import that has to pass a signed-off test file, with credentials and sample data due by a named date. Place an undocumented legacy connector in its own time-and-materials phase with a cap. Agree the evidence that closes that phase, and require fresh written approval before the cap goes up. Spell out who rules on whether a failed test is an in-scope defect or a change to the signed scope.