From 13e9df0e92c8745990141b7265bf295746e62266 Mon Sep 17 00:00:00 2001 From: chrarnoldus <12196001+chrarnoldus@users.noreply.github.com> Date: Fri, 5 Jun 2026 18:10:25 +0000 Subject: [PATCH 1/2] fix(ai-gateway): disable discounted MiniMax M3 Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com> --- apps/web/src/lib/ai-gateway/providers/minimax.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/lib/ai-gateway/providers/minimax.ts b/apps/web/src/lib/ai-gateway/providers/minimax.ts index 78b901381..7bd665b13 100644 --- a/apps/web/src/lib/ai-gateway/providers/minimax.ts +++ b/apps/web/src/lib/ai-gateway/providers/minimax.ts @@ -13,7 +13,7 @@ export const minimax_m3_discounted_model: KiloExclusiveModel = { Trained as a native multimodal model on interleaved data and tuned for multi-turn, production-like collaboration via an interactive user-simulator framework, the model is oriented toward sustained, multi-step tasks rather than single-turn execution.`, context_length: 524288, max_completion_tokens: 512000, - status: 'public', + status: 'disabled', flags: ['reasoning', 'vercel-routing', 'vision'], gateway: 'openrouter', internal_id: MINIMAX_CURRENT_MODEL_ID, From 8d45d406024a4dfcddebc6c67bf9e9ee9281a677 Mon Sep 17 00:00:00 2001 From: chrarnoldus <12196001+chrarnoldus@users.noreply.github.com> Date: Fri, 5 Jun 2026 20:29:53 +0000 Subject: [PATCH 2/2] test(ai-gateway): update disabled MiniMax expectation Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com> --- .../src/lib/ai-gateway/providers/openrouter/index.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/web/src/lib/ai-gateway/providers/openrouter/index.test.ts b/apps/web/src/lib/ai-gateway/providers/openrouter/index.test.ts index 6767804c5..462e0ecd8 100644 --- a/apps/web/src/lib/ai-gateway/providers/openrouter/index.test.ts +++ b/apps/web/src/lib/ai-gateway/providers/openrouter/index.test.ts @@ -165,8 +165,12 @@ describe('shouldSuppressOpenRouterModel', () => { expect(shouldSuppressOpenRouterModel(seed_20_code_free_model)).toBe(true); }); - it('suppresses public and hidden Kilo-exclusive models from OpenRouter', () => { - expect(shouldSuppressOpenRouterModel(minimax_m3_discounted_model)).toBe(true); + it('does not suppress disabled paid Kilo-exclusive models from OpenRouter', () => { + expect(minimax_m3_discounted_model.status).toBe('disabled'); + expect(shouldSuppressOpenRouterModel(minimax_m3_discounted_model)).toBe(false); + }); + + it('suppresses hidden Kilo-exclusive models from OpenRouter', () => { expect(morph_warp_grep_free_model.status).toBe('hidden'); expect(shouldSuppressOpenRouterModel(morph_warp_grep_free_model)).toBe(true); });