Skip to content

feat: add Bedrock models minimax.minimax-m2.5 and moonshotai.kimi-k2.5#12299

Draft
roomote-v0[bot] wants to merge 1 commit intomainfrom
feature/add-bedrock-minimax-m2.5-kimi-k2.5
Draft

feat: add Bedrock models minimax.minimax-m2.5 and moonshotai.kimi-k2.5#12299
roomote-v0[bot] wants to merge 1 commit intomainfrom
feature/add-bedrock-minimax-m2.5-kimi-k2.5

Conversation

@roomote-v0
Copy link
Copy Markdown
Contributor

@roomote-v0 roomote-v0 Bot commented May 8, 2026

Related GitHub Issue

Closes: #12298

Description

This PR attempts to address Issue #12298. It adds two missing Bedrock model definitions to packages/types/src/providers/bedrock.ts:

  • moonshotai.kimi-k2.5 - Kimi K2.5 by Moonshot AI, placed after the existing moonshot.kimi-k2-thinking entry
  • minimax.minimax-m2.5 - MiniMax M2.5, placed after the existing minimax.minimax-m2 entry

The model IDs match those confirmed by the reporter from their AWS Bedrock console. Model specs (context window, max tokens, pricing) are based on the existing similar models in the codebase. Pricing may need to be verified against the latest AWS Bedrock pricing page.

Feedback and guidance are welcome.

Test Procedure

  • All 57 existing Bedrock tests pass (cd src && npx vitest run api/providers/__tests__/bedrock.spec.ts)
  • Full lint and type-check pass across all packages
  • Manual verification: the new model IDs should now appear in the Bedrock model selector dropdown

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and/or updated tests have been added to cover my changes (if applicable).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Documentation Updates

  • No documentation updates are required.

Additional Notes

The pricing for both new models is based on the existing similar models (moonshot.kimi-k2-thinking and minimax.minimax-m2). If AWS has published different pricing for the m2.5/k2.5 variants, those values should be updated accordingly.

Interactively review PR in Roo Code Cloud

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.

[BUG] Bedrock models "minimax.minimax-m2.5" and "moonshotai.kimi-k2.5" unavailable and fallback to Claude Sonnet

1 participant