Skip to content

Commit fe071e1

Browse files
Merge pull request #4440 from mrbullwinkle/mrb_04_30_2025_freshness_002
[Azure OpenAI] freshness update pass
2 parents fed3497 + b315982 commit fe071e1

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

articles/ai-services/openai/how-to/create-resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: nitinme
66
ms.service: azure-ai-openai
77
ms.custom: devx-track-azurecli, build-2023, build-2023-dataai, devx-track-azurepowershell, innovation-engine
88
ms.topic: how-to
9-
ms.date: 01/31/2025
9+
ms.date: 04/30/2025
1010
zone_pivot_groups: openai-create-resource
1111
author: mrbullwinkle
1212
ms.author: mbullwin

articles/ai-services/openai/how-to/manage-costs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: mbullwin
66
ms.custom: subject-cost-optimization
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 01/31/2025
9+
ms.date: 04/30/2025
1010
---
1111

1212

@@ -30,7 +30,7 @@ Azure OpenAI Service runs on Azure infrastructure that accrues costs when you de
3030

3131
### Model inference chat completions
3232

33-
Azure OpenAI chat completions model inference is [charged per 1,000 tokens with different rates](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) depending on model and [deployment type](./deployment-types.md).
33+
Azure OpenAI chat completions model inference is [charged per 1,000 tokens with different rates](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) depending on model and [deployment type](./deployment-types.md). For most models pricing is now listed in terms of 1 million tokens.
3434

3535
Azure OpenAI models understand and process text by breaking it down into tokens. For reference, each token is roughly four characters for typical English text.
3636

articles/ai-services/openai/how-to/managed-identity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure OpenAI
44
description: Provides guidance on how to set managed identity with Microsoft Entra ID
55
ms.service: azure-ai-openai
66
ms.topic: how-to
7-
ms.date: 01/31/2025
7+
ms.date: 04/30/2025
88
author: mrbullwinkle
99
ms.author: mbullwin
1010
recommendations: false
@@ -50,13 +50,13 @@ token_provider = get_bearer_token_provider(
5050
)
5151

5252
client = AzureOpenAI(
53-
api_version="2024-02-15-preview",
53+
api_version="2024-04-01-preview",
5454
azure_endpoint="https://{your-custom-endpoint}.openai.azure.com/",
5555
azure_ad_token_provider=token_provider
5656
)
5757

5858
response = client.chat.completions.create(
59-
model="gpt-35-turbo-0125", # model = "deployment_name".
59+
model="gpt-4o", # model = "deployment_name".
6060
messages=[
6161
{"role": "system", "content": "You are a helpful assistant."},
6262
{"role": "user", "content": "Does Azure OpenAI support customer managed keys?"},

articles/ai-services/openai/includes/chatgpt-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-openai
77
ms.topic: include
88
author: mrbullwinkle
99
ms.author: mbullwin
10-
ms.date: 10/22
10+
ms.date: 04/30/2025
1111
---
1212

1313
[Source code](https://github.com/openai/openai-node) | [Package (npm)](https://www.npmjs.com/package/openai) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/samples)

articles/ai-services/openai/includes/create-resource-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ az cognitiveservices account keys list \
7777

7878
## Deploy a model
7979

80-
To deploy a model, use the [az cognitiveservices account deployment create](/cli/azure/cognitiveservices/account/deployment?view=azure-cli-latest&preserve-view=true#az-cognitiveservices-account-deployment-create) command. In the following example, you deploy an instance of the `text-embedding-ada-002` model and give it the name _MyModel_. When you try the example, update the code to use your values for the resource group and resource. You don't need to change the `model-version`, `model-format` or `sku-capacity`, and `sku-name` values.
80+
To deploy a model, use the [az cognitiveservices account deployment create](/cli/azure/cognitiveservices/account/deployment?view=azure-cli-latest&preserve-view=true#az-cognitiveservices-account-deployment-create) command. In the following example, you deploy an instance of the `gpt-4o` model and give it the name _MyModel_. When you try the example, update the code to use your values for the resource group and resource. You don't need to change the `model-version`, `model-format` or `sku-capacity`, and `sku-name` values.
8181

8282
```azurecli
8383
az cognitiveservices account deployment create \
8484
--name <myResourceName> \
8585
--resource-group <myResourceGroupName> \
8686
--deployment-name MyModel \
87-
--model-name text-embedding-ada-002 \
88-
--model-version "1" \
87+
--model-name gpt-4o \
88+
--model-version "2024-11-20" \
8989
--model-format OpenAI \
9090
--sku-capacity "1" \
9191
--sku-name "Standard"

articles/ai-services/openai/includes/create-resource-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ Get-AzCognitiveServicesAccountKey -Name MyOpenAIResource -ResourceGroupName OAIR
6464

6565
## Deploy a model
6666

67-
To deploy a model, use the [New-AzCognitiveServicesAccountDeployment](/powershell/module/az.cognitiveservices/new-azcognitiveservicesaccountdeployment) command. In the following example, you deploy an instance of the `text-embedding-ada-002` model and give it the name _MyModel_. When you try the example, update the code to use your values for the resource group and resource. You don't need to change the `model-version`, `model-format` or `sku-capacity`, and `sku-name` values.
67+
To deploy a model, use the [New-AzCognitiveServicesAccountDeployment](/powershell/module/az.cognitiveservices/new-azcognitiveservicesaccountdeployment) command. In the following example, you deploy an instance of the `gpt-4o` model and give it the name _MyModel_. When you try the example, update the code to use your values for the resource group and resource. You don't need to change the `model-version`, `model-format` or `sku-capacity`, and `sku-name` values.
6868

6969
```azurepowershell-interactive
7070
$model = New-Object -TypeName 'Microsoft.Azure.Management.CognitiveServices.Models.DeploymentModel' -Property @{
71-
Name = 'text-embedding-ada-002'
72-
Version = '2'
71+
Name = 'gpt-4o'
72+
Version = '2024-11-20'
7373
Format = 'OpenAI'
7474
}
7575

0 commit comments

Comments
 (0)