Model registry

The registry holds named models with versions and aliases. Use versions to identify exact model content. Use an alias to record which version you chose for a purpose.

Names, versions, and aliases

A namespace groups the artifacts for one piece of work. A training project’s name is the namespace for its models. A named model such as support-triage/llama-3.2-1b-instruct holds versions v1, v2 and so on. Versions never change; aliases can move.

The registry converts uppercase in a reference to lowercase. Each name part has 1 to 64 characters, including the ., _ or - separators between letters and digits. References take the following forms:

Reference Meaning

NS/NAME

The newest version, through latest.

NS/NAME:vN

One version.

NS/NAME:ALIAS

The version an alias points at.

NS/NAME@sha256:<digest>

Content identified by its digest.

Registering content that the named model already holds returns the existing version.

Find the source of a version

The following table lists the sources of model versions. To follow a version back to the run that produced it, see Model lineage.

Source What it registers

A completed run

The final model as <project>/<modelName>. The modelName field defaults to the base model’s name in lowercase. A run over unsloth/Llama-3.2-1B-Instruct in support-triage registers support-triage/llama-3.2-1b-instruct.

training snapshots register SNAPSHOT

A snapshot’s weights as a version of the run’s named model. The training snapshots candidate SNAPSHOT command reads the registration’s progress. See Evaluations.

training base-models select BASE_MODEL

A base model under its lowercase repository name, such as qwen/qwen3-0.6b.

training adapters import

An adapter trained elsewhere. See Import an adapter.

Use separate names for base and trained models.

List and read models

To list models, list a model’s versions, or read one version, use the following commands:

akka optimize registry models list --namespace support-triage
akka optimize registry models versions support-triage/llama-3.2-1b-instruct
akka optimize registry models get support-triage/llama-3.2-1b-instruct:v1

The registry models list command lists the models, each with how many versions it holds and its newest version with the aliases on it. akka optimize registry models list --help names the filters it takes.

The registry models versions command lists a model’s versions, newest first.

The models list command combines registered versions with serving names and lifecycle. Use models get for a version’s training, serving, routing, and price. In models list -o json, check unavailable for services that could not be read.

Record a choice with an alias

The alias set command points or moves an alias and prints Pointed <ref> at <ref>. alias get shows the version and the history. The alias rm command removes the alias.

The following example shows alias update output. Your model references differ.

akka optimize registry models alias set support-triage/llama-3.2-1b-instruct:champion --version v2
Pointed support-triage/llama-3.2-1b-instruct:champion at support-triage/llama-3.2-1b-instruct:v2.

The following example shows alias history. Your model references and relative times differ.

akka optimize registry models alias get support-triage/llama-3.2-1b-instruct:champion
Alias      support-triage/llama-3.2-1b-instruct:champion
Points at  support-triage/llama-3.2-1b-instruct:v2
Versions   2

VERSION                                            POINTED
support-triage/llama-3.2-1b-instruct:v1            3d ago
support-triage/llama-3.2-1b-instruct:v2 (current)  24h ago

To remove the alias, run the following command:

akka optimize registry models alias rm support-triage/llama-3.2-1b-instruct:champion

Use your own alias name, such as champion. The reserved latest alias always names the newest version. An alias cannot look like a version number or point at a retired version.

A run or evaluation resolves an alias at submission. Moving the alias later does not change the submitted work.

Aliases such as champion and candidate are names you choose. Nothing in Optimize acts on them. Promoting with an alias records your choice. A routing destination names one version, such as NS/NAME:vN, and refuses an alias with An alias or 'latest' is not accepted, because it can move.

Deprecate and retire a version

A newly registered version is ACTIVE. Deprecating it makes it DEPRECATED. Retiring it makes it RETIRED, which is final.

akka optimize models deprecate NS/NAME:vN --reason "A replacement version is available"
akka optimize models retire NS/NAME:vN --reason "This version is no longer used"
akka optimize models list --lifecycle retired

These commands are under models. The models list --lifecycle active|deprecated|retired flag filters by state.

Supply an exact version and a reason. Both commands ask for confirmation and list references that still reach the model. Retirement is final.

Routing refuses a new route to a retired version and warns on a deprecated one. Training, evaluations and test endpoints still use deprecated or retired versions.

Archive a namespace

To archive or unarchive a namespace, use the corresponding command:

akka optimize registry namespaces archive support-triage
akka optimize registry namespaces unarchive support-triage

Archived namespaces leave the lists unless you pass --archived. References still resolve and aliases still move. Registering a new version is refused with HTTP 409 until you unarchive the namespace.

Archiving a training project does not archive its registry namespace. The CLI tells you that the namespace is not archived and prints the command to archive it. See Training projects.