strong-ice-84145
11/06/2025, 6:40 PMgentle-apple-32922
11/06/2025, 7:11 PMcalm-artist-7206
11/06/2025, 7:14 PMcalm-artist-7206
11/06/2025, 7:14 PMcalm-artist-7206
11/06/2025, 7:17 PMstrong-ice-84145
11/06/2025, 7:42 PMcalm-artist-7206
11/06/2025, 7:59 PMgentle-apple-32922
11/06/2025, 8:34 PMlimited-student-10747
11/06/2025, 8:49 PMgentle-apple-32922
11/06/2025, 9:08 PMstrong-ice-84145
11/06/2025, 11:45 PMcalm-artist-7206
11/06/2025, 11:55 PMcalm-artist-7206
11/07/2025, 12:02 AMcalm-artist-7206
11/07/2025, 12:03 AMstrong-ice-84145
11/07/2025, 9:12 AMstrong-ice-84145
11/07/2025, 12:57 PMGLM-4.6
• model = "litellm_proxy/openrouter/z-ai/glm-4.6"
• base_url = "https://lnkd.in/giHJxbMc"
Perhaps it should be
model = openhands/openrouter/z-ai/glm-4.6
+ openhands api key (but perhaps no need to remind that?)
@gentle-apple-32922calm-artist-7206
11/07/2025, 12:58 PMbase url https://api.minimax.io/anthropic, native api key and I think (litellm_proxy?)/anthropic/MiniMax-M2Aha, clever! Thank you 😅
strong-ice-84145
11/07/2025, 1:23 PMmodel = anthropic/MiniMax-M2 base_url="https://api.minimax.io/anthropic" + minimax api keygentle-apple-32922
11/07/2025, 2:54 PMcalm-artist-7206
11/07/2025, 2:57 PMcalm-artist-7206
11/07/2025, 2:58 PMcalm-artist-7206
11/07/2025, 2:58 PMcalm-artist-7206
11/07/2025, 2:58 PMcalm-artist-7206
11/07/2025, 2:59 PMcalm-artist-7206
11/07/2025, 3:11 PMopenhands/ ... (probably openhands/glm-4.6)
• OpenHands API key
In both alternatives, no base url, I don't think?gentle-apple-32922
11/07/2025, 3:13 PMlimited-student-10747
11/07/2025, 3:16 PMgentle-apple-32922
11/07/2025, 3:18 PMlimited-student-10747
11/07/2025, 3:20 PMgentle-apple-32922
11/07/2025, 3:21 PMWe’re expanding OpenHands model support:
• GLM-4.6 (via OpenRouter)
• MiniMax-M2 (Anthropic-compatible endpoint)
This unlocks more choice for teams building with OpenHands. We’ll publish a follow-up with deeper evaluation and benchmarks soon.
In the meantime, give them a spin and let us know what you think!
GLM-4.6
• model = "/openrouter/z-ai/glm-4.6"
MiniMax-M2
• model = "anthropic/MiniMax-M2"X
1/
OpenHands now supports two new models:
• GLM-4.6 (via OpenRouter)
• MiniMax-M2 (Anthropic-compatible endpoint)
Rolling this out today. We’ll share a deeper eval soon—stay tuned. ⚡
️
2/
GLM-4.6
• model = "/openrouter/z-ai/glm-4.6"
MiniMax-M2
• model = "anthropic/MiniMax-M2"Do you want me to keep going for this one @limited-student-10747 or table it?
limited-student-10747
11/07/2025, 3:22 PMlimited-student-10747
11/07/2025, 3:22 PMgentle-apple-32922
11/07/2025, 3:22 PMgentle-apple-32922
11/07/2025, 3:29 PMstrong-ice-84145
11/07/2025, 3:36 PMlimited-student-10747
11/07/2025, 3:38 PMThanks, so setting “LLM_MODEL=anthropic/MiniMax-M2” and “LLM_API_KEY={minimax-api-key}” works? Or do you also need to set base url?
strong-ice-84145
11/07/2025, 3:48 PMmodel = "anthropic/MiniMax-M2"
base_url = "https://api.minimax.io/anthropic"
llm = LLM(
model=model,
api_key=SecretStr(api_key),
base_url="https://api.minimax.io/anthropic",
usage_id="agent",
log_completions=True,
)gentle-apple-32922
11/07/2025, 6:55 PMgentle-apple-32922
11/07/2025, 6:56 PMgentle-apple-32922
11/07/2025, 6:57 PMcalm-artist-7206
11/07/2025, 6:58 PMlog_completions from the example, and maybe also usage_id. They are not necessary to run, so it's keeping it simple.calm-artist-7206
11/07/2025, 7:02 PMapi_key compatible with a simple string, so that line should just work like this too:
api_key=api_key,echoing-garage-24541
11/12/2025, 11:23 PMlimited-student-10747
11/12/2025, 11:24 PMechoing-garage-24541
11/12/2025, 11:25 PMechoing-garage-24541
11/12/2025, 11:28 PMreasoning to transform to reasoning_content instead of reading reasoning_details 🤔