To fine-tune an LLM on your product catalog, you pick an open-weight base model, turn your catalog and past customer conversations into example question and answer pairs, train a LoRA adapter on them and check the result against the untuned model before it goes live. At the cloud prices listed below, the compute for a catalog-sized job can cost a few dollars (see the worked example). The work that decides whether it succeeds is preparing the examples and testing the output. This answer walks through each step for an ecommerce brand, with current training prices from Amazon Bedrock, Google Vertex AI and Together AI. It is from Brand Media Works, an AI consulting and marketing data engineering firm for ecommerce brands.
What does fine-tuning an LLM do for an ecommerce brand?
Fine-tuning continues a model's training on your own examples, so it learns how you want it to answer. Hugging Face's TRL documentation calls supervised fine-tuning "the simplest and most commonly used method to adapt a language model to a target dataset" (read 5 November 2026). For a brand, that usually means three things:
- Voice. Product descriptions, emails and support replies that sound like the brand without a long style prompt each time.
- Format. Output that always fits a template, such as a product feed title under a character limit or a size guide in the same order.
- Domain language. Your own product names, materials, fit terms and policies used correctly.
Fine-tuning is weaker at facts that change. A model tuned in October does not know November's prices or stock. Those belong in retrieval, where the model looks up the current record at the moment it answers. Fine-tuning vs RAG covers when to use each, and many brands end up with both: a tuned model for voice and format, fed live catalog data at answer time.
Which model should you fine-tune?
An open-weight model, in most cases. OpenAI says it is winding down its fine-tuning platform, which "is no longer accessible to new users" (read 31 October 2026). Existing tuned models stay available until their base models are retired. Open-weight models such as OpenAI's gpt-oss, Meta's Llama, Google's Gemma and Alibaba's Qwen can be downloaded, tuned and run wherever the brand chooses.
Check the license before you start. gpt-oss is released under Apache 2.0. The Llama 4 Community License requires a "Built with Llama" notice in products and Meta's permission above 700 million monthly users. Gemma's terms pass Google's use restrictions on to your users (all read 4 November 2026). A smaller model, such as Llama 3.1 8B, is usually the right first test. It trains and serves for a fraction of the cost of a 70 billion parameter model, as the prices below show, and a narrow task such as writing product copy rarely needs more.
What data do you need from your catalog?
You need examples of the exact task, written the way you want the answers. Amazon Bedrock's guide says training data goes in .jsonl files, "where each line is a JSON object corresponding to a record," and that conversational models need "system, user, and assistant messages" (read 5 November 2026). Hugging Face's trainer accepts the same conversational format and applies the model's chat template automatically.
Here is one invented example record for a product description task:
{"messages": [
{"role": "system", "content": "You write product descriptions for an outdoor apparel brand."},
{"role": "user", "content": "Product: Ridge 2L rain jacket. Fabric: recycled nylon, 2-layer. Weight: 410 g. Fit: regular."},
{"role": "assistant", "content": "Built for wet ridgelines and wetter commutes, the Ridge 2L..."}
]}Where the examples come from:
- Product descriptions your team already approved, paired with the structured attributes behind them from Shopify or your product information system.
- Resolved support tickets with the agent's final answer, after removing customer names, emails and order numbers.
- Feed titles and ad copy that performed, paired with the product record they describe.
Two settings matter more than they look. Training only on the assistant's replies, which TRL's assistant_only_loss option does, stops the model from learning to imitate your prompts. A held-out set of examples the model never trains on is how you measure whether tuning helped. Consistency beats volume: a smaller set of clean examples in one voice teaches more than a large set of mixed-quality ones.
LoRA or full fine-tuning?
LoRA, for almost every brand use case. LoRA trains a small set of adapter weights on top of the frozen base model. Hugging Face's PEFT documentation says these methods fine-tune "a small number of (extra) model parameters" while "yielding performance comparable to a fully fine-tuned model" (read 5 November 2026). Research from Thinking Machines Lab, summarized in Hugging Face's TRL guide, found LoRA can match full fine-tuning "when configured correctly, while using only ~67% of the compute" (read 5 November 2026).
The practical gain is that the adapter is small. You can keep several, one per task or market, and swap them on the same base model.
What does it cost to fine-tune an LLM?
Training is billed by tokens processed or by training hour. Google defines training tokens as "the total number of tokens in your training dataset, multiplied by your number of epochs" (read 5 November 2026).
| Provider | Model | Method | Price | Read |
|---|---|---|---|---|
| Together AI | Llama 3.1 8B, Qwen3.5 9B | LoRA supervised fine-tuning | $0.34 per 1M training tokens, $4 minimum per job | 31 October 2026 |
| Together AI | Gemma 4 26B A4B | LoRA supervised fine-tuning | $1.05 per 1M training tokens | 31 October 2026 |
| Google Vertex AI | Llama 3.1 8B | Supervised fine-tuning | $0.67 per 1M training tokens | 5 November 2026 |
| Google Vertex AI | Gemma 3 27B | Supervised fine-tuning | $6.83 per 1M training tokens | 5 November 2026 |
| Google Vertex AI | Qwen 3 8B | Supervised fine-tuning | $4.18 per 1M training tokens | 5 November 2026 |
| Amazon Bedrock | gpt-oss-20b | Reinforcement fine-tuning | $80 per training hour, then $0.09 input and $0.39 output per 1M tokens, $1.95 a month storage | 5 November 2026 |
A worked example, with invented round numbers: a brand with 2,000 products writes one training example per product at about 500 tokens each. That is 1 million tokens, and three passes through the data (epochs) make 3 million training tokens. On Vertex AI's Llama 3.1 8B price, the job costs about $2.01. On Together AI it would be $1.02 at the listed rate, so the $4 minimum applies (our arithmetic). The real budget goes on building the dataset, testing and hosting.
How do you run the fine-tuned model privately?
Where the tuned model runs decides who sees your prompts and customer data. Three options:
- The tuning provider's endpoint. The simplest route. Prompts go to that provider under its data terms.
- Your own cloud account. Amazon Bedrock's Custom Model Import charges $0.05718 per Custom Model Unit per minute, and Llama 3.1 8B needs 2 units (read 5 November 2026). That is about $6.86 an hour while the model is active (our arithmetic), and AWS says an imported model scales to zero after 5 minutes without requests (read 15 October 2026).
- Your own GPUs. Full control, with the operations work that comes with it.
For a brand putting customer records or unreleased products into prompts, the second option keeps the data inside an account the brand controls. Private LLMs on open-weight models describes how Brand Media Works builds this inside a brand's own cloud, and what a private LLM costs to run sets out hosting costs in more detail.
The steps, in order
- Pick one task. Product descriptions, feed titles or support replies. One tuned model per task is easier to test than one model for everything.
- Write a baseline. Run the untuned base model with a good prompt, plus retrieval if facts are involved, on a sample of real inputs. Save the outputs.
- Build the dataset. Export approved examples, strip personal data, convert them to JSONL conversations and hold back a share for testing.
- Train a LoRA adapter on a small model such as Llama 3.1 8B, for a small number of epochs.
- Compare on the held-out set. Have the people who approve copy today score the base and tuned outputs blind. Keep the tuned model only if it wins.
- Deploy where the data rules allow, then retrain on a schedule as the catalog and voice change.
Frequently asked questions
Can you fine-tune an LLM on your own data?
Yes. With an open-weight model you can tune on your own catalog, tickets and copy, and run the result in your own cloud account so the data never leaves it. Remove personal data such as customer names and emails from training examples first, because a model can repeat what it was trained on.
Does OpenAI still let you fine-tune its models?
Not for new users. OpenAI says it is winding down its fine-tuning platform, that existing users can still create training jobs "for the coming months," and that existing tuned models stay available until their base models are deprecated (read 31 October 2026).
Can you use a fine-tuned open-weight model commercially?
Usually, within the license. gpt-oss uses Apache 2.0. Llama 4 allows commercial use with a "Built with Llama" notice and needs Meta's permission above 700 million monthly users. Gemma's terms require you to pass Google's use restrictions on to your own users (read 4 November 2026). Read the license of the exact model version you tune.