← Build notes

Pinning an AI model's exact version and keeping it are 2 different promises

One of my own builds kept only the first. Price tells me when running a model myself is cheaper than paying a provider per call. It can't tell me which one to depend on.

Animated dark infographic. The headline: pinning an AI model's exact version and keeping it are 2 different promises; one of my own builds kept only the first. Below it: price tells me when running a model myself beats paying a provider per call, but it can't tell me which one to depend on. The left panel checks my build against the 2 promises as a pipeline: Hugging Face, the source, sends the weights fresh to the GPU Job, my worker, which records the commit sha on every run; my storage, drawn dashed, holds no copy, so nothing is kept after each run, and an arrow marked next points from it back to the job. Two tiles follow. Promise 1, pin it, the exact version: kept, the exact model was pinned on every run. Promise 2, keep it, for as long as I hold a copy: not yet, it was fetched fresh each time and no copy was kept. Next: load the pinned weights from my own storage, and resume from the last finished clip; the Apache-2.0 licence lets me keep a copy. The right panel is a table of 4 things a price comparison leaves out, with one column for the provider, per call, and one for running it myself. The provider gets the first result after one request (mine came about 4.6 min after I created the Job) and no machines to run (mine: the container image, GPU quota, the weights and failures). Running it myself gets control of the exact model (my build: kept, pinned to a commit sha) and keeping it for as long as I hold a copy (my build: not yet, no copy). Using an AI model through a provider is like ordering at a restaurant: the menu names the dish, the recipe stays in the kitchen, and the dish can come off the menu. Six crossed-out marks count 6 provider shutdowns of media models and APIs, done or scheduled, May 2026 to Jan 2027. A model I run myself survives them only if I hold its weights. A decision row reads: for a quick test, I'd use the provider; for a product built on one model, it inherits the provider's retirement schedule, and when the model goes, the product must switch or stop; from my own copy of the weights, running the model myself keeps that decision with the business. The takeaway: I now price the risk of losing the model before I price each call. A side note credits Module 1 of the Production AI Agents for Generative Media course by DataTalks.Club and Nebius, 1 full run of 10 clips. In the animation, the weights travel from Hugging Face to the GPU Job three times, vanish after each run while my storage flashes no copy, the 6 shutdown marks stamp in one by one, and a line runs along the decision row, lighting each cell in turn and highlighting the product must switch or stop, then keeps that decision with the business. Animated dark infographic. The headline: pinning an AI model's exact version and keeping it are 2 different promises; one of my own builds kept only the first. Below it: price tells me when running a model myself beats paying a provider per call, but it can't tell me which one to depend on. The left panel checks my build against the 2 promises as a pipeline: Hugging Face, the source, sends the weights fresh to the GPU Job, my worker, which records the commit sha on every run; my storage, drawn dashed, holds no copy, so nothing is kept after each run, and an arrow marked next points from it back to the job. Two tiles follow. Promise 1, pin it, the exact version: kept, the exact model was pinned on every run. Promise 2, keep it, for as long as I hold a copy: not yet, it was fetched fresh each time and no copy was kept. Next: load the pinned weights from my own storage, and resume from the last finished clip; the Apache-2.0 licence lets me keep a copy. The right panel is a table of 4 things a price comparison leaves out, with one column for the provider, per call, and one for running it myself. The provider gets the first result after one request (mine came about 4.6 min after I created the Job) and no machines to run (mine: the container image, GPU quota, the weights and failures). Running it myself gets control of the exact model (my build: kept, pinned to a commit sha) and keeping it for as long as I hold a copy (my build: not yet, no copy). Using an AI model through a provider is like ordering at a restaurant: the menu names the dish, the recipe stays in the kitchen, and the dish can come off the menu. Six crossed-out marks count 6 provider shutdowns of media models and APIs, done or scheduled, May 2026 to Jan 2027. A model I run myself survives them only if I hold its weights. A decision row reads: for a quick test, I'd use the provider; for a product built on one model, it inherits the provider's retirement schedule, and when the model goes, the product must switch or stop; from my own copy of the weights, running the model myself keeps that decision with the business. The takeaway: I now price the risk of losing the model before I price each call. A side note credits Module 1 of the Production AI Agents for Generative Media course by DataTalks.Club and Nebius, 1 full run of 10 clips. In the animation, the weights travel from Hugging Face to the GPU Job three times, vanish after each run while my storage flashes no copy, the 6 shutdown marks stamp in one by one, and a line runs along the decision row, lighting each cell in turn and highlighting the product must switch or stop, then keeps that decision with the business.
The whole post in one graphic. Open the graphic full size ↗

Pinning an AI model’s exact version and keeping it are 2 different promises. One of my own builds kept only the first. The image shows both promises, and the one my build didn’t keep yet.

Price tells me when running a model myself beats paying a provider per call. It can’t tell me which one to depend on.

Why it matters

Using an AI model through a provider is like ordering at a restaurant. The menu names the dish. The recipe stays in the kitchen, and the dish can come off the menu.

Module 1 of the Production AI Agents for Generative Media course by DataTalks.Club and Nebius lists 4 things a price comparison leaves out. The course gives the provider 2: the first result after one request, and no machines to run.

Running the model myself gets the other 2: control of the exact model, and keeping it for as long as I hold a copy.

I checked those 2 against one of my builds. It pinned the exact model on every run, but fetched it fresh each time and kept no copy. Until it does, the second advantage stays a promise.

For a quick test, I’d use the provider. But a product built on one model inherits the provider’s retirement schedule: when the model goes, the product must switch or stop.

Running the model myself, from my own copy of the weights, keeps that decision with the business.

I now price the risk of losing the model before I price each call.

How it works

My worker ran VoxCPM2 (Apache-2.0) as a Nebius GPU Job. Its config pins the model to a Hugging Face commit sha, and every run records that sha with the package version and both voice settings.

Control: a provider’s API sells VoxCPM2 at $0.003 per call. Its page exposes the same 2 settings I set, guidance and step count, and labels the model “VoxCPM 2.0”. It names no commit, and the provider alone decides when that model changes or is withdrawn.

Availability: that risk is real. The course’s table lists 6 provider shutdowns of media models and APIs, done or scheduled, from May 2026 to Jan 2027. A model I run myself survives them only if I hold its weights, and the Apache-2.0 licence lets me keep a copy.

First asset: mine arrived about 4.6 min after I created the Job. The course puts the provider at one request.

My side’s work: the container image, GPU quota, the weights and failures. Each clip lands in storage as soon as it’s done. But Nebius doesn’t restart a preempted Job automatically, and a rerun starts from the first clip.

So before I scale this up, I’ll add 2 things: load the pinned weights from my own storage, and resume from the last finished clip. A lost GPU then costs one restart and keeps every finished clip.

Limits: 1 full run of 10 clips. I didn’t test the provider’s speed or output, and my worker sets no seed yet.

If your product runs on a provider’s AI voice or video model and you want a plan for the day it’s withdrawn, my DMs are open.