# tinker_cookbook.model_info.get_model_attributes

### [**tinker_cookbook.model_info.get_model_attributes**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/model_info.py#L196)( _model_name_)

Get model metadata by name.

**Parameters:**

- [**model_name**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/model_info.py#L196) ( _str_) – HuggingFace model identifier (e.g. "meta-llama/Llama-3.1-8B"). An optional `:checkpoint` suffix is stripped before lookup.

**Returns:** A ModelAttributes instance with organization, size, and renderer info.

**Raises:**

- ConfigurationError: If the model organization is unknown.
- KeyError: If the model version is not found within its organization.

```
from tinker_cookbook.model_info import get_model_attributes
attrs = get_model_attributes("Qwen/Qwen3-8B")
print(attrs.size_str, attrs.recommended_renderers)
```
