Skip to content

[Bug] MiniMax defaults to highspeed model causing errors for standard subscription users #17467

@wufei-png

Description

@wufei-png

Description

Problem Description

MiniMax Coding Plan has two subscription types:

  • Highspeed subscription: Can use both MiniMax-M2.5-highspeed and MiniMax-M2.5 models
  • Standard subscription: Can only use MiniMax-M2.5 model - using highspeed model will result in API errors

The OpenCode currently defaults to using MiniMax-M2.5-highspeed model:

  • The opencode auth login flow does not allow users to select model variant (highspeed / standard)
  • Regardless of which subscription type the user's API key is from, agents/fallbacks default to MiniMax-M2.5-highspeed
  • This causes API errors for standard subscription users

Expected Behavior

The OpenCode should:

  1. Allow users to select MiniMax model variant (highspeed / standard) during opencode auth login flow
  2. Or default to the standard model MiniMax-M2.5 instead of MiniMax-M2.5-highspeed
  3. Ensure standard subscription users are not defaulted to highspeed model

Related

Additional Context

PR #2438 adds minimax-coding-plan and minimax-cn-coding-plan as model providers with a --minimax-model-variant flag to choose between highspeed and standard. However, the OpenCode plugin itself (during opencode auth login) does not expose this option to users.

Plugins

no plugin

OpenCode version

latest

Steps to reproduce

opencode auth login
choose minimax
run opencode to see the minimax model is highspeed and say hi to him will generate error.

Screenshot and/or share link

see the note code-yeongyu/oh-my-openagent#2438 (comment)

Operating System

Ubuntu 22.04

Terminal

any

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions