Retrieve detailed information about a model including its Modelfile, parameters, template, system prompt, and model architecture details.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ollama/ollama/llms.txt
Use this file to discover all available pages before exploring further.
Request
Endpoint
Request Body
Name of the model to show information for
Include tensor information in the response (significantly increases response size)
Override the system prompt for display purposes
Deprecated: This parameter is deprecated
Model options to display
Response
Response Fields
Complete Modelfile that can be used to recreate the model
Formatted string of model parameters (one per line)
Prompt template used by the model
System prompt configured for the model
Model architecture and metadata
Low-level model metadata from GGUF/config (key-value pairs)
Vision projector metadata (for multimodal models)
Pre-configured messages embedded in the model
License information for the model
Array of capabilities (e.g., [“completion”, “vision”, “tools”])
Timestamp of last modification (ISO 8601)
Upstream model name (for remote models)
Upstream Ollama host URL (for remote models)
Template renderer used by the model
Output parser used by the model
Minimum Ollama version required
Tensor information (only when
verbose: true)Examples
Basic Model Information
Example Response
Verbose Mode (Including Tensors)
Extract Specific Information (Python)
Display Modelfile (JavaScript)
Error Responses
Description of the error
Common Errors
- 400 Bad Request: Invalid model name or request format
- 404 Not Found: Model not found
- 500 Internal Server Error: Error reading model information
The
modelfile field contains a complete, regenerated Modelfile that can be used with ollama create to recreate the model.Setting
verbose: true will include detailed tensor information, which can make the response very large (hundreds of MB for large models).