# 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.

Published 2026-11-07 by BeeldoLabs Team · https://beeldolabs.com/blog/api-vs-fine-tuning

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.**

<Callout title="Rule of thumb">
If you can't yet measure how accurate the workflow is, you're not ready to fine-tune. Build the evaluation set first; it tells you whether an API is good enough.
</Callout>

## 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](/blog/api-key-vs-fine-tuned-model-endpoint).

## A practical sequence

1. **Map the workflow** and collect a few hundred real examples.
2. **Build an evaluation set** with the correct outputs.
3. **Baseline with an API** and measure accuracy, cost per task, and latency.
4. **Add retrieval** if failures come from missing knowledge.
5. **Fine-tune** if failures come from inconsistent judgement or format, or if cost and latency at your volume justify it.
6. **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](/blog/llm-fine-tuning-services)
- [Fine-tuning infrastructure: hosted APIs vs self-hosted](/blog/fine-tuning-infrastructure-api)
- [Our LLM fine-tuning service](/services/llm-fine-tuning)

<CTA text="Not sure which approach fits your workflow?" />
