Skip to content

feat(model_catalog): add Azure AI Foundry GPT-5.4 model metadata#28030

Merged
mateo-berri merged 5 commits into
litellm_internal_stagingfrom
litellm_azure_ai_gpt-5.4
May 16, 2026
Merged

feat(model_catalog): add Azure AI Foundry GPT-5.4 model metadata#28030
mateo-berri merged 5 commits into
litellm_internal_stagingfrom
litellm_azure_ai_gpt-5.4

Conversation

@shivamrawat1

Copy link
Copy Markdown
Collaborator

Adding gpt-5.4 azure_ai support

Register azure_ai GPT-5.4 variants with pricing, context limits from
Foundry catalog, and capability flags for cost routing and tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented May 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@greptile-apps

greptile-apps Bot commented May 16, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds metadata for the Azure AI Foundry GPT-5.4 model family — eight entries covering base, pro, mini, and nano variants along with their dated snapshots — to both the primary and backup price/context-window JSON files.

  • Each entry includes pricing (standard and priority tiers), _above_272k_tokens tiered costs, capability flags (supports_web_search, supports_service_tier, supports_reasoning, etc.), and token limits. All issues raised in earlier review rounds — missing supports_web_search on gpt-5.4, missing priority cost fields on gpt-5.4-pro, and missing _above_272k_tokens tiers on mini/nano — are resolved in this commit.
  • gpt-5.4-pro (and its dated variant) correctly use "mode": "responses" and omit /v1/chat/completions from supported_endpoints, consistent with other responses-only models in the file. Both JSON files are in sync.

Confidence Score: 5/5

Additive-only JSON metadata change with no runtime logic modifications; both files are in sync and all previously identified gaps have been filled.

The change is purely additive — new model entries in two JSON catalog files. All capability flags, tiered pricing fields, and cross-file consistency issues surfaced in prior review rounds have been corrected in this commit. No existing entries are modified, and no code paths are touched.

No files require special attention.

Important Files Changed

Filename Overview
model_prices_and_context_window.json Adds 8 new Azure AI Foundry GPT-5.4 family entries with pricing, token limits, and capability flags; all previously raised issues are now addressed
litellm/model_prices_and_context_window_backup.json Backup file receives the same 8 GPT-5.4 model entries as the primary file; both files are now in sync

Reviews (3): Last reviewed commit: "fix(model_catalog): sync web_search flag..." | Re-trigger Greptile

Comment thread model_prices_and_context_window.json
Comment thread model_prices_and_context_window.json
Comment thread model_prices_and_context_window.json
Comment thread litellm/model_prices_and_context_window_backup.json
…data

Add supports_web_search for base GPT-5.4 aliases, priority-tier Pro rates,
and mini/nano above-272k plus priority pricing for correct spend math.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shivamrawat1

Copy link
Copy Markdown
Collaborator Author

@greptile review again with new commit that resolves the issues raised

Comment thread litellm/model_prices_and_context_window_backup.json
…ckup row

Mirror supports_web_search for azure_ai/gpt-5.4-2026-03-05 in the backup
catalog so it matches model_prices_and_context_window.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shivamrawat1

Copy link
Copy Markdown
Collaborator Author

@greptile review again with new commit that resolves the raised issue

@shivamrawat1 shivamrawat1 requested a review from mateo-berri May 16, 2026 22:07

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; thanks!

@mateo-berri mateo-berri merged commit 1b9acec into litellm_internal_staging May 16, 2026
115 checks passed
@mateo-berri mateo-berri deleted the litellm_azure_ai_gpt-5.4 branch May 16, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants