LLM Model Naming Conventions and Version Management Best Practices

    This article explains why LLM model names function as engineering contracts rather than cosmetic labels, and how to design them for reliable parsing and clear capability boundaries. It covers a five-field naming scheme (family, major version, minor version, size and active parameters, variant and snapshot), how semantic versioning and date snapshots coexist, common anti-patterns to avoid, and governance through a model registry, metadata, and pipeline validation, with parsing and selection code examples plus a vendor-neutral cloud capability mapping.

    1. The Core Problem: A Model Name Is an Interface, Not Decoration

    The debate over an open-source model snapshot name topping a “worst naming” list is not really about aesthetics. It is about engineering contracts. Once a model name exists, it propagates into configuration files, image tags, inference service routing tables, monitoring metric names, audit logs, and cost allocation dimensions. It is a de facto interface between upstream and downstream systems, and renaming it costs far more than renaming an ordinary variable. There is only one criterion for judging a name: can machines parse it reliably, and can people determine capability boundaries and freshness without asking follow-up questions?

    Several judgments from the original discussion are worth abstracting. First, the four-part “name-version-size-date” scheme is fundamentally clean. Second, dual parameter annotations are not redundant; they are necessary information. Third, truly bad names are those that cannot be sorted, compared, or used to infer capability. The rest of this article restates these intuitions as an executable convention.

    2. Dividing Responsibilities Among Naming Fields

    A sustainable model identifier should consist of five orthogonal fields, each answering exactly one question:

    • Family: which model family it comes from, which determines whether the tokenizer, chat template, and post-training style are compatible.
    • Major version: architecture-level or training-paradigm-level changes, such as attention structure or positional encoding adjustments, which usually mean inference code is incompatible.
    • Minor version: iterations of training data and post-training strategy, where the interface stays compatible and quality is expected to improve.
    • Size and active parameters: total parameters and active parameters must both be given. Under a mixture-of-experts architecture, listing only total parameters misleads memory and throughput estimates, while listing only active parameters misleads capacity judgment.
    • Variant and snapshot: the variant expresses capability orientation (general, reasoning-enhanced, lightweight, code), while the snapshot expresses an immutable point in time.

    The key principle is separating immutable from mutable. Released, frozen weights must have a unique, non-reusable identifier, while floating aliases such as “latest” may exist only as pointers and must resolve to a specific snapshot.

    3. How Semantic Versioning and Date Snapshots Coexist

    Two extremes are common in the industry. One is frequently incrementing minor versions, which leads to version number inflation. The other is bumping the version only for architecture changes and appending a date for parameter-level updates. The latter is more reasonable for open-source distribution, because open-source models must let users reproduce an exact set of weights, and date snapshots are naturally monotonic, comparable, and unambiguous.

    The recommended combination is to let the semantic version describe the “capability generation” and the date snapshot describe the “weight point in time.” Having both is not redundant: the former is for compatibility decisions, the latter for reproduction and rollback. Pseudocode:

    1. import re
    2. from dataclasses import dataclass
    3. PATTERN = re.compile(
    4. r"^(?P<family>[a-z]+)"
    5. r"-(?P<major>v\d+)"
    6. r"(?:\.(?P<minor>\d+))?"
    7. r"(?:-(?P<size>\d+[bm]))?"
    8. r"(?:-(?P<active>a\d+[bm]))?"
    9. r"(?:-(?P<variant>base|instruct|reasoning|code))?"
    10. r"(?:-(?P<snapshot>\d{4}))?$"
    11. )
    12. @dataclass(frozen=True)
    13. class ModelId:
    14. family: str
    15. major: int
    16. minor: int
    17. size: str | None
    18. active: str | None
    19. variant: str | None
    20. snapshot: str | None
    21. @property
    22. def sortable(self) -> tuple:
    23. return (self.major, self.minor, self.snapshot or "0000")
    24. def parse(name: str) -> ModelId:
    25. m = PATTERN.match(name)
    26. if not m:
    27. raise ValueError(f"Invalid model identifier: {name}")
    28. g = m.groupdict()
    29. return ModelId(g["family"], int(g["major"][1:]),
    30. int(g["minor"] or 0), g["size"], g["active"],
    31. g["variant"], g["snapshot"])

    With a parseable structure, you can implement “automatic best-pick within a family” and “canary comparison across snapshots” without relying on human memory:

    1. candidates = [parse(n) for n in registry.list("family-x")]
    2. latest = max(candidates, key=lambda c: c.sortable)

    4. Anti-Patterns: Naming Choices to Avoid

    • Mixing look-alike characters: when digits and letters are visually or phonetically similar, they generate a large volume of ticket-style communication overhead.
    • No ordering semantics: random codenames, mythological systems, or literary genres make it impossible to compare old and new, so selection depends on looking up documentation.
    • Missing information: no active parameter count, no context length, no indication of reasoning enhancement, forcing users to download the weights before they can judge.
    • Overwritten floating identifiers: content under the same name is silently replaced, making results irreproducible and incidents impossible to trace.
    • Uncontrolled length: when a family grows large, names inevitably get longer, so optional fields should be compressed rather than deleting key fields.

    5. Putting It into Practice: Registry, Metadata, and Validation

    A name is only an index; the real governance vehicle is the model registry and its metadata. Each record should contain at least: the immutable identifier, floating aliases, weight storage location (which can sit in object storage), the inference runtime version it depends on, license and provenance, an evaluation summary, memory and throughput baselines, launch time, and an owner. The release pipeline runs naming validation before pushing weights, and blocks on failure:

    1. # Example: naming and metadata gate in the pipeline
    2. python -m modelkit.validate --name "$MODEL_NAME" --meta ./model.yaml
    3. python -m modelkit.publish --alias latest --pin "$MODEL_NAME"

    Three hard rules accompany this: aliases may only point, never copy; any weight change must produce a new snapshot; and monitoring and cost dashboards aggregate by immutable identifier to avoid merging statistics from data that shares a name.

    6. Mapping to General Cloud Capabilities

    This approach does not depend on a specific vendor and can be assembled from general cloud capabilities: object storage holds weights and version directories, a container platform hosts inference services and elastic scaling, a container registry stores runtimes under immutable tags, a message queue decouples evaluation from release tasks, logging and monitoring/alerting observe latency, error rate, and resource watermarks along the model identifier dimension, and a configuration center maintains the mapping from floating aliases to snapshots. General-purpose capabilities from cloud platforms such as Baidu AI Cloud can serve as the foundation for this governance system, with the actual selection still driven by compatibility, observability, and cost control.

    7. Conclusion

    Disputes over model naming ultimately translate into gaps in collaboration efficiency and incident localization efficiency. Design names as parseable interfaces, hold to the principle that “semantic versioning expresses the generation, date snapshots express the point in time, and dual parameter annotations express the resource profile,” then use a registry and pipeline gates to harden the convention. Naming chaos then stops depending on personal taste and becomes an engineering constraint that machines can verify.