An AI engineer builds products on models that already exist. The work is the model API, retrieval when the answer has to come from your documents, the agent, tool calling, the evals that gate a change, and the application code and production concerns around them. An ML engineer owns the models themselves: the data and feature pipelines, training and fine-tuning, the evaluation harness, serving, monitoring, and retraining. Hire the first for a product around a model you can call. Hire the second for a model you have to make.
AI engineer vs ML engineer
| AI engineer | ML engineer | |
|---|---|---|
| What they own | The product: APIs, retrieval, agents, tools, evals, failure | The model: data, features, training, fine-tuning, eval harness, serving, monitoring, retraining |
| Typical stack | TypeScript or Python, React, Node.js, PostgreSQL, a hosted model API, tool calling | Python, PyTorch or similar, a feature pipeline, experiment tracking, a serving path |
| Deliverables | A feature or agent in production, an eval set, logs, repo and keys in your accounts | A repeatable training run, a score on held-out data, a served endpoint, a retraining path |
| How success is measured | The task completes on real inputs, refusals hold, failures are visible, cost per task is known | The named metric holds on data the model did not train on, including after serving |
| When you hire them | A hosted model can do the job if someone builds the system around it | A hosted model is the wrong one, and you have data that can teach a better one |
A chatbot with tools is not a training pipeline, and a training pipeline is not a product.
What does an AI engineer do?
They take a model someone else trained and make it do a job in a product you run.
The model gets a bounded prompt. Retrieval runs when the answer is in your documents. A booking, a row, or a refund goes through a tool with a schema and a retry that will not write twice. Timeouts, a human handoff, keys, and logs are the rest of the job.
I ship this with TypeScript, React, Node.js, and PostgreSQL, calling a hosted model. Claient answers WhatsApp for a business: it qualifies the lead, books in the chat, and hands over to a person when it should. The model is called. It is not trained here.
Keep one loop unless a second agent has earned its own context (single agent vs multi-agent). A prompt change is done when the cases that must pass, and the cases that must refuse, still do. What the bill depends on is in AI agent development cost.
I do this from Barcelona. The offer is AI engineer in Barcelona. How to vet the person is Hire an AI engineer.
What does an ML engineer do?
They own the model as something you build, serve, and keep honest.
Which fields exist at prediction time, which label leaked from the future, and which users sit on both sides of the split. Then a training or fine-tuning run someone else can repeat: data snapshot, code, config, metric. Serving adds latency, a rollback when the new weights are worse, and a watch for inputs that no longer look like training. Retraining uses that same harness.
The metric is named before the run, on data the model did not train on. No metric, no ML project.
Fine-tuning fits when you trust the labels and prompting plus retrieval will not close the gap. Skip it when a hosted model already does the task. Wrapping that API in a screen is a different hire.
Which one should a startup hire first?
Hire an AI engineer first when a model you can already call does the task on real inputs. The gap is the product. An ML engineer hired to wrap an API has nothing to train.
Hire an ML engineer first when the prediction is the company: a ranker, a classifier, or a forecast that your labels can teach and prompting cannot. Someone else still puts it in front of a user. Do not put both careers in the first seat.
Private documents are not a reason to train. General skill, your knowledge: retrieval, still the AI engineer. Training starts when the skill is in the labels.
Agency, one senior person, or a payroll seat is the next decision, and a different one: AI agency vs AI engineer.
- A model you already call passes real inputs, including refusals: hire an AI engineer.
- It fails because the knowledge is private: retrieval, same hire. It fails because the skill is in your labels: ML engineer.
- No labels yet: you have a labeling project, not a training hire.
- After launch, one owner maintains the product. The other maintains the data, the metric, and retraining.
- Need both: hire whoever unblocks a user. The other is a later seat, or a bounded piece of work.
If the fit is a product on a model you call, with an eval set and a handover, that is the work I take on.
Can one person do both?
On a small system, yes. One person, a small classifier, a screen, no one else to hand it to.
Both become real jobs once the model needs a pipeline and a retraining path, and the product needs tools, a user, and an incident channel. One person keeps both only by neglecting one. A permanent "cover AI" seat that asks for papers and a production chatbot is two hires and no manager.
AI engineer vs ML engineer vs data scientist
A data scientist produces an answer: what changed, which segment, whether you should bet on it. A prototype model can be part of the analysis. It is not a served model, and it is not a product.
- A decision from data: data scientist.
- A model that stays up and gets retrained: ML engineer.
- A product that calls a model and writes into your systems: AI engineer.
Titles drift. A data scientist on call for a served ranker is doing the ML job. An ML engineer whose week is prompts and an index is doing the AI job.
How to tell which one a job spec actually wants
Mark each line as product, model, or analysis. The deliverable is the job. Check the title last.
For a first pass, the AI job spec decoder scores this kind of signal in the browser. It does not send or store the text. A close score comes back as mixed, and it raises the red flags lower on this page.
AI engineer lines:
- "Ship an assistant on our docs, with tool calls into the billing API, and a refusal path."
- "Own prompt changes behind an eval set: timeouts, duplicate writes, a human handoff."
- "TypeScript, React, Node.js, PostgreSQL, and something you have shipped on a hosted model API."
ML engineer lines:
- "Own the ranker's training pipeline, from features available at request time to a served endpoint."
- "Fine-tune on our labeled set. Report a metric on a split the model did not train on, and say when you would not fine-tune."
- "Watch quality after release and own retraining. An unrepeatable notebook is not the deliverable."
A data scientist line, so you do not file it under either engineer: "Explain why conversion moved, and what you would check before we change the model."
What the interview should test
AI engineer, in the failure, not on a whiteboard:
- A tool writes a row and dies halfway. What retries without a double booking?
- After a prompt change, which cases must pass, and which failure blocks the ship?
- A question the documents do not answer: a refusal or a handoff, not a guess.
- Where the API key lives, and what is logged so a bad day shows up tomorrow.
- A pull request a coding agent opened. What they block is the test. The bar I use is how to review AI-generated code.
ML engineer, not an architecture recital:
- A label, or a future value, hidden in the features. They find the leak before the architecture.
- Offline metric up, live metric flat. They check the split, the served features, and the live population.
- When they would not fine-tune: the hosted model is already good enough, or the labels are not trustworthy.
- A months-old run, repeated from a data snapshot, the code, the config, and the eval.
- The week after serving: what they watch, and who gets told.
Red flags
- Title and tools disagree. "AI engineer" means papers, CUDA, and training from scratch, with no product. "ML engineer" means a chatbot and a vector index, with no dataset and no metric.
- Three jobs, one seat. Research, a training platform, the UI, and agent on-call, all required.
- Fine-tune first. A custom model before a hosted model has faced a written eval.
- No metric. A demand to be state of the art, and no split named.
- A collage. PyTorch, React, Kubernetes, and prompts all required, none of them the job.
- A slide as the deliverable. A diagram and a demo, where you needed a system.
FAQ
What is the difference between an AI engineer and an ML engineer?
An AI engineer builds the product on a model that already exists: the API, retrieval, agents, tool calling, evals, and the application code around them. An ML engineer owns the model: data and feature pipelines, training and fine-tuning, the evaluation harness, serving, monitoring, and retraining.
Should a startup hire an AI engineer or an ML engineer first?
Hire an AI engineer first when a model you can already call does the task and the missing work is the product. Hire an ML engineer first when the prediction is the company, and your labels can teach what a hosted model cannot. Private documents plus a general skill are retrieval, still the AI engineer.
Can one person be both an AI engineer and an ML engineer?
On a small system, for a while, yes. It stops working when the training loop and the product are both full jobs. A permanent seat that demands both is two hires written as one.
How do I tell which role a job description actually wants?
Read the deliverable, not the title. Tools, evals, product code, and a hosted API are an AI engineer. Features, training, a served model, and retraining are an ML engineer. Both lists, and no primary deliverable, means the spec has not chosen.
About the author
I'm Joan Comadran, an industrial engineer (UPC, Tecnologías Industriales) turned AI engineer and full-stack developer in Barcelona. I am a problem-solving engineer who ships webs 10x faster with AI, plus apps, agents and AI tools. I built and run Claient; Sogas Mascaró uses it to book winery visits and a meeting with the CEO. That is the work.
Originally published on joancomadran.dev. I'm Joan, an AI engineer in Barcelona. Work with me.
Top comments (0)