Data engineer vs data scientist: place each role on the path data travels
By Christophe Paka · Facts checked on 30 October 2026
You want an AI feature in your product, so you post for a data scientist. A smart hire joins. Months later they are still cleaning tables, because nobody built the pipelines. Then they leave.
The four data titles sound alike, and the wrong order wastes a hire. This post puts data engineer vs data scientist, ML engineer and AI engineer on one line, from raw data to a product feature. It also shows the dashed line most startups never need to cross.

Use this diagram on your site
Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.
How to read this figure
Start at raw data, top left. Raw data is events, logs and tables. Nothing useful happens to it until someone moves it and cleans it. That is the first box on the training path, and every role to its right depends on it.
Read the training path left to right. A data engineer builds the pipelines: automatic paths that collect and clean data. A data scientist analyses that data and builds models to answer business questions. An ML engineer puts those models into production and keeps them working. Each one needs the box before it.
Find the dashed API line. The API line is the book's line between training your own models and renting them. Above it, you train. Below it, you pay to use a model someone else trained, such as GPT or Claude, with no training needed.
Follow the API path below the line. The AI engineer builds product features on top of a rented model. The work has four parts: RAG (finding the right documents), orchestration (the code that chains the steps), evals (tests of the answers), and control of cost and delay.
Check the footer for scarcity. Each data role is a thin slice of the developer pool: 1.7% for data engineers, 1.4% for AI or ML engineers and 1.2% for data scientists. Few people will answer a post, so plan to reach out. The role map shows every floor side by side.
Key takeaways
- Hire a data engineer before a data scientist; models need clean data to stand on.
- For a chatbot or AI feature on rented models, hire an AI engineer, not a data scientist.
- Ask every data candidate: did you build the pipeline, the model, or the system that served it?
Worked example: three needs, three first hires
The book turns the figure into a decision. Start from what you want, not from the title you have heard most.
- You want dashboards and numbers you can trust. Hire a data engineer first.
- You want predictions from your own data. Hire a data scientist, then an ML engineer to ship the model.
- You want a support assistant that answers customers from your help pages. Hire an AI engineer: retrieval finds the refund page, and the model writes the reply.
- Place the candidate with one question: "In your last project, did you build the pipeline, the model, or the system that served it?"
Result: Most startups land on the third line. Their need sits below the API line, so the first data hire is an AI engineer who rents a model, not a team that trains one.
Questions readers ask
What is the difference between a data engineer and a data scientist?
A data engineer builds the pipelines that collect and clean data. A data scientist analyses that data and builds models to answer business questions. The data scientist needs the pipelines first. Hired where none exist, they do the plumbing they did not sign up for, then leave.
What does an AI engineer do if they never train a model?
They build product features on top of rented models. They find the right documents for the model (RAG), chain the steps (orchestration), test the answers (evals), and keep cost and delay down. The AI researcher Andrej Karpathy put it this way: "one can be quite successful in this role without ever training anything."
How do I tell a real AI engineer from someone who only writes prompts?
Ask three things. Walk me through an eval you built: what did it catch? How did you control cost and delay in production? When would you fine tune instead of using RAG? A real engineer gives a concrete story with a number. A prompt tinkerer goes quiet.
Sources: BLS: data scientists (Occupational Outlook Handbook); swyx: The Rise of the AI Engineer.
This figure is from Tech Hiring Made Crystal Clear, chapter 4.
The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.
Get the book


