# Semantic Kernel .NET can't call Azure OpenAI o1/o3-mini: Model o1 is enabled only for api versions 2024-12-01-preview
Calling an Azure OpenAI o1 deployment (model version 2024-12-17) from Semantic Kernel .NET failed with HTTP 400: "Model o1 is enabled only for api versions 2024-12-01-preview and later". The o1 model name version is not the API version, and SK was sending an older Azure OpenAI API version. Worse, the underlying Azure.AI.OpenAI SDK had no option to select 2024-12-01-preview yet, so there was no supported way to call o1 at all.
## How to handle it
The o1/o3-mini models need Azure OpenAI API version 2024-12-01-preview or later. The workaround in the thread is a custom HttpClient handler (AzureOverrideHandler) passed to the connector to override the API version (and the max_completion_tokens limitation). The upstream fix arrived in Azure.AI.OpenAI 2.2.0-beta1, so updating that package (and Semantic Kernel to a version that picks it up) resolves it cleanly.
Source: https://github.com/microsoft/semantic-kernel/issues/10201