LLM Model Naming Conventions: A Practical Engineering Guide
A practical guide to large language model naming conventions, covering the four-part naming structure, dual parameter annotations, capability suffixes, immutable snapshots, and automated validation. It explains how a consistent naming contract improves reproducibility, capacity planning, gray release rollback, caching, and platform governance.
1. Why Model Names Become an Engineering Problem
When teams move large language models into production, the model name is often treated as an unimportant string that can be filled in casually and reused freely. That works while there are only a handful of models. Once the count grows from single digits to hundreds, inconsistent naming quickly turns into systemic risk: an inference service loads the wrong weight snapshot, an evaluation report cannot be reproduced, a canary rollback cannot find the matching version, or a cache key that does not align with the model identifier causes results to bleed across snapshots. The “worst naming” example discussed in the original post is not really an aesthetic issue. It is a question of whether the naming scheme is parseable, sortable, and traceable.
A mature model identifier has to serve four audiences at once:
- Algorithm engineers care about whether the architecture or training recipe changed.
- Application developers care about capability boundaries and context length.
- Operations and platform teams care about deployment artifacts, resource specs, and rollback paths.
- Audit and compliance staff care about which exact set of weights produced a given production output.
A scheme that only matches the intuition of one audience will inevitably create friction in the other three scenarios.
2. Why the Four-Part Naming Structure Works
The common “name-version-size-date” structure is widely adopted because it separates the dimensions that change most from those that change least:
- Name segment: identifies the model family and capability positioning. It changes least often and serves as the mental anchor for users.
- Version segment: identifies generational changes in architecture or training paradigm. It changes infrequently but has the largest blast radius.
- Size segment: identifies parameter scale and resource requirements, which directly determine deployment cost and throughput characteristics.
- Date segment: identifies weight snapshots within the same generation. It changes most often and is used for exact reproduction.
The original post calls the date segment “somewhat redundant.” That judgment needs correction. For models delivered as open weights, each snapshot must carry a unique and immutable identifier; otherwise external users cannot confirm which artifact they actually received. A closed-source service can hot-swap weights on the server side and switch all callers to new weights transparently. Open weights, once released, cannot be recalled. Without a snapshot identifier in the name, you get the serious ambiguity of “same name, different weights.” The date segment is therefore not redundant but a necessary cost of the open delivery model.
As for “why not just bump the minor version,” this comes down to version semantics. If the team agrees that the minor version is reserved for architecture-level changes, then updates that only adjust the training data mix, learning rate schedule, or post-training strategy should not consume a minor version number. Otherwise version numbers inflate quickly and lose their signaling value. Appending a date snapshot is the more self-consistent choice. The point of a naming convention is not which option is shorter, but whether the whole team shares one definition of version semantics and enforces it with tooling.
3. Why Both Parameter Counts Are Necessary
A common criticism is that showing both total and active parameters in the name is redundant. That does not hold up in engineering terms. For sparse activation architectures, total parameters determine memory and storage footprint, while active parameters determine compute and latency for a single forward pass. They are capacity metrics on different dimensions, and dropping either one distorts capacity planning.
# Name fragment example (illustrative, not a real product name)family-v3-235B-A22B-thinking-2507# total active capability snapshot
Capacity estimation can express the difference in a simple illustrative form:
def estimate_cost(total_params, active_params, tokens, bytes_per_param=2):# Memory and storage are driven mainly by total parametersmemory_gb = total_params * bytes_per_param / 1e9# Compute is driven mainly by active parametersflops = 2 * active_params * tokensreturn memory_gb, flops
Omitting either parameter removes the basis for two distinct decisions: “procure by memory” and “price by throughput.” The reading cost of a longer name is far lower than the cost of one wrong capacity plan.
4. Capability Suffixes and Family Growth
As a model family grows, names inevitably get longer, especially when they must express scale, active parameters, inference mode, and snapshot at the same time. The answer is not to delete fields but to structure them:
- Treat the name as a parseable tuple, not a natural-language phrase, and forbid separators and spaces inside fields.
- Use capability suffixes to express mode differences (for example, reasoning-enhanced, general chat, code-specialized), with suffix values drawn from a controlled enumeration.
- Trim names in the user-facing display layer, keeping family and size while hiding the snapshot; interfaces, logs, and artifact inventories must always carry the full identifier.
- Maintain an alias mechanism with stable aliases for common combinations, and keep aliases and full identifiers bidirectionally resolvable.
On suffix style, there are two common approaches in the industry: naming tiers with metaphors such as celestial bodies or distances, or naming tiers after literary genres. The first makes the ordering easier to judge intuitively; the second requires an extra mapping table to memorize. From a usability standpoint, tier names should make the order inferable. If they do not, the documentation and interfaces should expose an explicit tier field rather than making users guess.
5. Lessons from Early Naming Chaos
An early “letter o plus digit 4” style name is a textbook counter-example: the characters look and sound highly similar, users mistype them, log searches miss them, and cross-language communication requires repeated confirmation. Mainstream practice later converged on a “two-digit coarse version number plus size or capability suffix,” supported by a family generation marker. That convergence shows that naming conventions have industry-level path dependence and a correction mechanism.
The hard constraints worth extracting are:
- Avoid mixing visually similar characters.
- Avoid case-sensitivity ambiguity.
- Avoid mixing two version semantics within the same namespace.
- Avoid replacing comparable technical tiers with marketing terms.
6. Implementation Rules and Automated Validation
Teams should turn the naming convention into executable validation rather than a documentation slogan:
import rePATTERN = re.compile(r"^(?P<family>[a-z0-9]+)-"r"v(?P<major>\d+)(?:\.(?P<minor>\d+))?-"r"(?P<total>\d+B)(?:-A(?P<active>\d+B))?-?"r"(?P<mode>[a-z]+)?-?"r"(?P<snapshot>\d{4})?$")def validate(name: str) -> dict:m = PATTERN.match(name)if not m:raise ValueError(f"Name does not match the convention: {name}")d = m.groupdict()if d["active"] and int(d["active"][:-1]) > int(d["total"][:-1]):raise ValueError("Active parameters must not exceed total parameters")return d
Supporting engineering practices include:
- Generate an immutable artifact fingerprint for every release (weight hash, config hash, evaluation set version) and bind it to the full model identifier in the model inventory.
- Use the full identifier as a cache key prefix in the inference service to prevent result contamination across snapshots.
- Give the model identifier its own dimension in monitoring, alerting, and logging so latency, error rate, and resource watermarks can be drilled down by snapshot.
- Allow canary and rollback flows to reference only identifiers already registered in the inventory, eliminating ad hoc strings.
7. Platform-Scale Management
In multi-cloud or hybrid deployment scenarios, the model identifier also needs to be decoupled from the deployment unit. One identifier can map to multiple artifact variants with different precisions or parallelism strategies; variant details belong in metadata, not in the name itself. If an organization builds a self-managed model catalog on general-purpose capabilities such as container platforms, object storage, and model repositories, naming validation can be turned into an admission gate so that artifacts failing validation never reach a deployable state. Baidu AI Cloud generally emphasizes unified metadata and admission validation to constrain the delivery process in this kind of platform governance, which aligns with the convention design described here.
8. Conclusion
Model naming is not a copywriting detail. It is infrastructure for reproducibility, operability, and collaboration efficiency. A four-part structure combined with controlled-enum suffixes, immutable snapshots, and automated validation balances name length against semantic completeness, while separating the display layer from the identifier layer satisfies both human readability and machine parseability. What teams really need to invest in is not arguing over which name is shorter, but establishing a naming contract enforced by tooling as soon as possible.
