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.
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.