Before starting with OpenAI: access has ended for new users
According to the official announcement checked on October 10, 2026, new users cannot start self-service fine-tuning. Existing users also face eligibility conditions, and the creation of new training jobs is scheduled to end on January 6, 2027. This does not mean the technology itself is ending. Eligibility and dates are listed in Section 5.
“I want to customize AI for my company.” One option is fine-tuning: additional training of a pretrained LLM on data tailored to a particular use. Data requirements, costs, and available services vary, so first establish a baseline for measuring improvement. This beginner’s guide explains what fine-tuning does, its strengths, how it compares with RAG and prompting, the main methods, what you need, and how to get started.
RAG retrieves information; fine-tuning adjusts responses
— Diagnose failures and choose a method that fits your goal
Prompting
Start with instructions. Test prompts and examples, then measure baseline performance.
RAG (retrieval)
Add current or internal knowledge here.
Fine-tuning
Train on correct examples and evaluate on unseen inputs.
Contents
1. What is fine-tuning?
Fine-tuning means training an already trained AI model (the base model) further on data for your use case to adjust its response patterns. Examples include answering in your company’s style, using a particular output format, or adapting to specialist terminology. The aim is to teach these patterns to the model itself.
Think of it as new employee training. Even a capable recruit—the base model—does not know your company’s practices. Training on company examples aims to adapt responses to those practices and lets you evaluate whether shorter instructions will suffice. Fine-tuning updates model weights (parameters) or additional adapters.
💡 In one sentence: fine-tuning is additional training that teaches response patterns to the model itself. Prompts and RAG supply instructions or documents for each request; fine-tuning changes response patterns through weights or additional adapters.
A “custom model” does not mean you own the underlying model. Distinguish a model accessed through an API from one whose weights you handle yourself, and check the base model’s license and distribution terms.
2. Strengths and limitations
Misunderstanding the purpose can lead to failure. Fine-tuning is an option for adjusting response patterns such as style, classification, and instruction following; it is not a mechanism for automatically incorporating information that appears after training.
- Consistent writing style and tone
- Output in a particular format
- Familiarity with specialist terminology
- Whether lengthy repeated instructions can be shortened
- Learning frequently changing, up-to-date information
- Accurately retaining internal documents as facts
- Consistency between answers and cited sources
- Automatic updates with information added after training
If the goal is to handle current information or internal data accurately, RAG (retrieving information and adding it to context) is a better fit than fine-tuning. Fine-tuning is an option for bringing responses closer to a desired tone or format. If you need a format such as JSON, also compare structured outputs on supported models. OpenAI’s structured outputs guide distinguishes format compliance from the semantic correctness of values and explains how to handle refusals.
3. Choosing between RAG, prompting, and fine-tuning
These three common approaches to customizing AI have different roles and cost drivers. The table gives an overview.
| Method | Role | Cost drivers | Suitable uses |
|---|---|---|---|
| Prompting | Improve instructions | Model calls, trials, and evaluation | Improve instructions and examples; establish a baseline |
| RAG | Retrieve and add knowledge | Retrieval, indexing, storage, and generation | When current or internal facts are needed |
| Fine-tuning | Adjust response patterns | Data, training, evaluation, and inference | Evaluate changes to format and tone, or lower processing costs |
Before choosing: low accuracy does not automatically mean fine-tuning is needed. Separate insufficient instructions, missing reference material, and response patterns, then compare options using the same evaluation questions.
A useful rule of thumb is: “RAG for facts and knowledge; fine-tuning for behavior and patterns; prompts first.” In production, you can combine RAG to supply documents with fine-tuning to adjust responses, but not every system needs both. This connects with context engineering.
4. Main methods: full fine-tuning, LoRA, and QLoRA
SFT learns from desired outputs. DPO uses response preferences, while RFT uses signals such as grader scores. Full fine-tuning, LoRA, and QLoRA below are a different classification: they concern which parameters are updated and numerical precision. API services do not necessarily let you choose the internal implementation freely. See OpenAI’s training methods guide.
There are several ways to fine-tune. Beginners should first understand these three.
Full fine-tuning
Updates all model parameters. Compared with LoRA on the same model, it trains a broader set of parameters and requires more training memory. Evaluate relative quality for each task.
In its basic form, the base model is frozen and additional adapters represented by low-rank matrices are trained. Updating only a small subset reduces trainable parameters and memory needs. LoRA is a form of parameter-efficient fine-tuning (PEFT).
Combines LoRA with 4-bit quantization, freezing the original model while training LoRA adapters. It aims to reduce memory use; check GPU, model, and library support.
The official PEFT documentation and the original LoRA/QLoRA papers explain the mechanisms. Experimental results in those papers are not guarantees for every model.
Choose full fine-tuning, LoRA, or QLoRA based on available resources and evaluation results. Failure with one method does not establish that the others will fail. With a local LLM, a small trial on your own PC may also be possible.
5. Data, costs, and tools
Data requirements: an accepted minimum is not the amount needed for useful quality
10 examples
The minimum stated in OpenAI’s SFT guide
50 examples
Carefully prepared examples recommended by that guide for an initial evaluation
Not universal
The amount varies with the use case, model, and training method
OpenAI’s SFT guide reports improvements with 50–100 examples and recommends revisiting the task or prompt if 50 examples produce no improvement. This is guidance for OpenAI’s SFT, not evidence that every method requires 500 examples. Meeting the submission minimum and achieving useful quality are separate questions.
Before increasing the count, check whether examples resemble real inputs, answers are correct, classes are balanced appropriately, and duplicates or contradictions exist. Separate training and evaluation data so that paraphrases of the same question do not appear in both and inflate scores. Teaching a correct answer when the input lacks the information needed to derive it may encourage unsupported guesses. See OpenAI’s guidance on data quality and separating evaluation data.
Pricing: include ongoing use, not just training
Total cost = data preparation + training and trials + evaluation + inference and operation
- Data preparation: collection, usage permissions, anonymization, correct answers, and review
- Training and trials: billable tokens, repetitions, compute time, and other factors
- Evaluation: model calls on separate data, human assessment, and comparison experiments
- Inference and operation: using the trained model, GPUs, storage, monitoring, updates, and retraining
For token billing, start with “billable training tokens ÷ one million × unit price”; for time billing, use “billable time × hourly rate.” Check which tokens or time count and how failures and retries are treated by your provider. For self-managed training, also estimate passes through the data, input length, GPU count, and running time.
These two examples use different methods and units, taken from the Standard rates in OpenAI’s official pricing table, checked on October 10, 2026. Their inclusion does not mean new users can sign up; see the availability conditions below.
SFT: GPT-4.1 mini
Training: $5 / million tokens
gpt-4.1-mini-2025-04-14. Inference with the fine-tuned model costs $0.80 for input, $0.20 for cached input, and $3.20 for output, each per million tokens. These charges are separate from training.
RFT: o4-mini
Training: $100 / hour
o4-mini-2025-04-16. Tokens used by models that grade RFT outputs are billed separately. Inference with the fine-tuned model also incurs charges.
o4-mini and its fine-tuned version in this pricing example are scheduled to shut down on October 23, 2026. Check OpenAI’s official deprecation notice before choosing a model.
These are API fine-tuning and inference prices, not ChatGPT subscription prices. Batch processing and data sharing may have separate rates, so “$25–$100 per million tokens” is not a price shared by every method. Include sharing conditions and inference rates in your estimate.
If the aim is to save money, measure whether the cost per request actually falls after training. Dividing implementation costs by the saving per request gives an approximate break-even volume, but only when response quality is comparable and the saving is positive. For low-volume tasks, reduced inference costs may not recover preparation costs.
Availability: OpenAI’s phase-out and self-managed training
| OpenAI’s announced dates | Affected change |
|---|---|
| May 7, 2026 | Organizations that have never fine-tuned cannot create new jobs or run training. |
| July 2, 2026 | Organizations that have not used a fine-tuned model for inference in the preceding 60 days also lose access to new job creation. |
| January 6, 2027 (scheduled) | New job creation ends for active existing users as well. Inference with fine-tuned models continues until the base model is deprecated. |
Source: OpenAI’s self-service fine-tuning availability changes, checked on October 10, 2026. A pricing table or how-to guide remaining online is not evidence that your organization can start.
For self-managed training with a model whose weights you can access, Hugging Face TRL’s SFTTrainer is one option. Check model and data licenses, GPU memory, input length, supported training methods, and storage destinations. For another provider’s managed service, likewise verify supported models, regions, contract terms, and billing units against its current specifications.
Before training on confidential data, check where it is sent and stored
OpenAI does not use API data to train or improve general-purpose models unless you explicitly opt in to sharing. However, fine-tuning you request processes your data for that purpose. Files and jobs involve storage, so “not used for general training” is different from “not sent or stored externally”. Even with local execution, check logs, synchronization, and distribution destinations, and evaluate whether confidential information is memorized or reproduced. See OpenAI’s data controls documentation.
6. A small trial to decide whether to adopt it
The following is an illustrative plan for classifying inquiries as “shipping,” “returns,” or “other.” It is not a report of training runs, measured performance, or bills from this article.
- Define acceptance criteria: record classification accuracy, handling of uncertain cases, response time, and cost per request. Track serious misclassifications separately from average performance.
- Measure baseline performance: organize instructions and examples and evaluate on data that will not be used for training. Distinguish missing instructions, missing information, and model judgment.
- Choose a method that addresses the cause: if reference material is missing, review the retrieval system. If decision criteria or response patterns are the issue, include fine-tuning in the comparison. You do not always need to try RAG first.
- Check execution conditions: verify availability, model, budget, data usage permissions, external transmission, and storage before planning a small training run.
- Compare using the same evaluation: give the same questions to the base and fine-tuned models. Include unseen inputs, other languages, long text, and requests that should be refused.
- Decide whether to adopt, adjust, or defer: compare quality improvements, costs, latency, and operational workload. If there is no improvement, revisit data or settings rather than immediately replacing production. Keep a version you can revert to.
After training, continue monitoring areas where errors increased, information updates, and base-model deprecations. Training performance alone does not show whether the model handles unseen inputs. OpenAI’s evaluation guidance also recommends separating training and test data.
Summary
Three points to remember about fine-tuning:
- What it is: additional training of a pretrained model to adjust response patterns by updating weights or additional adapters.
- How to choose: identify whether the problem concerns reference information, instructions, or response patterns, then compare methods under the same conditions.
- How to start: check availability, budget, and data usage permissions. Data requirements and costs vary by method, model, and use case.
Fine-tuning is an improvement option whose effectiveness should be established through evaluation. Completing a training job and improving quality in real work require separate checks. Related guides to RAG and context engineering help explain the broader picture of AI customization. Another related technique for making models smaller is model distillation.
FAQ
Q. Should I choose fine-tuning or RAG?
A. Choose based on the goal. RAG suits current or internal knowledge and facts; fine-tuning can adjust behavior, patterns, and tone. They can be combined, but not every system needs both. Use evaluation to compare options, including prompting and structured outputs.
Q. Can an individual fine-tune a model?
A. Yes, with a suitable model and computing resources. Even with QLoRA, memory requirements depend on the model, input length, and configuration. OpenAI no longer accepts new users for self-service training, so check eligibility for self-managed training or other providers as well.
Q. How much data do I need?
A. There is no universal example count. OpenAI SFT’s minimum of 10 examples and initial recommendation of 50 apply to that provider’s method. Decide based on task diversity, training method, and evaluation on unseen inputs.
Q. Will fine-tuning also learn the latest information?
A. Information added after training is not incorporated automatically. A model can generate answers with citations, but it does not guarantee that those sources exist or support the answer. Provide a way to retrieve changing documents, and evaluate answers and citations separately.