Home

stencila models

Manage and interact with generative AI models

Usage

stencila models [COMMAND]

Examples

# List all available models
stencila models

# List models as JSON
stencila models list --as json

# Filter models by provider or ID prefix
stencila models list anthropic

# Run a prompt with automatic model selection
stencila models run "Explain photosynthesis"

# Run with a specific model
stencila models run "Write a poem" --model gpt-4o

# Mix text and file arguments
stencila models run "Summarize this file:" document.txt

# Dry run to see prompt construction
stencila models run "Hello" --dry-run

Subcommands

CommandDescription
listList available models with their capabilities and pricing
runExecute a prompt using a generative AI model
© 2026 Stencila