gentle-apple-32922
03/30/2026, 2:52 PMripe-winter-55813
03/30/2026, 2:57 PMgentle-apple-32922
03/30/2026, 2:59 PMopenai/MiniMax-M2.7 or anthropic/MiniMax-M2.7 I know it seems weird but OpenHands shared with me:
So:
• Yes, it should bypass the current LiteLLM provider-not-recognized error
• No, it does not guarantee everything else will work perfectly afterward
Best mental model
Think of it like this:
•= “use LiteLLM’s native MiniMax handler”minimax/...
•= “use LiteLLM’s OpenAI-style handler”openai/...
•= “use LiteLLM’s Anthropic-style handler”anthropic/...
Since MiniMax says it supports OpenAI-compatible and Anthropic-compatible APIs, those latter two are often the safer route in OpenHands.
So what should the user try?
First try the OpenAI-compatible route:
• Custom Model:openai/MiniMax-M2.7
• Base URL:<https://api.minimax.io/v1>
If that fails with a real API error, try Anthropic-compatible:
• Custom Model:anthropic/MiniMax-M2.7
• Base URL:<https://api.minimax.io/anthropic>
Short answer
Yes — usingoropenai/can bypass this LiteLLM error, because those prefixes tell LiteLLM which compatibility adapter to use. They don’t claim the model is literally from OpenAI or Anthropic; they just select the request format.anthropic/
ripe-winter-55813
03/30/2026, 3:15 PM