class RubyLLM::Model

A Model describes one entry in the model registry: the model’s identity, capabilities, modalities, pricing, and provider metadata. Instances come from the registry through RubyLLM.models and from Chat#model.

model = RubyLLM.models.find('gpt-5.4')
model.name              # => "GPT-5.4"
model.provider          # => "openai"
model.context_window    # => 1050000
model.supports?(:vision) # => true