If AI Writes the Code, What Are Developers Actually Paid For?

There’s a feature in Aira Antivirus that looks pretty simple from the outside. The plugin finds suspicious code in a WordPress file, suggests a fix, and the user clicks Apply Fix. Sounds straightforward, right? Find the malicious PHP…

Avatar photoOleksii Strokan3 min read
If AI Writes the Code, What Are Developers Actually Paid For?

There’s a feature in Aira Antivirus that looks pretty simple from the outside. The plugin finds suspicious code in a WordPress file, suggests a fix, and the user clicks Apply Fix.

Sounds straightforward, right? Find the malicious PHP code, remove it, and save the file. Today, AI can certainly help with that, and do it surprisingly quickly.

But when I was building this feature, removing a few lines of code turned out to be the easiest part.

Imagine the plugin has analyzed a file and prepared a fix. The user opens the report, gets distracted by something else, and meanwhile the file changes. Maybe WordPress was updated, or another plugin modified it.

What happens if you apply the original fix to a file that’s no longer the same?

Or imagine the fix itself is correct, but something goes wrong while saving the file. Suddenly, the entire website could stop working.

That’s a particularly unpleasant outcome for a security plugin. Someone installs it to solve a problem, and ends up with a new one.

So Aira Antivirus needed more than just the code that removes malware. I had to implement file state verification before applying changes, backups, safe file writes, remediation history, and the ability to roll back an operation.

All of that for a single button in the interface.

So what are developers actually paid for?

Lately, I’ve been seeing more discussions about how tools like Claude, Codex, and other AI coding assistants should make software development significantly cheaper.

The reasoning makes sense. If a developer used to spend several days implementing a feature, and now AI helps them finish it in a couple of hours, why should the client pay the same amount?

It’s a fair question.

AI does make development faster. Some tasks genuinely take much less time now, and that can absolutely affect project pricing.

But I wouldn’t measure the value of a developer’s work solely by how long they spend writing code.

Let’s go back to Aira Antivirus.

AI can help implement a function that removes malicious code from a PHP file. But having working PHP code doesn’t automatically mean the feature is safe to release to users.

You need to test different scenarios, handle failures, make sure the fix doesn’t damage unrelated code, and provide a way to restore the original state.

And some of those scenarios might never appear during normal testing. That’s exactly why they need to be considered before something goes wrong.

Faster doesn’t always mean proportionally cheaper

I don’t think a developer should charge for ten hours of work if they genuinely completed it in two under an hourly billing agreement.

But the opposite approach doesn’t make much sense either: calculating the value of development based on how many lines of code someone typed manually.

In one project, AI might eliminate most of the routine implementation work. In another, the difficult part is the architecture, integrations, security, and verifying how the system behaves under different conditions.

Those are the things that influence the actual cost of delivering a feature.

For me, AI is a tool that helps me get to a working solution faster. But when estimating a project, I think it’s important to define what a finished result actually means.

A button that works in the interface? Or a feature that can safely run on a real website without risking data loss the first time something unexpected happens?

Those are very different amounts of work.

And when discussing pricing with a client, I’d rather focus on that distinction: what’s included in the scope, which safeguards are necessary, and what they’re actually getting.

Because sometimes writing the code is the easiest part of the entire job.

The project behind this example:
https://strokan.dev/projects/aira-antivirus/

Let's build together

Have a project or idea in mind?

From high-converting websites, landing pages, and speed optimization to custom plugins, APIs, and AI tools — I handle the engineering end-to-end.

  • Custom WordPress systems
  • Plugins, APIs and integrations
  • AI-powered products
  • Long-term support

Have a project or idea in mind?

    Tell me what you’d like to create and how you imagine it.

    I’ll reply within a few hours.