> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelArchitecture - Python SDK

> ModelArchitecture method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

Model architecture information

## Fields

| Field               | Type                                                                                                           | Required             | Description                      | Example    |
| ------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------- | ---------- |
| `input_modalities`  | List\[[components.InputModality](/client-sdks/python/api-reference/components/inputmodality)]                  | :heavy\_check\_mark: | Supported input modalities       |            |
| `instruct_type`     | [OptionalNullable\[components.ModelArchitectureInstructType\]](../components/modelarchitectureinstructtype.md) | :heavy\_minus\_sign: | Instruction format type          | chatml     |
| `modality`          | *Nullable\[str]*                                                                                               | :heavy\_check\_mark: | Primary modality of the model    | text->text |
| `output_modalities` | List\[[components.OutputModality](/client-sdks/python/api-reference/components/outputmodality)]                | :heavy\_check\_mark: | Supported output modalities      |            |
| `tokenizer`         | [Optional\[components.ModelGroup\]](../components/modelgroup.md)                                               | :heavy\_minus\_sign: | Tokenizer type used by the model | GPT        |
