whatmodel
Explain LLM model names in plain English: give it gemma4:e2b-it-qat and it tells you what each part means, plus the facts the name leaves out.
It reads names from Ollama, Hugging Face and GGUF files. There are no LLM calls: every explanation comes from a plain data file and from model metadata.
Install
uv tool install whatmodel
Or run it once without installing:
uvx whatmodel qwen3.5:4b
pip install whatmodel works too. Python 3.10 or newer.
Examples
The outputs below are pasted from real runs.
An Ollama name
$ whatmodel gemma4:e2b-it-qat
gemma4:e2b-it-qat
┌──────────────┬────────────────────────────────────┬──────────────┐
│ Field │ Value │ Source │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Family │ Gemma 4 (Google) │ name │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Size │ effective 2B parameters │ name │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Tuning │ instruction tuned (ready for chat) │ name │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Compression │ quantization-aware trained │ name │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Runs │ locally │ name │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Parameters │ 4.6B │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Compression │ 4-bit (Q4_0) │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Architecture │ dense │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Context │ 128k tokens │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Tools │ yes │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Vision │ yes │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ Thinking │ yes │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ License │ Apache License, Version 2.0 │ local Ollama │
├──────────────┼────────────────────────────────────┼──────────────┤
│ File size │ 4.3 GB │ local Ollama │
└──────────────┴────────────────────────────────────┴──────────────┘
The Source column says where each row came from: name rows are read from the name alone, and the rest are looked up, here from the Ollama running on the same machine.
A Hugging Face repo
$ whatmodel bartowski/Qwen_Qwen3-30B-A3B-GGUF
bartowski/Qwen_Qwen3-30B-A3B-GGUF
┌──────────────┬────────────────────────────────────────────┬──────────────┐
│ Field │ Value │ Source │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Publisher │ bartowski (community GGUF conversions) │ name │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Family │ Qwen 3 (Alibaba) │ name │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Size │ 30B parameters, 3B active per token │ name │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Architecture │ mixture of experts │ name │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Format │ GGUF (for llama.cpp, Ollama and LM Studio) │ name │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Runs │ locally │ name │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Parameters │ 30.5B │ Hugging Face │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Context │ 32k tokens │ Hugging Face │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ Tools │ yes (judged from the chat template) │ Hugging Face │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ License │ apache-2.0 │ Hugging Face │
├──────────────┼────────────────────────────────────────────┼──────────────┤
│ File size │ 8.1 GB to 39.7 GB, 28 GGUF files │ Hugging Face │
└──────────────┴────────────────────────────────────────────┴──────────────┘
A GGUF file name
$ whatmodel Llama-3-8B-Instruct.Q4_K_M.gguf
Llama-3-8B-Instruct.Q4_K_M.gguf
┌─────────────┬────────────────────────────────────────────┬────────┐
│ Field │ Value │ Source │
├─────────────┼────────────────────────────────────────────┼────────┤
│ Family │ Llama 3 (Meta) │ name │
├─────────────┼────────────────────────────────────────────┼────────┤
│ Size │ 8B parameters │ name │
├─────────────┼────────────────────────────────────────────┼────────┤
│ Tuning │ instruction tuned (ready for chat) │ name │
├─────────────┼────────────────────────────────────────────┼────────┤
│ Compression │ 4-bit (Q4_K_M, the balanced variant) │ name │
├─────────────┼────────────────────────────────────────────┼────────┤
│ Format │ GGUF (for llama.cpp, Ollama and LM Studio) │ name │
├─────────────┼────────────────────────────────────────────┼────────┤
│ Runs │ locally │ name │
└─────────────┴────────────────────────────────────────────┴────────┘
A file name has nothing to look up, so every row comes from the name.
Usage
whatmodel <name> explain one name
whatmodel <name> <name>... explain several
whatmodel list explain every model installed in local Ollama
whatmodel tokens print the token dictionary
| Flag | What it does |
|---|---|
--json |
Print JSON. One name gives an object, several names give a list. |
--offline |
Read the name only and make no network requests. |
--ollama-url URL |
Where Ollama listens. Defaults to http://localhost:11434, or OLLAMA_HOST if set. |
--verbose, -v |
Add a column with a one-sentence explanation of each row. |
--version |
Print the version. |
Accepted name formats:
- Ollama:
[host/][namespace/]model[:tag], for exampleqwen3.5:4borhf.co/bartowski/Qwen_Qwen3-30B-A3B-GGUF:Q4_K_M - Hugging Face:
org/repo, or a pastedhttps://huggingface.co/org/repolink - File names:
Llama-3-8B-Instruct.Q4_K_M.gguf, with or without a folder in front
A model that happens to be called list or tokens can be explained with whatmodel explain list.
Unknown and ambiguous tokens
whatmodel never guesses. A token that is not in its dictionary is reported as unknown. A token with two possible meanings is shown with both:
$ whatmodel qwen-max-0725 --offline
qwen-max-0725
┌───────────┬───────────────────────────────────────┬────────┐
│ Field │ Value │ Source │
├───────────┼───────────────────────────────────────┼────────┤
│ Family │ Qwen (Alibaba) │ name │
├───────────┼───────────────────────────────────────┼────────┤
│ Tier │ max tier (the most capable option) │ name │
├───────────┼───────────────────────────────────────┼────────┤
│ Build │ latest (the default build) │ name │
├───────────┼───────────────────────────────────────┼────────┤
│ Runs │ locally │ name │
├───────────┼───────────────────────────────────────┼────────┤
│ Ambiguous │ 0725: dated 07-25 (month-day) [build] │ name │
│ │ or released 2025-07 [build] │ │
└───────────┴───────────────────────────────────────┴────────┘
The same applies to a name such as org/model with no tag, which fits both a Hugging Face repo and an Ollama model. Both readings are named unless a lookup settles which one it is.
Where the facts come from
The lookup step tries two sources in order and merges them:
- The local Ollama API (
/api/showand/api/tags), for models you have installed. - The Hugging Face Hub API, for names that contain
org/repo.
Timeouts are short. A source that is offline, slow, or does not know the model is skipped, and the name is still explained. In JSON every item carries a source of name, ollama or huggingface, and lookups reports what happened with each source.
Library
from whatmodel import parse, explain
parsed = parse("qwen3.5:4b") # the name only, no network
parsed.family, parsed.version, parsed.size # ('qwen', '3.5', '4B')
parsed.unknown # tokens the dictionary does not know
info = explain("qwen3.5:4b") # the name plus lookups
info.facts # looked-up facts, each with its source
info.to_dict() # the same data --json prints
explain(name, offline=True) makes no requests at all.
What the name cannot tell you
A model name is a label chosen by whoever published it. Even a fully understood name leaves these open, which is what the lookup step is for:
- The exact compression.
qatsays how a model was trained, not how many bits it uses. A bare tag such as:4bsays nothing about compression at all. - What
latestpoints to. It is a moving pointer. The size and compression behind it can change. - The real parameter count.
4bis a rounded label. The model above is callede2band has 4.6 billion parameters. - Context length. Rarely in the name, and the usable value also depends on how the model is run.
- Capabilities. Tool calling, vision and thinking are usually not in the name.
- The license. Never in the name.
- Who trained it. The publisher in
org/repois often a third party who converted the model. - File size and memory needs. These depend on compression and format. whatmodel reports file size when a source has it and does not estimate whether a model fits your hardware.
And some things no lookup settles: a name does not tell you how good a model is.
Adding a token
Every meaning whatmodel knows lives in one file, whatmodel/tokens.yaml. No Python is needed to teach it a new token:
- pattern: olmo
category: family
label: OLMo
maker: Allen Institute for AI
explanation: The open language model family from the Allen Institute for AI.
Then check it:
uv run pytest
uv run whatmodel olmo-2:7b --offline
CONTRIBUTING.md covers patterns, regex entries and the rules entries must follow.
License
MIT. See LICENSE.
Metadata
Release files for whatmodel 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whatmodel-0.0.1.tar.gz | 53.5 kB | With provenance | Details for whatmodel-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whatmodel-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for whatmodel-0.0.1-py3-none-any.whl |
Total release size: 91.9 kB
Release files / whatmodel-0.0.1.tar.gz
| Download URL | whatmodel-0.0.1.tar.gz |
|---|---|
| Size | 53.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36009d0c15fb07058d30487d3a1cb52240328bb102f03947b1905cd759178049
|
|
BLAKE2b-256 checksum How to use checksums |
344c21e505abe1508739f46024bdb3d0eb45649f959e84e8e4c323a2be2afa6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / whatmodel-0.0.1-py3-none-any.whl
| Download URL | whatmodel-0.0.1-py3-none-any.whl |
|---|---|
| Size | 38.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec8e4e76254102162d0ba3c43ade48b1a798d199cb315f05f63b4eb6faa3866a
|
|
BLAKE2b-256 checksum How to use checksums |
4b2adea091c44291acfb04a7b302addb9a812952c74ed19cea9a03132d3c5ba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for whatmodel 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for whatmodel-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.