## OpenAiModel(name, api_key) {#str_str} Initializes a new instance of [OpenAiModel](../) class. ```python def __init__(self, name: str, api_key: str): ... ``` | Parameter | Type | Description | | ......name | str | The name of the model. For example, gpt-5.2-chat-latest...name | str | The name of the model. For example, gpt-5.2-chat-latest...