Model factory.

An AI Model Factory is how you run many models instead of one oversized generalist. On Freuron, each workload gets its own fine-tuned model on the open-weight base sized for that job — a small base for classification, a larger one only where the task needs it.

One console and API train, evaluate, deploy, and retrain all of them, and billing is per token.

One giant model is the wrong unit

Most production traffic is not one workload. Support replies, document extraction, classification, and an internal copilot differ in input shape, risk, and how much model they actually need. Forcing all of them through a single large generalist means every call pays for capability only a few calls use.

A factory takes the opposite shape. Each workload gets its own model, fine-tuned on its own data, on the open-weight base sized for that job. A narrow, repeated task can run on a smaller base. A harder task gets a larger one. The point is fit, not size.

In practice that means many models, not one: a separate fine-tuned model per workload, each with its own versions and private endpoint, and a base picked per workload instead of one oversized model paid for across every call. All of them sit under one control point, so the same console and API create, train, evaluate, deploy, and retrain every model in the set.

How the factory loop runs

Every model in the factory goes through the same loop, and every stage of that loop is an API call. You do not write training scripts, provision GPUs, or build a separate pipeline for each new model you add.

That sameness is what makes many models practical. Adding a model for a new workload is the same import, train, evaluate, and switch sequence as the first one — not a new platform project each time.

  • Audit — connect Langfuse, Helicone, OpenTelemetry, vLLM, or SGLang and rank which workloads are ready for a dedicated model of their own.
  • Fine-tune — submit JSON or JSONL prompt-completion data for that workload; training runs on managed GPUs and completes into a versioned LoRA candidate.
  • Evaluate — the candidate carries an evaluation result and passes a quality gate before it can serve traffic.
  • Deploy — switch that model's private endpoint to the candidate, or roll back to its prior version in one call.
  • Retrain — production traffic feeds the next loop for that model; retrain on a schedule or a threshold, evaluate again, then switch.
curl -X POST https://api.freuron.com/api/models/{id}/fine-tune
curl -X POST https://api.freuron.com/api/fine-tune/{id}/switch
curl -X POST https://api.freuron.com/api/v1/inference/chat
The same calls, once per model: train, switch, serve

Control them all from one place

Running many models only helps if operating them stays simple. On Freuron, each model is the same kind of object — a base, a dataset, versioned candidates, and a private endpoint — so one console and one API cover the whole set. You list versions, inspect candidates, switch, and roll back per model, through the same calls. It is designed the way developers ask for it: as few moving parts at the surface as the problem allows.

Promotion stays deliberate for every model. Training writes a candidate; the live endpoint changes only when you switch it. A failed run preserves the adapter your traffic is already hitting, and rolling one model back does not require touching the others.

Per-token economics, per model

The factory bills the tokens it trains and serves — per token, per base model — rather than the hours GPUs sit idle. That matters more as the set of models grows: a workload with spiky or occasional traffic does not need an always-on GPU behind it, and endpoints scale to zero between calls.

It also makes the right-sizing decision visible. When each model bills against its own base, putting a narrow task on a smaller base shows up directly in what that workload costs to run, instead of being averaged away inside one large shared bill.