<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Azure OpenAI v1 API support for External Model Serving / Mosaic AI Gateway? in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/azure-openai-v1-api-support-for-external-model-serving-mosaic-ai/m-p/159840#M1874</link>
    <description>&lt;P&gt;Short answer: based on the current Databricks docs, I would treat the built-in Azure OpenAI external model provider as expecting the older Azure OpenAI configuration shape, not the newer `/openai/v1/` shape.&lt;/P&gt;&lt;P&gt;The key clue is that the Databricks Azure OpenAI provider still documents `openai_api_version` as required and says it is “specified by a date”. The example also uses:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;"openai_api_base": "https://my-azure-openai-endpoint.openai.azure.com",
"openai_deployment_name": "my-gpt-35-turbo-deployment",
"openai_api_version": "2023-05-15"&lt;/PRE&gt;&lt;P&gt;So I would not assume that setting openai_api_version = "v1" is supported unless Databricks confirms it.&lt;/P&gt;&lt;P&gt;What I would try:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;For the built-in Azure OpenAI provider, use the resource root as the base URL:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;"openai_api_type": "azure",
"openai_api_base": "https://&amp;lt;resource&amp;gt;.openai.azure.com",
"openai_deployment_name": "&amp;lt;deployment-name&amp;gt;",
"openai_api_version": "&amp;lt;dated-api-version&amp;gt;"&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;If you specifically need the Azure OpenAI v1 URL shape, use the custom provider instead, because Databricks documents custom for OpenAI-compatible providers not directly supported by Databricks.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For chat completions, that would likely look like:&lt;/P&gt;&lt;PRE&gt;"external_model": {
  "name": "&amp;lt;deployment-name&amp;gt;",
  "provider": "custom",
  "task": "llm/v1/chat",
  "custom_provider_config": {
    "custom_provider_url": "https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1/chat/completions",
    "api_key_auth": {
      "key": "api-key",
      "value": "{{secrets/&amp;lt;scope&amp;gt;/&amp;lt;azure-openai-key&amp;gt;}}"
    }
  }
}&lt;/PRE&gt;&lt;P&gt;Why this works:&lt;/P&gt;&lt;P&gt;Microsoft’s v1 Azure OpenAI API uses:&lt;/P&gt;&lt;PRE&gt;https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1/&lt;/PRE&gt;&lt;P&gt;and no longer requires a dated api-version parameter. Databricks’ built-in Azure OpenAI config, however, still documents a dated openai_api_version, deployment name, and Azure resource base URL. So the custom provider is the cleaner fit if you want to call the v1-style endpoint directly.&lt;/P&gt;&lt;P&gt;Caveat:&lt;/P&gt;&lt;P&gt;I would be careful with /openai/v1/responses. Databricks external model tasks are documented around llm/v1/completions, llm/v1/chat, and llm/v1/embeddings, and the custom provider must be OpenAI API compatible for those task shapes. I do not see /responses documented as a supported external model task shape today, so I would expect /openai/v1/chat/completions to be the safer custom-provider target.&lt;/P&gt;&lt;P&gt;For roadmap questions, such as first-class Azure OpenAI v1 support or Responses API support, I think this needs a Databricks product/support confirmation.&lt;/P&gt;&lt;P&gt;References:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Databricks external models docs: &lt;A href="https://docs.databricks.com/aws/en/generative-ai/external-models/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://docs.databricks.com/aws/en/generative-ai/external-models/&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Microsoft Azure OpenAI v1 API docs: &lt;A href="https://learn.microsoft.com/en-us/azure/foundry/openai/api-version-lifecycle?tabs=python" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://learn.microsoft.com/en-us/azure/foundry/openai/api-version-lifecycle?tabs=python&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 18 Jun 2026 21:19:34 GMT</pubDate>
    <dc:creator>frankieseabrook</dc:creator>
    <dc:date>2026-06-18T21:19:34Z</dc:date>
    <item>
      <title>Azure OpenAI v1 API support for External Model Serving / Mosaic AI Gateway?</title>
      <link>https://community.databricks.com/t5/generative-ai/azure-openai-v1-api-support-for-external-model-serving-mosaic-ai/m-p/158745#M1861</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’m setting up an external model serving endpoint for Azure OpenAI through Databricks Model Serving / Mosaic AI Gateway, and I’m trying to understand whether the newer (more than a year old at this point) Azure OpenAI v1 API is currently supported.&lt;/P&gt;&lt;P&gt;In the built-in &lt;STRONG&gt;OpenAI / Azure OpenAI&lt;/STRONG&gt; provider configuration, Azure OpenAI mode still asks for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OpenAI API base&lt;/LI&gt;&lt;LI&gt;OpenAI deployment name&lt;/LI&gt;&lt;LI&gt;OpenAI API version&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That seems aligned with the older Azure OpenAI pattern, where requests use a dated API version such as 2025-04-01-preview.&lt;/P&gt;&lt;P&gt;However, Microsoft’s &lt;A href="https://learn.microsoft.com/en-us/azure/foundry/openai/api-version-lifecycle?tabs=python" target="_blank"&gt;newer Azure OpenAI v1 API&lt;/A&gt; uses a base URL like:&lt;/P&gt;&lt;P&gt;https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1/&lt;/P&gt;&lt;P&gt;and no longer requires a dated api-version parameter for the v1 API.&lt;/P&gt;&lt;P&gt;A few questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does the built-in Databricks &lt;STRONG&gt;Azure OpenAI&lt;/STRONG&gt; external model provider support v1 as the OpenAI API version, or is that field expected to be a dated Azure API version only?&lt;/LI&gt;&lt;LI&gt;If v1 is supported, what should the fields look like?&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Should OpenAI API base be the resource root, like https://&amp;lt;resource&amp;gt;.openai.azure.com&lt;/LI&gt;&lt;LI&gt;or the v1 base, like https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1?&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;If the built-in Azure OpenAI provider does not support the new v1 URL shape, is the recommended workaround to use &lt;STRONG&gt;Custom Provider&lt;/STRONG&gt; with a full endpoint URL such as:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1/chat/completions&lt;/P&gt;&lt;P&gt;and API key authentication using the api-key header?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is there a roadmap to add first-class support for Azure OpenAI v1 in External Model Serving / Mosaic AI Gateway?&lt;/LI&gt;&lt;LI&gt;Related: does External Model Serving currently support only Chat Completions-style endpoints, or is /openai/v1/responses support planned as well?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If anyone from Databricks or the community has a working example config for Azure OpenAI v1, either through the built-in Azure OpenAI provider or Custom Provider, I’d appreciate it.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 20:32:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/azure-openai-v1-api-support-for-external-model-serving-mosaic-ai/m-p/158745#M1861</guid>
      <dc:creator>mbecker</dc:creator>
      <dc:date>2026-06-10T20:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Azure OpenAI v1 API support for External Model Serving / Mosaic AI Gateway?</title>
      <link>https://community.databricks.com/t5/generative-ai/azure-openai-v1-api-support-for-external-model-serving-mosaic-ai/m-p/159840#M1874</link>
      <description>&lt;P&gt;Short answer: based on the current Databricks docs, I would treat the built-in Azure OpenAI external model provider as expecting the older Azure OpenAI configuration shape, not the newer `/openai/v1/` shape.&lt;/P&gt;&lt;P&gt;The key clue is that the Databricks Azure OpenAI provider still documents `openai_api_version` as required and says it is “specified by a date”. The example also uses:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;"openai_api_base": "https://my-azure-openai-endpoint.openai.azure.com",
