Fine-Tuning vs Prompting: What Changed When OpenAI Shut It Down

OpenAI closed self-serve fine-tuning to new users in May 2026. Here's what the shutdown reveals about when fine-tuning actually beats prompting-and when GEPA closes the gap without touching weights.

Cover art for Fine-Tuning vs Prompting: What Changed When OpenAI Shut It Down

On May 7, 2026, OpenAI announced it is winding down its self-serve fine-tuning API and platform.

On that date it began winding down the platform, stating that its newer base models follow instructions and formats well enough to make much of the process unnecessary. That framing is the most interesting part. The company that made fine-tuning easy is now saying you probably don't need it - and it has a deadline to back that up: by January 6, 2027, active existing customers will no longer be able to create new fine-tuning jobs at all.

This is not a verdict against fine-tuning everywhere. It's a signal about where the line has moved - and the line has moved considerably.

When fine-tuning actually wins

Fine-tuning beats prompting when the task is narrow, high-volume, and unlikely to change. The key qualifier is all three at once.

Highlighter.ai's 2025 study classified electrical power outage reports and serious workplace injury reports, putting a fine-tuned Qwen2.5-7B against Claude Sonnet 3.5 and 3.7 with prompt engineering. The fine-tuned 7B model hit 88% accuracy on power outages versus 31% for prompted Claude.

On serious injury classification, it was 78% versus 59%. At inference scale, the 7B model cost $789 per million classifications; prompted Claude cost $11,485 per million. The 14× cost gap came almost entirely from token efficiency: the prompted model needed an exhaustive instruction set on every call.

That is a legitimate case for fine-tuning. But notice what made it so clean: a closed label set, an abundant training corpus, and a task that will not change next sprint.

The math almost always favors fine-tuning at high volume on a narrow task. The problem is that most teams do not have a high-volume, narrow task. They have ten different tasks, moderate volume, and requirements that change every sprint.

The other strong case is distillation. Tune a small open-source model on outputs from a frontier model so you can match near-frontier quality on a narrow task at roughly one-tenth the inference cost. A LoRA or QLoRA run on Llama or Mistral-class hardware is the right move when a hard latency or cost ceiling rules out a frontier API call per request.

Condition Fine-tune Prompt
Fixed label set, abundant labels ✓ wins struggles on edge cases
High volume (>50k calls/month) on one task ✓ breaks even fast token cost compounds
Requirements change every sprint slow, costly to retrain ✓ update prompt and ship
Multi-step reasoning or RAG pipeline marginal gain ✓ architecture is the fix
Style/tone consistency at scale ✓ locks in behavior drifts under load

GEPA: the part of the debate nobody was having

Here is the non-obvious development from this year. GEPA (Genetic-Pareto) is a prompt optimizer from the paper "GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning," accepted as an oral presentation at ICLR 2026.

It beats GRPO by 10% on average (up to 20%) with 35× fewer rollouts, and beats MIPROv2 by +14% aggregate with prompts up to 9.2× shorter.

What GEPA actually does: it modifies a seed prompt to optimize performance on training examples. Differently from RL-based techniques that rely on scalar rewards, GEPA uses LLMs to generate textual feedback and suggested modifications to the prompt. To prevent local optima, GEPA explores the prompt search space by mutating existing prompts and maintains a population of the best-performing candidates.

It is integrated into DSPy as dspy.GEPA and also ships as a standalone library (pip install gepa).

The implication here is significant. The standard argument for fine-tuning on reasoning tasks has been: "prompting plateaus, so you have to update weights." GEPA chips away at that. Modern prompt optimization with DSPy and GEPA outperforms RL fine-tuning (GRPO) by 6 to 19 points on average across six benchmarks, while using up to 35× fewer rollouts. No weight update. No GPU job. No retraining cycle when requirements shift.

One caveat worth noting: scaling from 50 to 500 training samples caused prompt length to balloon by 75% while performance decreased. More iterations with more data led GEPA to encode every edge case, producing verbose, over-fitted prompts that failed to generalize. The sweet spot for GEPA's sample size is around 20-100 examples - generous, but not unlimited.

