ClaudeCode.Model.Info (ClaudeCode v0.36.3)
View SourceInformation about an available model.
Returned as part of the initialization response from the CLI.
Fields
:value- Model identifier to use in API calls:display_name- Human-readable display name:description- Description of the model's capabilities:supports_effort- Whether this model supports effort levels:supported_effort_levels- Available effort levels (e.g.,[:low, :medium, :high]):supports_adaptive_thinking- Whether this model supports adaptive thinking:supports_fast_mode- Whether this model supports fast mode:supports_auto_mode- Whether this model supports auto mode (optional)
Summary
Types
Functions
Creates a Model.Info from a JSON map.
Examples
iex> ClaudeCode.Model.Info.new(%{"value" => "claude-sonnet-4-6", "displayName" => "Claude Sonnet 4.6", "description" => "Fast model"})
%ClaudeCode.Model.Info{value: "claude-sonnet-4-6", display_name: "Claude Sonnet 4.6", description: "Fast model", supports_effort: false, supported_effort_levels: [], supports_adaptive_thinking: false, supports_fast_mode: false}