Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Dec 9, 2025

This PR attempts to address Issue #9951 by adding support for the new Mistral Devstral 2 models.

Changes

New Models Added

  • Devstral 2 (devstral-latest, devstral-2512): 256k context, $0.4/$2.0 pricing
  • Devstral Small 2 (devstral-small-latest, labs-devstral-small-2512): 256k context, $0.1/$0.3 pricing

Configuration Updates

  • Updated default model from codestral-latest to devstral-latest
  • Changed default temperature from 1.0 to 0.2 based on Mistral Vibe CLI recommendations
  • All new models configured with image support as specified in the issue

Implementation Details

  • Added model definitions to packages/types/src/providers/mistral.ts
  • Updated existing devstral-medium-latest to match new Devstral 2 specifications
  • Maintained backward compatibility with existing models
  • Updated tests to use the new default model

Testing

  • ✅ All existing tests pass
  • ✅ TypeScript compilation successful
  • ✅ Linting checks pass

References

Fixes #9951

Feedback and guidance are welcome!

- Add Devstral 2 models (devstral-latest, devstral-medium-latest, devstral-2512)
- Add Devstral Small 2 models (labs-devstral-small-2512, devstral-small-latest)
- Update all models to 256k context window
- Set image support for all new models as per documentation
- Configure pricing: Devstral 2 at $0.4/$2.0 per M tokens, Devstral Small 2 at $0.1/$0.3 per M tokens

Fixes #9951
@roomote
Copy link
Contributor Author

roomote bot commented Dec 9, 2025

Rooviewer Clock   See task on Roo Cloud

Review complete. No issues found.

The PR correctly adds support for the new Mistral Devstral 2 models as specified in issue #9951:

  • Devstral 2 models (devstral-latest, devstral-medium-latest, devstral-2512) with correct 256k context and $0.4/$2.0 pricing
  • Devstral Small 2 models (labs-devstral-small-2512, devstral-small-latest) with correct 256k context and $0.1/$0.3 pricing
  • All models correctly configured with image support
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@roomote roomote bot force-pushed the feat/devstral-2-support branch from fa5cd83 to 0aba3db Compare December 9, 2025 21:07
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels.

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Mistral AI Devstral 2 Support

3 participants