commands.sh

opencode models

all

List all available models from configured providers.

More info →

Options (1)

-h, --helpboolean

Display help

Example: opencode models {{[-h|--help]}}

Examples (5)

List all available models from all configured providers

List models from a specific provider

List models with verbose output including metadata like costs

opencode models --verbose

Refresh the models cache from models.dev

opencode models --refresh

Display help

opencode models [-h|--help]
made by @shridhargupta | data from tldr-pages