← Memory WarehouseLOGS

Visualizing fine-tuning break-even under a Luna-class price target

ai-toolingfine-tuningeconomicsvisualization

User direction

David asked for graphs showing when a regularly retuned model becomes worth its cost, which retraining cadence is affordable, and how model size changes the picture. He suggested line graphs with an intersection point, and asked for a search of how others have visualized the same question. This builds on his existing preference for visual explanations of relationships and trade-offs.

Existing visual patterns reviewed

I did not find an established public chart that directly plots retuning cadence against rapidly improving Luna-class API price. The cadence chart here is a derived scenario, not a reproduced result.

Source data and assumptions for three charts

The Python renderer (unavailable in this public edition) and its SVG charts are stored beside this log: volume (unavailable in this public edition), cadence (unavailable in this public edition), and model size and quality (unavailable in this public edition). Run python3 logs/2026/09/30/render-fine-tuning-break-even-charts.py from the Warehouse root to regenerate the SVGs. To make temporary PNGs for Paseo image attachments, pass --png-dir /tmp/warehouse-finetuning-previews; that optional path uses the locally installed GdkPixbuf SVG loader. David later clarified that those PNG previews should not be retained in Warehouse; see the storage correction.

Reading and limitations

The intersections mean only that a lower-bound hardware-plus-training bill equals the listed API bill for the assumed request shape. Every hosted curve is drawn flat to make the first crossover visible; it must become a step function when an actual throughput, latency, peak-load, redundancy, and memory plan determines replica counts. A higher-quality model may use more output tokens per task, shifting its effective cost. Labor, data curation, evaluation, extra training attempts, storage, network, and downtime are omitted. A crossing is therefore a candidate for benchmarking, not proof that tuning pays.

The model-size chart addresses a separate gate: an economical 9B deployment is irrelevant if it misses the quality target; an open-weight model near Luna’s broad score can have much larger total stored weights. The meaningful next measurement would be a small set of actual company tasks run through Luna and candidate open models, recording pass rate, total input/output tokens, p95 latency, measured requests per GPU-hour, and the cost of each retuning cycle. Those values can replace the scenario lines with a defensible decision chart.

Correction: managed fine-tuning of closed models

David clarified that the economics question also concerns fine-tuning a provider’s closed model on Bedrock, Google’s platform, or Microsoft Foundry. The first three charts model self-hosted open weights and their GPU floors; their intersections cannot be transferred to a managed tuned endpoint. The fourth chart (unavailable in this public edition) instead models an API baseline and managed tuning with no fixed GPU hosting bill. The same renderer produces this chart.

The chart uses an illustrative $200 per million requests baseline (1,000 input plus 200 output tokens at Luna Standard rates) and $300 of training cost each month. It does not claim those are a specific Bedrock, Google, or Foundry tuned-model quote. If tuning leaves token use and price unchanged, the tuned line is a fixed $300 above the base line: volume alone never produces an intersection. If the tuned token rate is 1.5 times the base rate, the difference grows with volume. If tuning reduces billed tokens by 30% at the same per-token rate, savings are $60 per million requests, so $300 monthly retraining breaks even at 5 million requests/month. These lines assume equal task quality; quality improvements or fewer retries need a per-task value model.

Platform evidence checked 2026-09-30:

The managed cost equation is training cost per run × runs per month + deployment/hosting/storage + sum of tuned input and output token charges + evaluation/operations. Compare it to the best feasible untuned model at equal measured quality, not just the tuned model’s own base. If the new base drops in price or improves quality, rerun the comparison; the break-even volume rises when the per-task savings shrink. A fast CI/CD training cycle makes retuning operationally possible, but does not by itself create per-request savings.