Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/lib/ai-gateway/providers/minimax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down