-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix: update magistral-medium-latest capabilities to reflect current Mistral documentation #8363
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
…image support - Updated maxTokens from 41,000 to 128,000 - Updated contextWindow from 41,000 to 128,000 - Enabled image support (supportsImages: true) - Reflects current Magistral Medium 2.0 capabilities per Mistral documentation Fixes #8362
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.
Self-review: evaluating my own diff like a mirror that files change requests back at me.
| supportsImages: false, | ||
| maxTokens: 128_000, | ||
| contextWindow: 128_000, | ||
| supportsImages: true, |
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.
P3: Consider adding a brief comment with the source URL and "last verified" date for these capabilities. This helps keep the values aligned with Mistral's docs during future updates.
| maxTokens: 128_000, | ||
| contextWindow: 128_000, | ||
| supportsImages: true, | ||
| supportsPromptCache: false, |
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.
P3: Confirm whether Magistral Medium 2.0 supports prompt cache. If yes, flipping supportsPromptCache to true would enable cache-aware UX and cost accounting elsewhere.
| contextWindow: 128_000, | ||
| supportsImages: true, | ||
| supportsPromptCache: false, | ||
| inputPrice: 2.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.
P2: Prices appear unchanged (inputPrice: 2.0, outputPrice: 5.0). If Mistral updated pricing for Magistral Medium 2.0, consider aligning these with the latest docs to avoid cost estimate mismatches.
This PR attempts to address Issue #8362 by updating the magistral-medium-latest model configuration to reflect the current capabilities as documented by Mistral.
Changes Made
maxTokensfrom 41,000 to 128,000contextWindowfrom 41,000 to 128,000supportsImages: true)Context
The previous configuration reflected the capabilities from the Magistral Medium 1.1 release (July 2025) with a 41k token context window and no image input support. The current Magistral Medium 2.0 model supports a 128k context window and image input capabilities.
Testing
Related Issue
Fixes #8362
Feedback and guidance are welcome!
Important
Update
magistral-medium-latestmodel inmistral.tsto reflect Mistral 2.0 capabilities with increased token limits and image support.magistral-medium-latestinmistral.ts:maxTokensincreased from 41,000 to 128,000.contextWindowincreased from 41,000 to 128,000.supportsImagesset totrue.This description was created by
for fd234ff. You can customize this summary. It will automatically update as commits are pushed.