New Tool Radar

Local AI

How to Check a Model’s License and Settings with ollama show

Read a downloaded model's license and default parameters with ollama show before you build anything on it.

Schematic diagram with three steps: check the license with ollama show --license, check parameters with --parameters, then read the full summary with ollama show.

Before you build anything on a downloaded model — ship it inside a product, tune how it answers, or write a Modelfile from it — read what the model itself says about its license and its settings. ollama show prints that information for a model on your computer: by default a summary of the model, and with a flag, one part of it only. It is the fastest way to answer two questions that guessing cannot: “may I use this model this way?” and “how is this model set up to answer?”

What ollama show prints

Run ollama show llama3.2 and you get a summary: architecture, parameter count, context length, quantization, capabilities and default parameters. Each flag below pulls out one section only, which is handy when you want one answer instead of the whole summary.

Command What it prints When you need it
ollama show llama3.2 --license The model’s license text Before sharing or shipping anything built on the model
ollama show llama3.2 --parameters Default parameters such as temperature, top_k and stop tokens Before tuning how the model answers
ollama show llama3.2 --modelfile The full Modelfile used to create the model As a starting point for your own model
ollama show llama3.2 --template The prompt template When a reply looks oddly formatted
ollama show llama3.2 --system The built-in system message, if there is one When the model behaves as if it has instructions you did not give
ollama show llama3.2 -v Extended metadata, including tensor shapes and layer counts When you need the model’s full technical detail

Try it: a two-minute license and settings check

Pick a model you have downloaded, for example llama3.2, and work through the checks below. Write down what you find: the point is to have the answers on paper before you use the model for anything beyond a chat.

Check Command Write down
1. License ollama show llama3.2 --license The name of the license printed at the top of the text
2. Parameters ollama show llama3.2 --parameters The temperature value and the context length, if shown
3. Full summary ollama show llama3.2 The architecture and quantization, to compare with what you expected

Expected result. We checked the Ollama CLI command guides for ollama show and its flags. We did not run ollama show on this machine.

Limits

ollama show only reports what the model carries; it cannot judge whether a license permits your planned use, so read the license text yourself before sharing or shipping anything. The parameters it prints are the model’s own defaults, not settings you changed in a chat session, and a model with no system message simply prints nothing for --system. The command also only works for models already on your computer: run ollama list first if you are not sure of the exact name. We did not test any of this ourselves.

Sources

See all