Insight
API or fine-tuned model? How to choose for a business workflow
A practical framework for choosing between frontier model APIs, retrieval (RAG), and fine-tuning for a business workflow, and why most teams start with an API.
By BeeldoLabs Team · · Updated
When companies ask us to "fine-tune a model" for them, the honest first answer is usually: maybe later. Fine-tuning is a powerful tool, and we use it, but it's rarely where a workflow should start.
This is the framework we use to decide.
The short answer
Start with a frontier model API. Add retrieval when the task depends on your knowledge. Fine-tune when the numbers tell you to.
Option 1: Frontier model APIs
Models from providers like OpenAI, Anthropic, and Google are remarkably capable out of the box. With good prompts, structured outputs, and tool access, they handle most classification, extraction, drafting, and reasoning tasks well.
Choose an API when:
- You need to ship quickly and learn from real usage
- The task is broad or changes often
- Volume is low to moderate, so per-call cost doesn't dominate
- Your data-processing terms allow cloud processing
Watch out for: cost growing linearly with volume, latency on long prompts, and dependence on a single vendor's model behaviour.
Option 2: Retrieval (RAG) and open-weight models
When the right answer depends on your information (policies, product data, past tickets, contracts), the model needs to look it up, not memorise it. Retrieval-augmented generation grounds answers in your documents and can cite sources.
Choose retrieval when:
- Answers must come from company knowledge that changes over time
- Users need citations they can verify
- Data must stay in your environment (pair it with an open-weight model you host)
Fine-tuning is a poor way to teach a model facts. Retrieval is almost always the better fit for knowledge.
Option 3: Fine-tuned and custom models
Fine-tuning adapts a model to how to do a specific task: the decisions to make, the format to follow, the edge cases to handle. Done well, a small fine-tuned model can match a much larger general model on a narrow task, at a fraction of the cost and latency.
Fine-tuning earns its place when:
| Signal | Why it matters |
|---|---|
| High volume, narrow task | Per-task savings compound quickly |
| Strict latency targets | Smaller models respond faster |
| Consistent decisions needed | Training on your labelled history aligns the model with your judgement |
| Data can't leave your environment | You can host the model yourself |
| Unusual inputs (e.g. specialised documents or images) | A custom vision-language model can outperform general ones |
We've used fine-tuning to help models make better task-specific decisions, and built a custom vision-language model for a client whose documents general models handled poorly. In both cases the decision came after an API-based baseline showed where the gap was.
API key or fine-tuned endpoint: what changes in your code?
Less than you might think. An API key is your credential; a fine-tuned model endpoint is the model ID (or URL, if you self-host) of the model trained on your data. With hosted fine-tuning you usually keep the same key and change only the model name, so switching between a base model and a tuned one is a config change. We explain the details in API key vs fine-tuned model endpoint.
A practical sequence
- Map the workflow and collect a few hundred real examples.
- Build an evaluation set with the correct outputs.
- Baseline with an API and measure accuracy, cost per task, and latency.
- Add retrieval if failures come from missing knowledge.
- Fine-tune if failures come from inconsistent judgement or format, or if cost and latency at your volume justify it.
- Keep humans in the loop for low-confidence cases at every stage.
The bottom line
The goal isn't to use the most sophisticated model. It's to get a workflow that is accurate, affordable, and maintainable. Most of the time that starts with an API, and some of the time it ends with a model you own.
Further reading
- LLM fine-tuning services: scope, cost, and process
- Fine-tuning infrastructure: hosted APIs vs self-hosted
- Our LLM fine-tuning service
Not sure which approach fits your workflow?
Discuss a workflowFrequently asked questions
Should I fine-tune a model or use an API?
Start with an API and measure accuracy, cost, and latency on real examples. Add retrieval if failures come from missing knowledge. Fine-tune when failures come from inconsistent judgement or format, or when cost and latency at your volume justify a smaller custom model.
What's the difference between an API key and a fine-tuned model endpoint?
An API key is the credential that authenticates and bills your requests. A fine-tuned model endpoint is the model ID or URL of a model trained on your data. On hosted platforms you typically call the fine-tuned model with the same API key, changing only the model name.
Is fine-tuning a good way to teach a model company knowledge?
No. Fine-tuning teaches a model how to do a task. For facts that change, such as policies, product data, or documents, retrieval (RAG) is more accurate and easier to keep current.
