Skip to content

Conversation

@jlan-nl
Copy link
Contributor

@jlan-nl jlan-nl commented Nov 18, 2025

Relevant issues

Azure uses the base_model gpt-5.1-chat instead of gpt-5.1-chat-latest, which means we don't get any cost tracking on that model with the current version of the cost mapping.

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

- [ ] I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details

  • I have added a screenshot of my new test passing locally
  • [ ] My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature

Changes

Adde our key to the cost mapping

@vercel
Copy link

vercel bot commented Nov 18, 2025

Someone is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


IQHL (Hans Jacob Landelius) seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

"supports_tool_choice": false,
"supports_vision": true
},
"gpt-5.1-chat": {
Copy link
Contributor

Choose a reason for hiding this comment

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

this isn't the openai model name though - so if i made this request to openai it would fail.

why not just save this as azure/gpt-5.1-chat ? @jlan-nl

Copy link
Contributor

Choose a reason for hiding this comment

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

@Sameerlite if you want to just do this

Copy link
Collaborator

Choose a reason for hiding this comment

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

Added it here - #16817

Copy link
Contributor Author

@jlan-nl jlan-nl Nov 20, 2025

Choose a reason for hiding this comment

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

azure/gpt-5.1-chat wasn't there when I created the PR, but you're right that it works just as well :)

I'll close the PR. Thanks!

Copy link
Contributor Author

@jlan-nl jlan-nl Nov 21, 2025

Choose a reason for hiding this comment

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

Opened an issue that is related to this, please check it out if you get the opportunity @Sameerlite @krrishdholakia

#16884

@jlan-nl jlan-nl closed this Nov 20, 2025
@jlan-nl jlan-nl reopened this Nov 20, 2025
@jlan-nl jlan-nl closed this Nov 21, 2025
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.

4 participants