add gpt-5.4 models to azure-ai general and pricing configs#787
Open
muddhit-baid wants to merge 1 commit into
Open
add gpt-5.4 models to azure-ai general and pricing configs#787muddhit-baid wants to merge 1 commit into
muddhit-baid wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Azure AI provider configurations for the GPT-5.4 family. The general config introduces seven new model entries (gpt-5.4, gpt-5.4-2026-03-05, mini and nano variants with their dated counterparts, and gpt-5.4-pro), and the pricing file adds the four entries that were not already present (the three dated variants existed previously). The pricing file also reformats four existing cache_read_input_token values from 0.0000005 to 5e-7.
Changes:
- Add GPT-5.4 family general configs to
general/azure-ai.jsonmirroring the structure used by neighboring GPT-5.x entries (chat models usemax_completion_tokens+response_format;gpt-5.4-prouses theresponsesprimary type with playground disabled). - Add pricing entries for
gpt-5.4,gpt-5.4-pro,gpt-5.4-mini,gpt-5.4-nanotopricing/azure-ai.json. - Convert four existing cache-read prices to scientific notation (
5e-7).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| general/azure-ai.json | Adds seven GPT-5.4 model configs following existing Azure AI patterns. |
| pricing/azure-ai.json | Adds four GPT-5.4 pricing entries and reformats four cache-read values to scientific notation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+4130
to
+4140
| "gpt-5.4-mini": { | ||
| "pricing_config": { | ||
| "pay_as_you_go": { | ||
| "request_token": { | ||
| "price": 0.000075 | ||
| }, | ||
| "response_token": { | ||
| "price": 0.00045 | ||
| }, | ||
| "cache_read_input_token": { | ||
| "price": 0.000008 |
4efc52c to
1ae5390
Compare
Comment on lines
+4139
to
+4141
| "cache_read_input_token": { | ||
| "price": 0.0000075 | ||
| }, |
| } | ||
| } | ||
| }, | ||
| "gpt-5.4": { |
Adds general capabilities and pricing for gpt-5.4, gpt-5.4-2026-03-05, gpt-5.4-mini, gpt-5.4-mini-2026-03-17, gpt-5.4-nano, gpt-5.4-nano-2026-03-17, and gpt-5.4-pro to the azure-ai provider. Co-authored-by: Cursor <cursoragent@cursor.com>
1ae5390 to
886c46d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
general/azure-ai.jsonpricing/azure-ai.json(dated variants already existed)gpt-5.4-mini-2026-03-17cache_read_input_token price from 0.000008 to 0.0000075 (aligning with azure-openai source)azure-openaiconfigs for these modelsSource Link: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
Checklist
Context
These models were available in Azure OpenAI but missing from the Azure AI (Foundry) provider, preventing users from seeing them in the Model Provisioning UI.