-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add support for new Mistral Magistral models (magistral-medium-2506 and magistral-small-2506) #11588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…al/magistral-medium-2506' and 'mistral/magistral-small-2506' with token limits and cost details
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"max_tokens": 40000, | ||
"max_input_tokens": 40000, | ||
"max_output_tokens": 40000, | ||
"input_cost_per_token": 0.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this meant to be 0?
"output_cost_per_token": 0.0, | ||
"litellm_provider": "mistral", | ||
"mode": "chat", | ||
"source": "https://mistral.ai/news/magistral", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't see the pricing on this link. Do you mind sharing what you see?
Trying to validate the magistral small pricing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they just changed this, was free on the release date
Title
Add support for new Mistral Magistral models (magistral-medium-2506 and magistral-small-2506)
Relevant issues
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/
directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit
Type
🆕 New Feature
Changes
This PR adds support for two new Mistral Magistral models by updating the
model_prices_and_context_window.json
file:Added Models:
mistral/magistral-medium-2506:
mistral/magistral-small-2506:
Both models are configured with:
mistral
chat
Technical Details:
model_prices_and_context_window.json
with pricing and capability information