Skip to main content

Hiring process

AI engineer vs ML engineer vs data scientist: which one do you need?

By Himanshu Ramchandani · Updated

Short answer

An AI engineer builds products on top of existing models, such as a support assistant that answers from your documents or an agent that updates your systems. An ML engineer trains, tunes and deploys models on your own data, such as a fraud model or a recommendation system, and a data scientist analyzes data to answer questions and decide what's worth building. If your problem is "make our product or our team do something useful with an LLM", you most likely need an AI engineer, and the titles are used loosely, so read the work in the job description, not the title.

Working definitions#

There's no official definition that separates these three roles, and the US Bureau of Labor Statistics doesn't have a separate occupation for AI engineers or ML engineers, so these are the working definitions we use.

AI engineer ML engineer Data scientist
Starts from A product or process problem A prediction problem and a dataset A business question and data
Typical work RAG, agents, tool calling, evaluation, deployment of LLM features Feature pipelines, training, tuning, model serving, monitoring for drift Analysis, experiments, statistics, dashboards, early models
Models Mostly existing models through APIs or open weights Models trained on your data Statistical models and prototypes
Hard part Wrong answers, cost, latency, safety, integration Data quality, training, serving at scale Asking the right question, sound conclusions
Ships Features users interact with Models other systems call Findings and recommendations

What the market data says#

BLS reports a median annual wage of $120,230 for data scientists in May 2025, with employment projected to grow 35% from 2025 to 2035, much faster than average.

In the 2025 Stack Overflow Developer Survey, US respondents who described themselves as AI/ML engineers reported median total compensation of $189,500, against $145,000 for data scientists, which is self-reported and covers salary, bonuses and perks.

These come from different sources measuring different things, so use them as a rough picture, and see what AI engineers cost to hire for more detail.

Which one for which problem#

Your problem Usually
An assistant that answers questions from internal documents AI engineer
Extracting fields from documents into a system AI engineer
An agent that takes actions across your tools AI engineer
Predicting churn, fraud or demand from your own data ML engineer
Recommendations from user behavior ML engineer
Fine-tuning a model on many examples you own ML engineer, or a senior AI engineer
Understanding why a metric dropped, or which customers to target Data scientist
Deciding which AI projects are worth doing Data scientist or a senior AI engineer, with the business owner

Titles are used loosely#

Many job posts ask one person to do the data engineering, the ML engineering and the AI engineering together, and many people with the title "AI engineer" spend most of their time on data pipelines.

That's why the job description should describe the problem and the first 6 months of work, and why the interview should test that work, not the title.

When you need more than one#

If your AI feature depends on a model trained on your data, such as a search ranking model behind a chat assistant, you'll eventually need both an ML engineer and an AI engineer.

If you're not sure what's worth building yet, a data scientist or a senior AI engineer can look at the data and the processes first.

For a first hire on an LLM product, an AI engineer with some data engineering experience covers the most ground.

From the floor#

When a builder asked me whether these roles differ, I said that in practice companies often merge them and expect people to know all of them, because they're not sure themselves where the ML engineer's work ends and the data scientist's work begins.

I described it as: the data scientist researches a set of data and decides how to move forward, the ML engineer builds and deploys the models, and the AI engineer comes in when an LLM integration is needed.

FAQ#

Can an ML engineer do AI engineering work?

Often, yes, especially the deployment and evaluation parts.

Check whether they've built an LLM product end to end, because RAG, agents and prompt evaluation are a different set of problems from training models.

Can a software engineer become an AI engineer?

Many of the strongest AI engineers are backend engineers who moved into AI work in the last few years, and their production experience is the harder part to teach.

Look for at least one AI system they took to real users.

Do we need a PhD for any of these?

Not for building products on existing models.

Research roles that create new models are different, and those are a fourth role, usually called research scientist.

Next step#

Need an AI engineer for an LLM product? Start a search.

Tell us who you need.

Profiles in your inbox within 48 hours. You pay only when you hire.

Start a search