From c43ca61a59b4c83b0b4c99b5c069839e1e1af0a5 Mon Sep 17 00:00:00 2001 From: octo-patch Date: Tue, 2 Jun 2026 01:51:31 +0800 Subject: [PATCH] [Feature] Add MiniMax-M3 and set as default for MiniMax API Update the MiniMax API integration to support the new flagship model: - Add `MiniMax-M3` to the api_models registry, placed before older versions so it shows up first in listings. - Switch the `MiniMaxAPI` default `model` to `MiniMax-M3`. - Drop the older `MiniMax-M2.5` and `MiniMax-M2.5-highspeed` registry entries to keep the supported list focused; `MiniMax-M2.7` is kept as a legacy-compatible option. - Refresh the docstring in `vlmeval/api/minimax_api.py` to reflect the current supported model list. API base URL, env vars, and unrelated providers are untouched. --- vlmeval/api/minimax_api.py | 4 ++-- vlmeval/config.py | 15 ++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/vlmeval/api/minimax_api.py b/vlmeval/api/minimax_api.py index 593562de0..0f97694da 100644 --- a/vlmeval/api/minimax_api.py +++ b/vlmeval/api/minimax_api.py @@ -3,7 +3,7 @@ OpenAI-compatible chat completions endpoint. Set MINIMAX_API_KEY or pass key=... -Models: MiniMax-M2.7, MiniMax-M2.5, MiniMax-M2.5-highspeed +Models: MiniMax-M3, MiniMax-M2.7 API docs: https://platform.minimaxi.com/document/guides/chat-model/text-generation """ import json @@ -25,7 +25,7 @@ class MiniMaxAPI(BaseAPI): def __init__( self, - model: str = "MiniMax-M2.7", + model: str = "MiniMax-M3", key: str = None, api_base: str = None, retry: int = 10, diff --git a/vlmeval/config.py b/vlmeval/config.py index 448771039..149741646 100644 --- a/vlmeval/config.py +++ b/vlmeval/config.py @@ -468,23 +468,16 @@ retry=10, ), # MiniMax (set MINIMAX_API_KEY) - "MiniMax-M2.7": partial( + "MiniMax-M3": partial( api.MiniMaxAPI, - model="MiniMax-M2.7", + model="MiniMax-M3", temperature=0, max_tokens=2048, retry=10, ), - "MiniMax-M2.5": partial( - api.MiniMaxAPI, - model="MiniMax-M2.5", - temperature=0, - max_tokens=2048, - retry=10, - ), - "MiniMax-M2.5-highspeed": partial( + "MiniMax-M2.7": partial( api.MiniMaxAPI, - model="MiniMax-M2.5-highspeed", + model="MiniMax-M2.7", temperature=0, max_tokens=2048, retry=10,