Synopsis
Description
Theshow command displays detailed information about a model, including:
- Architecture and parameters
- Modelfile configuration
- System prompt and template
- License information
- Model capabilities
- Quantization details
Arguments
Name of the model to inspectExamples:
llama3.2mistral:7b-instructmyusername/custom-model
Options
Display only the model’s license
Display only the Modelfile used to create this model
Display only the model parameters
Display only the prompt template
Display only the system message
Short:
-vShow detailed model information including metadata and tensor detailsOnly one display option (
--license, --modelfile, etc.) can be used at a time.Examples
Basic Information
Display all model information:View Modelfile
See the Modelfile used to create the model:View Parameters Only
Display just the parameters:View System Prompt
See the system message:View Template
Display the prompt template:View License
Display license information:Verbose Output
Get detailed metadata and tensor information:Output Sections
Model Information
Basic model details:- Architecture: Model architecture (llama, mistral, etc.)
- Parameters: Number of parameters (3B, 7B, 13B, etc.)
- Context length: Maximum context window size
- Quantization: Quantization level applied
- Remote model: If this is a cloud model, shows remote details
Capabilities
What the model can do:completion- Text completionchat- Conversational chatembedding- Generate embeddingsvision- Process images (multimodal)thinking- Reasoning/thinking outputimage- Generate images
Parameters
Model runtime parameters:temperature- Randomness in generationtop_p- Nucleus sampling thresholdtop_k- Top-k sampling valuerepeat_penalty- Penalty for repetitionnum_ctx- Context window size- And more…
System
The system prompt that defines the model’s behavior.Template
The chat template used to format prompts.License
Licensing information for the model.Scripting Usage
Extract specific information for scripts:Comparing Models
Compare two models side-by-side:Environment Variables
Ollama server address
Exit Codes
0- Success1- Error (model not found, server not running, etc.)
Troubleshooting
Model Not Found
Server Not Running
Use Cases
Verify Model
Confirm a model was created correctly with the right parameters
Debug Issues
Troubleshoot model behavior by inspecting configuration
Clone Models
Extract Modelfile to recreate or modify a model
Documentation
Generate documentation about your model’s configuration
Related Commands
ollama list- List all available modelsollama create- Create a model with specific configurationollama run- Run a model after inspecting itollama pull- Pull a model to inspect