"openai_deployment_name": "my-gpt-35-turbo-deployment",
"openai_api_version": "2023-05-15"&lt;/PRE&gt;&lt;P&gt;So I would not assume that setting openai_api_version = "v1" is supported unless Databricks confirms it.&lt;/P&gt;&lt;P&gt;What I would try:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;For the built-in Azure OpenAI provider, use the resource root as the base URL:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;"openai_api_type": "azure",
"openai_api_base": "https://&amp;lt;resource&amp;gt;.openai.azure.com",
"openai_deployment_name": "&amp;lt;deployment-name&amp;gt;",
"openai_api_version": "&amp;lt;dated-api-version&amp;gt;"&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;If you specifically need the Azure OpenAI v1 URL shape, use the custom provider instead, because Databricks documents custom for OpenAI-compatible providers not directly supported by Databricks.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For chat completions, that would likely look like:&lt;/P&gt;&lt;PRE&gt;"external_model": {
  "name": "&amp;lt;deployment-name&amp;gt;",
  "provider": "custom",
  "task": "llm/v1/chat",
  "custom_provider_config": {
    "custom_provider_url": "https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1/chat/completions",
    "api_key_auth": {
      "key": "api-key",
      "value": "{{secrets/&amp;lt;scope&amp;gt;/&amp;lt;azure-openai-key&amp;gt;}}"
    }
  }
}&lt;/PRE&gt;&lt;P&gt;Why this works:&lt;/P&gt;&lt;P&gt;Microsoft’s v1 Azure OpenAI API uses:&lt;/P&gt;&lt;PRE&gt;https://&amp;lt;resource&amp;gt;.openai.azure.com/openai/v1/&lt;/PRE&gt;&lt;P&gt;and no longer requires a dated api-version parameter. Databricks’ built-in Azure OpenAI config, however, still documents a dated openai_api_version, deployment name, and Azure resource base URL. So the custom provider is the cleaner fit if you want to call the v1-style endpoint directly.&lt;/P&gt;&lt;P&gt;Caveat:&lt;/P&gt;&lt;P&gt;I would be careful with /openai/v1/responses. Databricks external model tasks are documented around llm/v1/completions, llm/v1/chat, and llm/v1/embeddings, and the custom provider must be OpenAI API compatible for those task shapes. I do not see /responses documented as a supported external model task shape today, so I would expect /openai/v1/chat/completions to be the safer custom-provider target.&lt;/P&gt;&lt;P&gt;For roadmap questions, such as first-class Azure OpenAI v1 support or Responses API support, I think this needs a Databricks product/support confirmation.&lt;/P&gt;&lt;P&gt;References:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Databricks external models docs: &lt;A href="https://docs.databricks.com/aws/en/generative-ai/external-models/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://docs.databricks.com/aws/en/generative-ai/external-models/&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Microsoft Azure OpenAI v1 API docs: &lt;A href="https://learn.microsoft.com/en-us/azure/foundry/openai/api-version-lifecycle?tabs=python" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://learn.microsoft.com/en-us/azure/foundry/openai/api-version-lifecycle?tabs=python&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 18 Jun 2026 21:19:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/azure-openai-v1-api-support-for-external-model-serving-mosaic-ai/m-p/159840#M1874</guid>
      <dc:creator>frankieseabrook</dc:creator>
      <dc:date>2026-06-18T21:19:34Z</dc:date>
    </item>
  </channel>
</rss>

