Medical device firmware development typically costs $50K–$250K+ from architecture through verification, driven by IEC 62304 software class, IEC 60601-1 requirements, and the V&V evidence burden more than by lines of code. A short fixed-price architecture diagnostic is the cheapest way to pin the number.