Cannot use iflowcn/minimax-m2 model in OpenCode. Error status 435 "Model not support". #2843

Closed
opened 2026-02-16 17:37:30 -05:00 by yindo · 6 comments
Owner

Originally created by @redzrush101 on GitHub (Nov 13, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

I am trying to use iflowcn/minimax-m2, but it doesn't output anything at all. Other coding CLIs, such as iFlow CLI, and other models of the same provider work just fine. I'll provide the logs as txt files; if y'all want another format, just ask me. I also tried checking if the model name is wrong or wth, but it's not it's the same on iFlow CLI.

OpenCode version

1.0.63 via npm

Steps to reproduce

  1. Open Opencode
  2. Select Minimax M2
  3. Send some prompt

Screenshot and/or share link

Image Image Image

iflow_minimax-m2.txt
iflow_glm4.6.txt
opencode_glm4.6.txt
opencode_minimax.txt

Operating System

Fedora Linux 43 with distrobox/ Windows 11 via wsl tried both

Terminal

Konsole/ Windows Terminal

Originally created by @redzrush101 on GitHub (Nov 13, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description I am trying to use iflowcn/minimax-m2, but it doesn't output anything at all. Other coding CLIs, such as iFlow CLI, and other models of the same provider work just fine. I'll provide the logs as txt files; if y'all want another format, just ask me. I also tried checking if the model name is wrong or wth, but it's not it's the same on iFlow CLI. ### OpenCode version 1.0.63 via npm ### Steps to reproduce 1. Open Opencode 2. Select Minimax M2 3. Send some prompt ### Screenshot and/or share link <img width="1557" height="291" alt="Image" src="https://github.com/user-attachments/assets/c1665875-85d4-4a96-af12-e6d24799aa78" /> <img width="1805" height="291" alt="Image" src="https://github.com/user-attachments/assets/2a9b3811-ba59-4bcf-afcb-ec187aed1c65" /> <img width="394" height="65" alt="Image" src="https://github.com/user-attachments/assets/e523ecca-c273-47a4-8cc4-fd20d23c69f6" /> [iflow_minimax-m2.txt](https://github.com/user-attachments/files/23535017/iflow_minimax-m2.txt) [iflow_glm4.6.txt](https://github.com/user-attachments/files/23535020/iflow_glm4.6.txt) [opencode_glm4.6.txt](https://github.com/user-attachments/files/23534947/opencode_glm4.6.txt) [opencode_minimax.txt](https://github.com/user-attachments/files/23534948/opencode_minimax.txt) ### Operating System Fedora Linux 43 with distrobox/ Windows 11 via wsl tried both ### Terminal Konsole/ Windows Terminal
yindo added the bug label 2026-02-16 17:37:30 -05:00
yindo closed this issue 2026-02-16 17:37:30 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 13, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3555: Covers MiniMax-M2 API compatibility issues with OpenAI-compatible mode and reasoning content handling
  • #4190: Feature request specifically mentions minimax-m2 model not being available in OpenCode Zen
  • #245: Similar provider issues with Minimax models showing 'Not Found' errors

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 13, 2025): This issue might be a duplicate of existing issues. Please check: - #3555: Covers MiniMax-M2 API compatibility issues with OpenAI-compatible mode and reasoning content handling - #4190: Feature request specifically mentions minimax-m2 model not being available in OpenCode Zen - #245: Similar provider issues with Minimax models showing 'Not Found' errors Feel free to ignore if none of these address your specific case.
Author
Owner

@redzrush101 commented on GitHub (Nov 13, 2025):

Ah sorry I didn’t notice the closed issues

@redzrush101 commented on GitHub (Nov 13, 2025): Ah sorry I didn’t notice the closed issues
Author
Owner

@rekram1-node commented on GitHub (Nov 13, 2025):

Hm never used the provider, is it defined wrong here at all?
https://github.com/sst/models.dev/blob/dev/providers/iflowcn/models/minimax-m2.toml

Maybe they dont support that model via @ai-sdk/openai-compatible do u have to use the anthropic endpoint for it?

@rekram1-node commented on GitHub (Nov 13, 2025): Hm never used the provider, is it defined wrong here at all? https://github.com/sst/models.dev/blob/dev/providers/iflowcn/models/minimax-m2.toml Maybe they dont support that model via `@ai-sdk/openai-compatible` do u have to use the anthropic endpoint for it?
Author
Owner

@redzrush101 commented on GitHub (Nov 13, 2025):

Hm never used the provider, is it defined wrong here at all? https://github.com/sst/models.dev/blob/dev/providers/iflowcn/models/minimax-m2.toml

Maybe they dont support that model via @ai-sdk/openai-compatible do u have to use the anthropic endpoint for it?

Nah, there's no Anthropic endpoint. Can cache_read = 0.00 and cache_write = 0.00 break the model Does it force caching? The provider doesn’t support caching ig. The rest of the configuration is fine it; I just based it off of OpenRouter I’m jst gonna go and ask them on their forum tomorrow.

@redzrush101 commented on GitHub (Nov 13, 2025): > Hm never used the provider, is it defined wrong here at all? https://github.com/sst/models.dev/blob/dev/providers/iflowcn/models/minimax-m2.toml > > Maybe they dont support that model via `@ai-sdk/openai-compatible` do u have to use the anthropic endpoint for it? Nah, there's no Anthropic endpoint. Can cache_read = 0.00 and cache_write = 0.00 break the model Does it force caching? The provider doesn’t support caching ig. The rest of the configuration is fine it; I just based it off of OpenRouter I’m jst gonna go and ask them on their forum tomorrow.
Author
Owner

@rekram1-node commented on GitHub (Nov 13, 2025):

The caching stuff is just on our end for calculations it shouldn't be sending anything because of that field

@rekram1-node commented on GitHub (Nov 13, 2025): The caching stuff is just on our end for calculations it shouldn't be sending anything because of that field
Author
Owner

@redzrush101 commented on GitHub (Dec 15, 2025):

The caching stuff is just on our end for calculations it shouldn't be sending anything because of that field

imma jst close this old issue I asked them in their forum they say they dont provide any support for this model outside of their own client for some reason

@redzrush101 commented on GitHub (Dec 15, 2025): > The caching stuff is just on our end for calculations it shouldn't be sending anything because of that field imma jst close this old issue I asked them in their forum they say they dont provide any support for this model outside of their own client for some reason
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2843