How to use gpt-5.1-codex-max for Azure OpenAI
I can only use gpt-5.1. The versions gpt-5.1-codex and gpt-5.1-codex-max are not usable in LINQPad 9.

An error occurred processing the request. The Azure OpenAI API returned HTTP error code BadRequest The chatCompletion operation does not work with the specified model, gpt-5.1-codex-max. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.
Answers
-
Was the model deployed using Azure Foundry? If so, you'll need to add this by clicking Add Provider and choosing **Custom OpenAI or Azure Foundry Endpoint"*.
