Home › Frontier AI roadmaps › LLM engineer
Frontier AI roadmaps · LLM engineer
LLM engineer: the roadmap
You build products on top of language models and adapt them to a task: prompts, tools, retrieval, evaluation, fine-tuning. This page gives you eight small steps, each with a clear finish line, and five small projects. Each project ends in one number you can publish.
Week 0 to 4
First, the base every role shares
Do these five things first. They are the same for all four roles, so nothing you do here is wasted if you change your mind.
| Step | What to do | You are done when |
|---|---|---|
| 1. Python you can read | Write ten small programs: read a file, count words, call a web API, sort a list of records. Use plain Python, no framework. | You can write a loop, a function and a dictionary without looking anything up. |
| 2. Git and GitHub | Put every small program in one repository. Commit each change with a one-line message. | A stranger can open your repository and run something from the README. |
| 3. Tensors and PyTorch basics | Make a tensor, multiply two of them, take a gradient of one number. Do the first official PyTorch tutorial. | You can explain in two sentences what a gradient is for. |
| 4. Run a model on your own machine | Install a local runner (Ollama or llama.cpp) and ask a small open model ten questions. | You know the model's size on disk and how many answers per minute it gives. |
| 5. Keep a measurement notebook | One file where every experiment gets: the question, the setup, the number, and what surprised you. | Your last three experiments are written down so someone else could repeat them. |
The roadmap
Eight small steps
The eight steps in order. Do one at a time; each one is small enough for a weekend or two.
1. Call a model and read the answer
Send one request to a model API and print the reply. Change temperature and max tokens, and note what changes.
You are done when: You can explain what temperature does, and what happens when max tokens is too small.
2. Count tokens
Take five sentences in English and the same five in Hindi or Tamil. Count tokens for each with a tokenizer. Make a small table.
You are done when: You know why the same sentence costs more in some languages.
3. Ask for structured output and call a tool
Make the model return JSON that matches a schema. Then let it call one function you wrote, such as a weather lookup.
You are done when: Your code receives valid JSON 30 times out of 30, or you know exactly why not.
4. Write a test set before you tune the prompt
Write 30 questions with the answers you expect. Run them, record the pass rate, change the prompt, run again.
You are done when: You can show a before and after pass rate, and list the cases that still fail.
5. Add retrieval
Split ten documents into chunks, turn each into a vector, fetch the best five for a question, and answer with a quote from them.
You are done when: On 20 questions you can say how often the right chunk was in the top five.
6. Fine-tune a small open model
Use LoRA (training a small add-on instead of the whole model) on a narrow task with a few hundred examples.
You are done when: You have a held-out set where the tuned model beats the base model, or you can say why it did not.
7. Learn what preference tuning does
Read a plain explanation of DPO (training on pairs of better and worse answers). Build ten pairs for your task and train once.
You are done when: You can say when preference tuning helps and when better data would help more.
8. Ship it with a cost per answer
Put your system behind a small web API. Log tokens, time and price for every call, and add a cache.
You are done when: You can state the cost of 1,000 answers and what makes it go up.
Small projects
Five projects, each ending in a number
Keep each project small. Put the code and data in a public repository and write a one-page note on what you found. Where a project has code that can be tested, write the tests as one table of inputs and expected results, with one loop that runs every row. That keeps tests short and easy to extend.
L1. Token tax table
- You build
- A table of tokens per sentence for 5 languages across 3 tokenizers.
- You learn
- How tokenizers split text, and why some languages cost more.
- Number you publish
- Tokens per sentence, by language and tokenizer.
L2. A 30-case test for one prompt
- You build
- A small test set and a script that scores a prompt and prints a pass rate.
- You learn
- Testing before tuning; how prompts change results.
- Number you publish
- Pass rate before and after your best prompt.
L3. Ask my notes
- You build
- A question-answering tool over your own notes or a public document set, with quoted sources.
- You learn
- Chunking, embeddings, retrieval, and where answers go wrong.
- Number you publish
- Share of questions where the right chunk was retrieved.
L4. A small tuned model
- You build
- A LoRA fine-tune of a small open model on one narrow task.
- You learn
- Data preparation, training, and honest before and after testing.
- Number you publish
- Held-out score, base model versus tuned model.
L5. Cost per answer dashboard
- You build
- A log of tokens and price for every call, with a weekly summary.
- You learn
- What really drives LLM cost; caching and model choice.
- Number you publish
- Cost per 1,000 answers before and after one change.
What to leave for later
Temptations, with a verdict
| Temptation | Verdict | Why |
|---|---|---|
| Learning every agent framework | Drop | Learn the loop once: model, tool, result, repeat. Frameworks are wrappers around it. |
| Fine-tuning first | Delay | Most problems are fixed by better prompts, retrieval and test cases. Fine-tune when a test shows the need. |
| Training a model from scratch | Delay | It teaches a lot but is not needed to build useful products. The researcher roadmap covers a tiny version. |
| Chasing the newest model each week | Drop | Keep one fixed test set. Swap the model, rerun the test, and decide by the number. |
FAQ
Questions people ask
What is the difference between an LLM engineer and an AI engineer?
On this site, the AI engineer builds whole agent systems: harness, guardrails, evaluation and governance. The LLM engineer goes deeper on the model side: tokens, retrieval, tuning and cost. The skills overlap a lot, and the first six steps are shared.
Do I need a GPU?
Not for steps 1 to 5. For fine-tuning a small model you can use a free notebook GPU or rent one by the hour. Free options have limits and change often, so check current terms.
How long does it take?
As a rule of thumb, two to four months at about eight hours a week to finish the eight steps. Your pace will differ.
Keep going
Related
Learning path: LLM engineeringClaude API simulatorWhich AI model for which jobEval Harness
Other roadmaps: Inference engineerAI safety and securityAI researcher Compare all four
Time spans, prices and difficulty on these pages are rules of thumb. The tools named were checked in November 2026 against a sample of job postings and engineering guides, which is a sample and not a survey. Tools change fast, so recheck each quarter.