What's the difference between fine-tuning and prompt engineering, and when do I use each?
Prompt engineering shapes model behavior through the input text — zero cost, instant iteration, works within a single API call. Fine-tuning updates the model's actual weights on a narrower dataset — it costs compute and data, but bakes behavior in permanently. Reach for prompting first; fine-tune only when prompting hits a ceiling you've actually measured.
Answered in
20 AI Concepts Every Developer Should Actually UnderstandA layered glossary of the 20 AI concepts developers keep running into — grouped by dependency, not alphabetized, so each term builds on the one before it.
Read the full analysisOther questions this article answers
More learning & thinking with ai questions
- What's the actual difference between machine learning and deep learning?
- Do I need to understand neural networks to use LLMs well?
- What makes something an AI agent instead of just an LLM call?
- Why do vector databases matter for AI applications?
- Is machine learning the same thing as AI?
- Is deep learning always better than other machine learning approaches?
- Is ChatGPT machine learning, deep learning, or generative AI?
- What makes generative AI different from other deep learning applications?
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the Learning & Thinking with AI beat.