Skip to content

Commit 0b92300

Browse files
feat: update MiniMax model to M3 with new pricing and context window
1 parent 8ace763 commit 0b92300

4 files changed

Lines changed: 28 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ For releases before v1.3.35, see [GitHub Releases](https://github.com/VladoIvank
1111
> as the social-share summary (IFTTT → X/Bluesky), capped at 220 chars.
1212
> If omitted, the feed falls back to the first paragraph.
1313
14+
## [2.4.1] — 2026-06-01
15+
16+
> MiniMax M3: the new MiniMax flagship replaces M2.7 across all three MiniMax providers (subscription, pay-per-use, China), with updated pricing and context window so cost tracking stays accurate.
17+
18+
### Changed
19+
20+
- **MiniMax M3** (`MiniMax-M3`) replaces `MiniMax-M2.7` as the model + default for
21+
the `minimax`, `minimax-api`, and `minimax-cn` providers. Pricing updated to the
22+
standard rate **$0.60 / $2.40** per 1M tokens (input / output) and context window
23+
to **512K**, so `/cost` and the dashboard bill it correctly. The native macOS / iOS
24+
apps get the same update via the shared CodeepCore catalog.
25+
- **README provider list** is now generic (model families, not pinned versions) —
26+
it no longer needs editing every time a provider ships a new model.
27+
1428
## [2.4.0] — 2026-05-30
1529

1630
> New models (Claude Opus 4.8, Gemini 3.5 Flash) plus a better local-model experience: browse a curated catalog of coding models, remove models, and see on-disk sizes — all from `/model`.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ custom slash commands, lifecycle hooks, checkpoints, `/cost`,
4848
## Features
4949

5050
### Multi-Provider Support
51-
- **Z.AI (ZhipuAI)** — GLM-5.1, GLM-5, GLM-5 Turbo, GLM-4.5 Air — Coding Plan & pay-per-use API (international & China)
52-
- **OpenAI** — GPT-5.5, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano
53-
- **Anthropic** — Claude Opus 4.7, Claude Opus 4.6, Claude Sonnet 4.6, Claude Haiku 4.5
54-
- **DeepSeek** — DeepSeek V4 Pro, DeepSeek V4 Flash
55-
- **Google AI** — Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 2.5 Pro, Gemini 2.5 Flash
56-
- **MiniMax** — MiniMax M2.7, M2.5, M2.1, M2 — Coding Plan & pay-per-use API (international & China)
51+
- **Z.AI (ZhipuAI)** — GLM models (Coding Plan & pay-per-use API, international & China)
52+
- **OpenAI** — GPT models (flagship, Mini, Nano)
53+
- **Anthropic** — Claude models (Opus, Sonnet, Haiku)
54+
- **DeepSeek** — DeepSeek models (Pro, Flash)
55+
- **Google AI** — Gemini models (Pro, Flash)
56+
- **MiniMax** — MiniMax models (Coding Plan & pay-per-use API, international & China)
5757
- **Ollama** — Run any model locally or on a remote server, no API key required. Models are fetched dynamically from your Ollama instance.
5858
- **OpenRouter** — One key, 100+ models from Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, Qwen, xAI and more. Per-call cost reported directly by OpenRouter (matches their dashboard exactly). Use `openrouter/auto` to let OpenRouter pick the best model. Tune routing with `/openrouter prefer|ignore|fallbacks|privacy`.
5959
- **Custom (OpenAI-compatible)** — Point Codeep at any self-hosted or proxied OpenAI-compatible endpoint (vLLM, LiteLLM, LM Studio, text-generation-webui). Set the base URL in `/settings`**Custom Base URL** (config key `customBaseUrl`, e.g. `http://host:8000/v1`), then pick your model with `/model` (fetched from the server's `/models`). No API key required unless your endpoint enforces one. The `openai` provider also honors the `OPENAI_BASE_URL` env var for proxies that serve `gpt-*` model names.

src/config/providers.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ export const PROVIDERS: Record<string, ProviderConfig> = {
168168
},
169169
},
170170
models: [
171-
{ id: 'MiniMax-M2.7', name: 'MiniMax M2.7', description: 'Latest MiniMax model' },
171+
{ id: 'MiniMax-M3', name: 'MiniMax M3', description: 'Latest MiniMax model' },
172172
],
173-
defaultModel: 'MiniMax-M2.7',
173+
defaultModel: 'MiniMax-M3',
174174
defaultProtocol: 'anthropic',
175175
envKey: 'MINIMAX_API_KEY',
176176
subscribeUrl: 'https://platform.minimax.io/subscribe/coding-plan?code=2lWvoWUhrp&source=link',
@@ -188,9 +188,9 @@ export const PROVIDERS: Record<string, ProviderConfig> = {
188188
},
189189
},
190190
models: [
191-
{ id: 'MiniMax-M2.7', name: 'MiniMax M2.7', description: 'Latest MiniMax model' },
191+
{ id: 'MiniMax-M3', name: 'MiniMax M3', description: 'Latest MiniMax model' },
192192
],
193-
defaultModel: 'MiniMax-M2.7',
193+
defaultModel: 'MiniMax-M3',
194194
defaultProtocol: 'openai',
195195
envKey: 'MINIMAX_API_KEY',
196196
subscribeUrl: 'https://platform.minimax.io',
@@ -213,9 +213,9 @@ export const PROVIDERS: Record<string, ProviderConfig> = {
213213
},
214214
},
215215
models: [
216-
{ id: 'MiniMax-M2.7', name: 'MiniMax M2.7', description: 'Latest MiniMax model' },
216+
{ id: 'MiniMax-M3', name: 'MiniMax M3', description: 'Latest MiniMax model' },
217217
],
218-
defaultModel: 'MiniMax-M2.7',
218+
defaultModel: 'MiniMax-M3',
219219
defaultProtocol: 'anthropic',
220220
envKey: 'MINIMAX_CN_API_KEY',
221221
subscribeUrl: 'https://platform.minimaxi.com',

src/utils/tokenTracker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const MODEL_CONTEXT_WINDOWS: Record<string, number> = {
6666
'gemini-3.5-flash': 1_000_000,
6767
'gemini-3-flash-preview': 1_000_000,
6868
// MiniMax
69-
'MiniMax-M2.7': 204_800,
69+
'MiniMax-M3': 524_288,
7070
};
7171

7272
const DEFAULT_CONTEXT_WINDOW = 128_000;
@@ -105,7 +105,7 @@ const MODEL_PRICING: Record<string, { inputPer1M: number; outputPer1M: number }>
105105
'gemini-3.5-flash': { inputPer1M: 1.50, outputPer1M: 9.00 },
106106
'gemini-3-flash-preview': { inputPer1M: 0.50, outputPer1M: 3.00 },
107107
// MiniMax
108-
'MiniMax-M2.7': { inputPer1M: 0.30, outputPer1M: 1.20 },
108+
'MiniMax-M3': { inputPer1M: 0.60, outputPer1M: 2.40 },
109109
};
110110

111111
export function getPricingTable(): { model: string; inputPer1M: number; outputPer1M: number }[] {

0 commit comments

Comments
 (0)