88% vs 31%fine-tuned 7B vs prompted Claudeon power outage classification
14×cost gap per million classifications$789 vs $11,485
35×fewer rollouts than GRPOwith GEPA at equal or better accuracy

The BetterTogether insight and the hybrid path

Neither side of the fine-tune/prompt debate needs to win outright. An alternating scheme - combining prompt optimization with weight updates - beat prompt-only by up to 6% and weight-only by up to 60% on average across Mistral-7B, Llama-2-7B, and Llama-3-8B. Sixty percent. Released in DSPy as BetterTogether, it is the single best argument that the "or" in "fine-tune or prompt" is doing more harm than the actual choice between them.

The practical read: if you are self-hosting an open-weight model on a narrow, stable task and have 500+ labeled examples, start with GEPA on the prompt and then layer in a LoRA fine-tune. The two compound rather than compete.

What OpenAI's shutdown actually changes is narrower than the headlines suggest. Fine-tuning in 2026 mostly happens in two places: on open-weight models you train yourself with methods such as LoRA and QLoRA, and through managed tuning services such as Google's Vertex AI. Many flagship API models, including GPT-5.5 Pro, do not support fine-tuning at all. If you were relying on OpenAI's hosted tuning, the alternatives are Together AI, Fireworks AI, or self-hosted LoRA - not a dead end, but a migration.

Beagle in action#product-ops, 2:45pm
The ask
'can someone check whether our support classification prompt still holds on the new ticket taxonomy?'
Beagle drafts
finds the linked eval spreadsheet, reads the accuracy columns, drafts a summary of where the prompt is drifting and which categories are below threshold
You approve
you approve the summary; the team has the current numbers without someone running the analysis by hand
Do this in your workspace →

For teams that don't have the labeled dataset to justify a fine-tune, the less obvious move is to run GEPA against your existing eval set before concluding that prompting has plateaued. Most LLM failures come from missing context, weak constraints, or no connection to live systems - which prompting and architecture changes can fix. Fine-tuning should only enter the picture after those cheaper interventions plateau.

Fine-tuning vs prompting: common questions

When does fine-tuning beat prompting for narrow tasks?

Fine-tuning wins when the task has a fixed output schema, abundant labeled examples, and high call volume. Fine-tuning beats prompting when your task is narrow, high-volume, and stable. Good candidates include classification systems, entity extraction, consistent JSON output formatting, and domain-specific vocabulary tasks. Below roughly 50,000 requests per month on a single task, the economics rarely justify the operational overhead.

What is GEPA and how does it relate to fine-tuning?

GEPA was introduced at ICLR 2026 as a gradient-free optimizer that uses natural language reflection rather than policy gradients to adapt prompts. Built on the DSPy framework, it outperforms reinforcement learning methods like GRPO by up to 20% while using 35× fewer model rollouts. It updates the prompt, not the weights, so there is no retraining cycle.

Why is OpenAI winding down self-serve fine-tuning?

OpenAI's own reasoning, from the wind-down announcement, is that better prompting has closed the gap: newer base models are much better at following instructions and formats than prior models, and prompt-based approaches are now cheaper and faster, with fewer use cases requiring fine-tuning.

By January 6, 2027, active existing customers will no longer be able to create new fine-tuning jobs at all.

Does fine-tuning help with reasoning and multi-step agent tasks?

Mostly no. In 2026, the strong fine-tuning cases exclude most agent workflows, most coding tasks, and most retrieval-grounded QA. For multi-step pipelines, prompt optimization with GEPA or architecture changes (better retrieval, structured tool use) address the actual failure modes more cheaply than a weight update.

What are the alternatives to OpenAI fine-tuning after the shutdown?

With OpenAI's platform narrowing, Together AI and Fireworks AI are the two full-service options left for open-weight models, and both price per token rather than per GPU-hour. For teams with self-hosting capacity, LoRA and QLoRA on Llama or Mistral-class models remain fully viable - and the open-weight route gives you model portability that a hosted API never did.

Or just watch me work

Point me at your website.

I will read up on your business and come back with what I would run for you. No account, no card, about a minute.

I only read what is public. Nothing is saved to your name until you say so.

Keep reading

Beagle does this work for you, in your Slack.1,000 free credits. No card.Hire Beagle