LIVE · Friday 4 December

Fine-Tuned Small Model or GPT-4o? A Buyer's Guide to Latency (TTFT, Tokens/sec) by Task and Serving Option

Which option is fastest depends on what your calls return and where the model runs. A guide by situation, with list prices, a worked latency budget and a checklist for testing on your own traffic.

By Thomas7 min read

A fine-tuned small model will be faster than GPT-4o if your calls are narrow and return short, fixed outputs (labels, routes, schema fields), and the controlled evidence puts the gain at about 3.4 times on such tasks. It will be only slightly faster if your latency goes to web calls, tool calls or long open-ended answers, because a faster model only shortens the model's share of the wait. The biggest speedups come from dedicated or self-hosted serving, not from a small model on a shared API. Since GPT-4o shuts down on January 14, 2027, the practical choice is between OpenAI's gpt-6-luna, a fine-tuned small model you run elsewhere, and a fine-tuned encoder for pure classification.

First, find out what your calls return

Microsoft's Azure OpenAI latency guide, updated May 14, 2026, reduces response time to one line: TTLT = TTFT + (TBT x tokens generated), the time to the first token plus the time between tokens multiplied by the number of tokens generated. It says the model and the output length "often contribute most to the total time," and that "each prompt token adds little time compared to each incremental token generated."

That means you can predict the size of a speedup before buying anything, by looking at three numbers in your logs: how many tokens each call generates, how long the first token takes, and what share of each request is model time rather than tool or network time. A call that returns five tokens is nearly all TTFT. A call that returns 600 is mostly generation. A request that spends most of its time in a search API will barely notice a new model.

Fine-tuning works on all three terms, unevenly. The smaller model lowers time per token and usually time to first token. Training the model to answer briefly shortens output, which Azure calls "the slowest step in the process." Replacing long instructions and examples shortens the prompt; Azure says prompt size "has less influence on latency than generation size," so this mostly saves money, and saves time only when prompts are long. OpenAI's latency guide makes the same point about input: "A long prompt can delay the first token, especially when much of the input is new."

What the evidence supports

One published comparison does most of the work. In Table-LLM-Specialist (arXiv 2410.12164, revised March 23, 2026, the full version of an EMNLP 2025 paper), models fine-tuned on GPT-3.5 were timed against vanilla GPT-4 on table tasks. "On average they are 3.42 times faster than vanilla GPT-4," the authors write, at comparable quality, with per-task averages ranging from 0.72 seconds against 1.43 to 2.43 seconds against 9.57. The paper does not describe its serving setup, and the baseline is GPT-4 rather than GPT-4o. No published controlled benchmark compares GPT-4o, GPT-4o mini, a current small OpenAI model and fine-tuned small models on the same tasks and hardware with TTFT, tokens per second, P95 latency and accuracy; that has not been measured.

Where the model runs matters as much as its size. On a shared hosted endpoint, a small model's request is batched with other traffic, and Azure's guide warns that mixing workloads means "short calls can be waiting for longer completions," so it recommends a separate deployment for each workload. Dedicated serving removes that queue, which is why the options below that promise the largest gains run the model on its own endpoint or hardware.

The options by situation

You classify or route, and need answers in milliseconds. Skip generative models. An encoder fine-tuned as a classifier returns a label without generating text. ModernBERT, Apache 2.0 licensed, comes in 149-million and 395-million-parameter sizes, needs fine-tuning for classification, and its paper says it is "designed for inference on common GPUs." You host it yourself.

You extract structured fields at high volume. This is the case the paper's results describe. Fine-tune a small open model, for example Llama 3.1 8B, which Together trains for $0.34 per million tokens with a $4 minimum, and serve it on a dedicated endpoint. Together's dedicated H100 is $5.49 an hour, single-tenant, billed per running replica "even when idle," and it lets you download merged weights to run anywhere. On Fireworks, choose a live-merged deployment, which "matches the base model (no overhead)"; sharing one deployment across many adapters often adds 10 to 30 percent to time to first token.

You want the fastest hosted tokens and can live without fine-tuning. Groq's models page lists gpt-oss-20b at 1,000 tokens per second and $0.075/$0.30 per million tokens, and llama-3.1-8b-instant at 560 tokens per second, both its own figures. Fine-tuned adapters there are restricted: Groq says LoRA "is available exclusively to enterprise-tier customers," on Llama 3.1 8B only.

You want to stay on OpenAI. You cannot fine-tune for this. OpenAI's fine-tuning guide says the platform "is no longer accessible to new users," and existing fine-tunes of GPT-4o and GPT-4o mini stop on January 14, 2027 with their base models. OpenAI's latency guide suggests testing gpt-6-luna for focused tasks such as routing; its model page lists fine-tuning as unsupported and reasoning effort defaulting to medium, which you can lower for routine work. Fast mode, which OpenAI says offers "up to 2.5x faster speeds" (stated for gpt-5.6-sol), costs about twice Standard on Luna and does not support fine-tuned models.

You write long, open-ended answers. Keep a large model. This is where a small fine-tune is most likely to lose quality, and OpenAI's guide says the fastest configuration must still meet the quality bar "on difficult cases." Cut output length and stream instead; streaming, Azure notes, "doesn't change the time to get all the tokens, but it reduces the time for first response."

You want someone else to run the fine-tune-and-serve loop. Parsec, a small language model lab, offers a managed service that traces production requests, builds datasets and evaluations the customer approves, trains with SFT or LoRA, serves the model and sends low-confidence requests to a closed frontier model. Its comparison page claims "60% lower TTFT" for voice agents without stating a baseline, its models run on a shared cluster, and it publishes no price.

Situation Option Published figure
Labels and routes Fine-tuned encoder, self-hosted ModernBERT 149M or 395M, Apache 2.0
Structured extraction Fine-tuned 8B on a dedicated endpoint Together H100 $5.49/hour
Fast hosted tokens, no fine-tune Groq gpt-oss-20b 1,000 tokens/s, $0.075/$0.30 per 1M
Stay on OpenAI gpt-6-luna $0.10/$0.50 per 1M

Worked example: what it costs

Assume 2 million requests a month at 800 input and 200 output tokens each, at list prices per million tokens.

Option Monthly cost
GPT-4o ($2.50 in, $10.00 out) $8,000
Fine-tuned GPT-4o mini ($0.30, $1.20), until Jan. 14 $960
gpt-6-luna ($0.10, $0.50), before reasoning tokens $360
Groq gpt-oss-20b ($0.075, $0.30), not fine-tuned $240
One Together H100, 30 days ($5.49/hour) $3,952.80

If GPT-4o needs a 2,000-token prompt of instructions and examples to match what a fine-tune does without them, its bill rises to $14,000 a month, which is where the prompt-length saving from fine-tuning shows up: far more in cost than in speed. Whether one H100 can carry this traffic has not been measured.

Worked example: what it saves in time

Assume a pipeline that runs a web search and page fetch taking 4 seconds, then one model call. If that call looks like the paper's slowest task, 9.57 seconds on the large model against 2.43 on the specialist, the request falls from 13.57 to 6.43 seconds, 53 percent faster. If it is a quick classification like the paper's fastest task (1.43 against 0.72 seconds), followed by a final answer assumed at 3 seconds on the large model, the request falls from 8.43 to 7.72 seconds, 8 percent faster. The 4-second and 3-second figures are assumptions; replace them with your own. OpenAI's guide points to the alternative: "Each sequential model or tool call adds another wait," so running independent lookups concurrently may save more than the model swap.

Checklist: is your use case a candidate?

  1. Log a week of real calls with TTFT, time between tokens, output tokens and end-to-end time; on Azure, use Time to Response, Time Between Tokens and Time to Last Byte, always next to token counts.
  2. Split each request into model time and tool or network time. If model time is under half, fix the pipeline first.
  3. Check output shape. Fixed labels or schemas are candidates; free text mostly is not.
  4. Try the free fixes: cap output tokens, lower reasoning effort, trim the prompt and use prompt caching.
  5. Hold out a few thousand real requests, record the current model's answers, and compare the candidate's P50 and P95 latency and accuracy on the same set before switching any traffic.

Bottom line

For labels and routes, fine-tune an encoder. For structured extraction at volume, fine-tune a small open model and serve it on a dedicated endpoint; that is where the several-times speedups are. For long answers or tool-heavy pipelines, keep the larger model and cut output length and sequential calls instead. If you are on GPT-4o now, test gpt-6-luna first, because it is the cheapest change and GPT-4o stops serving on January 14, 2027.

Sources

More in Models

All Models →