You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Upgrade from GitHub Models to Azure AI Foundry Models
3
3
titleSuffix: Azure AI Foundry for GitHub
4
-
description: Learn how to upgrade your endpoint from GitHub Models to Azure AI Foundry Models
4
+
description: Learn how to upgrade from GitHub Models to Azure AI Foundry Models for production-ready AI applications with enhanced features.
5
5
ms.service: azure-ai-foundry
6
6
ms.subservice: azure-ai-foundry-model-inference
7
7
ms.topic: how-to
8
-
ms.date: 05/19/2025
8
+
ms.date: 09/30/2025
9
9
ms.custom: ignite-2024, github-universe-2024
10
10
author: msakande
11
11
ms.author: mopeakande
12
12
recommendations: false
13
-
ms.reviewer: fasantia
14
-
reviewer: santiagxf
13
+
#CustomerIntent: As a developer using GitHub Models, I want to learn how to upgrade my endpoint to Azure AI Foundry Models so that I can access enhanced features and capabilities for my AI applications.
15
14
---
16
15
17
16
# Upgrade from GitHub Models to Azure AI Foundry Models
18
17
19
-
If you want to develop a generative AI application, you can use [GitHub Models](https://docs.github.com/en/github-models/) to find and experiment with AI models for free. The playground and free API usage are [rate limited](https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits) by requests per minute, requests per day, tokens per request, and concurrent requests. If you get rate limited, you need to wait for the rate limit that you hit to reset before you can make more requests.
18
+
In this article, learn to develop a generative AI application by starting from GitHub Modelsand then deploying upgrading your experience by deploying an Azure AI Services resource with Azure AI Foundry Models.
20
19
21
-
Once you're ready to bring your application to production, you can upgrade your experience by deploying an Azure AI Services resource in an Azure subscription and start using Azure AI Foundry Models service. You don't need to change anything else in your code.
20
+
[GitHub Models](https://docs.github.com/en/github-models/) are useful when you want to find and experiment with AI models for free as you develop a generative AI application. When you're ready to bring your application to production, upgrade your experience by deploying an Azure AI Services resource in an Azure subscription and start using Azure AI Foundry Models service. You don't need to change anything else in your code.
22
21
23
-
The following article explains how to get started from GitHub Models and deploy an Azure AI Services resource with Azure AI Foundry Models.
22
+
The playground and free API usage for GitHub Models are [rate limited](https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits) by requests per minute, requests per day, tokens per request, and concurrent requests. If you get rate limited, you need to wait for the rate limit that you hit to reset before you can make more requests.
24
23
25
24
## Prerequisites
26
25
@@ -31,45 +30,45 @@ To complete this tutorial, you need:
31
30
32
31
## Upgrade to Azure AI Foundry Models
33
32
34
-
The rate limits for the playground and free API usage are intended to help you experiment with models and develop your AI application. Once you're ready to bring your application to production, use a key and endpoint from a paid Azure account. You don't need to change anything else in your code.
33
+
The rate limits for the playground and free API usage help you experiment with models and develop your AI application. When you're ready to bring your application to production, use a key and endpoint from a paid Azure account. You don't need to change anything else in your code.
35
34
36
-
To obtain the key and endpoint:
35
+
To get the key and endpoint:
37
36
38
37
1. Go to [GitHub Models](https://github.com/marketplace/models) and select the model you're interested in.
39
38
40
39
1. In the playground for your model, select **Get API key**.
41
40
42
-
2. Select **Get production key**.
41
+
1. Select **Get production key**.
43
42
44
43
:::image type="content" source="../media/quickstart-github-models/github-models-upgrade.gif" alt-text="An animation showing how to upgrade GitHub Models to get a production ready resource." lightbox="../media/quickstart-github-models/github-models-upgrade.gif":::
45
44
46
-
3. If you don't have an Azure account, select Create my account and follow the steps to create one.
45
+
1. If you don't have an Azure account, select **Create my account** and follow the steps to create one.
47
46
48
-
4. If you have an Azure account, select **Sign back in**.
47
+
1. If you have an Azure account, select **Sign back in**.
49
48
50
-
5. If your existing account is a free account, you first have to upgrade to a Standard plan. Once you upgrade, go back to the playground and select **Get API key** again, then sign in with your upgraded account.
49
+
1. If your existing account is a free account, you first have to upgrade to a Standard plan. Once you upgrade, go back to the playground and select **Get API key** again, then sign in with your upgraded account.
51
50
52
-
6. Once you've signed in to your Azure account, you're taken to [Azure AI Foundry > GitHub](https://ai.azure.com/GitHub). It might take one or two minutes to load your initial model details in AI Foundry.
51
+
1. When you sign in to your Azure account, you're taken to [Azure AI Foundry > GitHub](https://ai.azure.com/GitHub). It might take one or two minutes to load your initial model details in AI Foundry.
53
52
54
-
7. The page is loaded with your model's details. Select the **Deploy** button to deploy the model to your account.
53
+
1. The page loads with your model's details. Select the **Deploy** button to deploy the model to your account.
55
54
56
-
8. Once it's deployed, your model's API Key and endpoint are shown in the Overview. Use these values in your code to use the model in your production environment.
55
+
1. When it's deployed, your model's API Key and endpoint appear in the Overview. Use these values in your code to use the model in your production environment.
57
56
58
57
At this point, the model you selected is ready to consume.
59
58
60
59
## Upgrade your code to use the new endpoint
61
60
62
-
Once your Azure AI Services resource is configured, you can start consuming it from your code. To consume the Azure AI Services resource, you need the endpoint URL and key, which are available in the **Overview** section:
61
+
After you configure your Azure AI Services resource, you can start using it from your code. To use the Azure AI Services resource, you need the endpoint URL and key, which you can find in the **Overview** section:
63
62
64
63
:::image type="content" source="../media/overview/overview-endpoint-and-key.png" alt-text="Screenshot showing how to get the URL and key associated with the resource." lightbox="../media/overview/overview-endpoint-and-key.png":::
65
64
66
-
You can use any of the supported SDKs to get predictions out from the endpoint. The following SDKs are officially supported:
65
+
You can use any of the supported SDKs to get predictions from the endpoint. The following SDKs are officially supported:
67
66
68
67
* OpenAI SDK
69
68
* Azure OpenAI SDK
70
69
* Azure AI Inference SDK
71
70
72
-
See the [supported languages and SDKs](../../model-inference/supported-languages.md) section for more details and examples. The following example shows how to use the Azure AI Foundry Models SDK with the newly deployed model:
71
+
For more details and examples, see the [supported languages and SDKs](../supported-languages.md) section. The following example shows how to use the Azure AI Foundry Models SDK with the newly deployed model:
@@ -80,24 +79,24 @@ Generate your first chat completion:
80
79
Use the parameter `model="<deployment-name>` to route your request to this deployment. *Deployments work as an alias of a given model under certain configurations*. See [Routing](inference.md#routing) concept page to learn how Azure AI Services route deployments.
81
80
82
81
> [!IMPORTANT]
83
-
> As opposite to GitHub Models where all the models are already configured, the Azure AI Services resource allows you to control which models are available in your endpoint and under which configuration. Add as many models as you plan to use before indicating them in the `model` parameter. Learn how to [add more models](../../model-inference/how-to/create-model-deployments.md) to your resource.
82
+
> Unlike GitHub Models where all the models are already configured, the Azure AI Services resource allows you to control which models are available in your endpoint and under which configuration. Add as many models as you plan to use before indicating them in the `model` parameter. Learn how to [add more models](../../model-inference/how-to/create-model-deployments.md) to your resource.
84
83
85
84
## Explore additional features
86
85
87
-
Azure AI Foundry Models supports additional features not available in GitHub Models, including:
86
+
Azure AI Foundry Models supports additional features that aren't available in GitHub Models, including:
88
87
89
-
*[Explore the model catalog](https://ai.azure.com/github/models) to see additional models not available in GitHub Models.
88
+
*[Explore the model catalog](https://ai.azure.com/github/models) to see more models.
0 commit comments