Skip to content

Refresh MiniMax providers to the OpenAI-compatible endpoints - #100

Merged
MagicCube merged 1 commit into
deer-flow:mainfrom
octo-patch:octo/20260730-parameter-refresh-recvqbFr5s5LDM
Jul 31, 2026
Merged

Refresh MiniMax providers to the OpenAI-compatible endpoints#100
MagicCube merged 1 commit into
deer-flow:mainfrom
octo-patch:octo/20260730-parameter-refresh-recvqbFr5s5LDM

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Reason: Refresh the MiniMax global and CN providers to the OpenAI-compatible endpoints with current pricing, context window, modalities, and thinking.

The global and CN MiniMax providers were imported unchanged from the locked @earendil-works/pi-ai catalog, which exposes only Anthropic-compatible regional endpoints and defines MiniMax-M3 with stale pricing, a generic reasoning flag, and text/image input only. This change moves both providers into local factories so the current parameters can be applied while keeping them in the builtin provider registry.

Changes:

  • Add local minimax and minimax-cn provider factories targeting the OpenAI-compatible chat endpoints (https://api.minimax.io/v1 and https://api.minimaxi.com/v1) over the OpenAI Completions API, replacing the catalog imports in builtin-providers.ts.
  • Add a shared minimax.models catalog:
    • MiniMax-M3: $0.6 / $2.4 / $0.12 input / output / cache-read pricing, 1,000,000 context window, text/image/video input, and adaptive/disabled thinking.
    • MiniMax-M2.7: stays an always-on reasoning text model at $0.3 / $1.2 / $0.06.

Checks run:

  • tsc --noEmit -p packages/runtime/tsconfig.json
  • bun test packages/runtime/tests/models/providers/minimax/
  • eslint --max-warnings 0 on the changed files

Move the global and CN MiniMax providers out of the locked
@earendil-works/pi-ai catalog into local factories so the current
parameters can be applied. Both regions now target their
OpenAI-compatible chat endpoints
(https://api.minimax.io/v1 and https://api.minimaxi.com/v1) over the
OpenAI Completions API.

MiniMax-M3 is refreshed to /bin/bash.6/.4//bin/bash.12 input/output/cache-read
pricing, a 1M-token context window, text/image/video input, and
adaptive/disabled thinking. MiniMax-M2.7 stays an always-on reasoning
text model at /bin/bash.3/.2//bin/bash.06.
@nonoroazoro
nonoroazoro requested a review from MagicCube July 30, 2026 13:29
@MagicCube
MagicCube merged commit 38102f7 into deer-flow:main Jul 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants