Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

22.1 KB
Raw Blame
import {
  minimaxSpeech02Schema,
  minimaxSpeech26Schema,
  minimaxSpeech28Schema,
  minimaxTTSVoices,
} from '../const/ttsParameters';
import {
  type AIChatModelCard,
  type AIImageModelCard,
  type AITTSModelCard,
  type AIVideoModelCard,
} from '../types/aiModel';

// USD price: https://platform.minimax.io/docs/guides/pricing-paygo
// CNY price (cards the international platform does not sell): https://platform.minimaxi.com/docs/guides/pricing
const minimaxChatModels: AIChatModelCard[] = [
  {
    abilities: {
      functionCall: true,
      reasoning: true,
      video: true,
      vision: true,
    },
    contextWindowTokens: 1_000_000,
    description:
      'MiniMax M3.1 Flash is a fast, low-cost multimodal model with native image and video understanding and tunable thinking depth.',
    displayName: 'MiniMax M3.1 Flash',
    enabled: true,
    family: 'minimax',
    generation: 'minimax-m3.1',
    id: 'MiniMax-M3.1-Flash',
    isOfficial: true,
    maxOutput: 524_288,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.015, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2026-10-19',
    settings: {
      disabledParams: ['temperature'],
      extendParams: ['gpt6ReasoningEffort'],
    },
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
      video: true,
      vision: true,
    },
    contextWindowTokens: 1_000_000,
    description:
      "MiniMax M3 is MiniMax's first multimodal model, with native image and video understanding and strong coding and agentic capabilities.",
    displayName: 'MiniMax M3',
    enabled: true,
    family: 'minimax',
    generation: 'minimax-m3',
    id: 'MiniMax-M3',
    isOfficial: true,
    maxOutput: 524_288,
    pricing: {
      currency: 'USD',
      units: [
        {
          name: 'textInput',
          strategy: 'tiered',
          tiers: [
            { rate: 0.3, upTo: 512_000 },
            { rate: 0.6, upTo: 'infinity' },
          ],
          unit: 'millionTokens',
        },
        {
          name: 'textOutput',
          strategy: 'tiered',
          tiers: [
            { rate: 1.2, upTo: 512_000 },
            { rate: 2.4, upTo: 'infinity' },
          ],
          unit: 'millionTokens',
        },
        {
          name: 'textInput_cacheRead',
          strategy: 'tiered',
          tiers: [
            { rate: 0.06, upTo: 512_000 },
            { rate: 0.12, upTo: 'infinity' },
          ],
          unit: 'millionTokens',
        },
      ],
    },
    releasedAt: '2026-06-01',
    settings: {
      disabledParams: ['temperature'],
      extendParams: ['enableReasoning'],
    },
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description:
      'First self-evolving model with top-tier coding and agentic performance (~60 tps).',
    displayName: 'MiniMax M2.7',
    family: 'minimax',
    generation: 'minimax-m2.7',
    id: 'MiniMax-M2.7',
    isOfficial: true,
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.06, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2026-03-18',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description: 'Same performance as M2.7 with significantly faster inference (~100 tps).',
    displayName: 'MiniMax M2.7 Highspeed',
    family: 'minimax',
    generation: 'minimax-m2.7',
    id: 'MiniMax-M2.7-highspeed',
    isOfficial: true,
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.06, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2026-03-18',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description:
      'Top-tier performance and ultimate cost-effectiveness, easily handling complex tasks (approx. 60 tps).',
    displayName: 'MiniMax M2.5',
    family: 'minimax',
    generation: 'minimax-m2.5',
    id: 'MiniMax-M2.5',
    isOfficial: true,
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2026-02-12',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description: 'M2.5 highspeed: Same performance, faster and more agile (approx. 100 tps).',
    displayName: 'MiniMax M2.5 highspeed',
    family: 'minimax',
    generation: 'minimax-m2.5',
    id: 'MiniMax-M2.5-highspeed',
    isOfficial: true,
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2026-02-12',
    type: 'chat',
  },
  {
    contextWindowTokens: 655_36,
    description:
      'A text dialogue model designed for role-playing and multi-turn conversations, with character customization and emotional expression.',
    displayName: 'MiniMax M2-her',
    id: 'M2-her',
    maxOutput: 2048,
    pricing: {
      currency: 'CNY',
      units: [
        { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2026-01-23',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description:
      'Powerful multilingual programming capabilities, comprehensively upgraded programming experience',
    displayName: 'MiniMax M2.1',
    family: 'minimax',
    generation: 'minimax-m2.1',
    id: 'MiniMax-M2.1',
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2025-12-23',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description:
      'Powerful multilingual programming capabilities, comprehensively upgraded programming experience. Faster and more efficient.',
    displayName: 'MiniMax M2.1 highspeed',
    family: 'minimax',
    generation: 'minimax-m2.1',
    id: 'MiniMax-M2.1-highspeed',
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.6, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 2.4, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2025-12-23',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description: 'Built specifically for efficient coding and Agent workflows',
    displayName: 'MiniMax M2',
    family: 'minimax',
    generation: 'minimax-m2',
    id: 'MiniMax-M2',
    maxOutput: 131_072,
    pricing: {
      currency: 'USD',
      units: [
        { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 0.375, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2025-10-27',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 204_800,
    description:
      'Built for efficient coding and agent workflows, with higher concurrency for commercial use.',
    displayName: 'MiniMax M2 Stable',
    family: 'minimax',
    generation: 'minimax-m2',
    id: 'MiniMax-M2-Stable',
    maxOutput: 131_072,
    pricing: {
      currency: 'CNY',
      units: [
        { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2025-10-27',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      reasoning: true,
    },
    contextWindowTokens: 1_000_192,
    description:
      'A new in-house reasoning model with 80K chain-of-thought and 1M input, delivering performance comparable to top global models.',
    displayName: 'MiniMax M1',
    family: 'minimax',
    generation: 'minimax-m1',
    id: 'MiniMax-M1',
    maxOutput: 40_000,
    pricing: {
      currency: 'CNY',
      units: [
        { name: 'textInput', rate: 1.2, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 16, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2025-06-16',
    type: 'chat',
  },
  {
    abilities: {
      functionCall: true,
      vision: true,
    },
    contextWindowTokens: 1_000_192,
    description:
      'MiniMax-01 introduces large-scale linear attention beyond classic Transformers, with 456B parameters and 45.9B activated per pass. It achieves top-tier performance and supports up to 4M tokens of context (32× GPT-4o, 20× Claude-3.5-Sonnet).',
    displayName: 'MiniMax Text 01',
    family: 'minimax',
    generation: 'minimax-text-01',
    id: 'MiniMax-Text-01',
    maxOutput: 40_000,
    pricing: {
      currency: 'CNY',
      units: [
        { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },
        { name: 'textOutput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
      ],
    },
    releasedAt: '2025-01-15',
    type: 'chat',
  },
];

const minimaxImageModels: AIImageModelCard[] = [
  {
    description:
      'A new image generation model with fine detail, supporting text-to-image and image-to-image.',
    displayName: 'Image 01',
    enabled: true,
    id: 'image-01',
    parameters: {
      aspectRatio: {
        default: '1:1',
        enum: ['1:1', '16:9', '4:3', '3:2', '2:3', '3:4', '9:16', '21:9'],
      },
      imageUrls: { default: [] },
      prompt: {
        default: '',
      },
      seed: { default: null },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    pricing: {
      currency: 'USD',
      units: [{ name: 'imageGeneration', rate: 0.0035, strategy: 'fixed', unit: 'image' }],
    },
    releasedAt: '2025-02-28',
    type: 'image',
  },
  {
    description:
      'An image generation model with fine detail, supporting text-to-image and controllable style presets.',
    displayName: 'Image 01 Live',
    enabled: true,
    id: 'image-01-live',
    parameters: {
      aspectRatio: {
        default: '1:1',
        enum: ['1:1', '16:9', '4:3', '3:2', '2:3', '3:4', '9:16'],
      },
      imageUrls: { default: [] },
      prompt: {
        default: '',
      },
      seed: { default: null },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    pricing: {
      currency: 'CNY',
      units: [{ name: 'imageGeneration', rate: 0.025, strategy: 'fixed', unit: 'image' }],
    },
    releasedAt: '2025-02-28',
    type: 'image',
  },
];

const minimaxVideoModels: AIVideoModelCard[] = [
  {
    description:
      'A unified text-to-video, image-to-video, and reference-to-video model with enhanced motion, consistency, and native audio capabilities.',
    displayName: 'MiniMax H3',
    enabled: true,
    id: 'MiniMax-H3',
    parameters: {
      aspectRatio: {
        default: '16:9',
        enum: ['21:9', '16:9', '4:3', '1:1', '3:4', '9:16'],
      },
      duration: { default: 6, max: 15, min: 4, step: 1 },
      endImageUrl: {
        default: null,
      },
      imageUrl: {
        default: null,
      },
      imageUrls: {
        default: [],
        // The v2 API accepts at most 9 images in the reference pool. The UI's
        // References mode submits only imageUrls (the frame slots are cleared),
        // so the whole pool is available here.
        maxCount: 9,
      },
      prompt: { default: '' },
      resolution: {
        default: '768P',
        enum: ['768P', '2K'],
      },
      watermark: { default: false },
    },
    releasedAt: '2026-07-31',
    type: 'video',
  },
  {
    description:
      'Brand-new video generation model with comprehensive upgrades in body motion, physical realism, and instruction following.',
    displayName: 'MiniMax Hailuo 2.3 Fast',
    enabled: true,
    id: 'MiniMax-Hailuo-2.3-Fast',
    parameters: {
      duration: { default: 6, enum: [6, 10] },
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      resolution: {
        default: '768P',
        enum: ['768P', '1080P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    pricing: {
      currency: 'USD',
      units: [{ name: 'videoGeneration', rate: 0.19, strategy: 'fixed', unit: 'video' }],
    },
    releasedAt: '2025-10-28',
    type: 'video',
  },
  {
    description:
      'Brand-new video generation model with comprehensive upgrades in body motion, physical realism, and instruction following.',
    displayName: 'MiniMax Hailuo 2.3',
    enabled: true,
    id: 'MiniMax-Hailuo-2.3',
    parameters: {
      duration: { default: 6, enum: [6, 10] },
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      resolution: {
        default: '768P',
        enum: ['768P', '1080P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    pricing: {
      currency: 'USD',
      units: [{ name: 'videoGeneration', rate: 0.28, strategy: 'fixed', unit: 'video' }],
    },
    releasedAt: '2025-10-28',
    type: 'video',
  },
  {
    description:
      'The next-generation video generation model, MiniMax Hailuo 02, has been officially released, supporting 1080P resolution and 10-second video generation.',
    displayName: 'MiniMax Hailuo 02',
    id: 'MiniMax-Hailuo-02',
    parameters: {
      duration: { default: 6, enum: [6, 10] },
      endImageUrl: {
        default: null,
      },
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      resolution: {
        default: '768P',
        enum: ['512P', '768P', '1080P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    pricing: {
      currency: 'USD',
      units: [{ name: 'videoGeneration', rate: 0.28, strategy: 'fixed', unit: 'video' }],
    },
    releasedAt: '2025-06-18',
    type: 'video',
  },
  {
    description:
      'A director-level video generation model has been officially released, offering improved adherence to camera movement instructions and cinematic shot storytelling language.',
    displayName: 'I2V 01 Director',
    id: 'I2V-01-Director',
    parameters: {
      duration: { default: 6, enum: [6] },
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      resolution: {
        default: '720P',
        enum: ['720P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    releasedAt: '2025-02-11',
    type: 'video',
  },
  {
    description:
      'A director-level video generation model has been officially released, offering improved adherence to camera movement instructions and cinematic shot storytelling language.',
    displayName: 'T2V 01 Director',
    id: 'T2V-01-Director',
    parameters: {
      duration: { default: 6, enum: [6] },
      prompt: { default: '' },
      resolution: {
        default: '720P',
        enum: ['720P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    releasedAt: '2025-02-11',
    type: 'video',
  },
  {
    description: 'Enhanced character performance: more stable, smoother, and more vivid.',
    displayName: 'I2V 01 Live',
    id: 'I2V-01-live',
    parameters: {
      duration: { default: 6, enum: [6] },
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      resolution: {
        default: '720P',
        enum: ['720P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    releasedAt: '2025-03-03',
    type: 'video',
  },
  {
    description: 'The foundational image-to-video model of the 01 series.',
    displayName: 'I2V 01',
    id: 'I2V-01',
    parameters: {
      duration: { default: 6, enum: [6] },
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      resolution: {
        default: '720P',
        enum: ['720P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    releasedAt: '2025-03-03',
    type: 'video',
  },
  {
    description: 'The foundational reference-to-video model of the 01 series.',
    displayName: 'S2V 01',
    id: 'S2V-01',
    parameters: {
      imageUrl: {
        default: null,
      },
      prompt: { default: '' },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    releasedAt: '2025-01-10',
    type: 'video',
  },
  {
    description: 'The foundational text-to-video model of the 01 series.',
    displayName: 'T2V 01',
    id: 'T2V-01',
    parameters: {
      duration: { default: 6, enum: [6] },
      prompt: { default: '' },
      resolution: {
        default: '720P',
        enum: ['720P'],
      },
      promptExtend: { default: false },
      watermark: { default: false },
    },
    releasedAt: '2025-03-03',
    type: 'video',
  },
];

// Prices are ¥3.5 (HD) and ¥2 (Turbo) per 10k characters, billed on `usage_characters`.
// @see https://platform.minimaxi.com/docs/guides/pricing-paygo
const minimaxTTSModels: AITTSModelCard[] = [
  {
    description:
      'The latest high-fidelity speech model with natural prosody, rich emotion and precise timbre reproduction.',
    displayName: 'Speech 2.8 HD',
    enabled: true,
    id: 'speech-2.8-hd',
    parameters: minimaxSpeech28Schema,
    pricing: {
      currency: 'CNY',
      units: [{ name: 'textInput', rate: 350, strategy: 'fixed', unit: 'millionCharacters' }],
    },
    type: 'tts',
    voices: minimaxTTSVoices,
  },
  {
    description:
      'The latest low-latency speech model, balancing synthesis speed with natural expression.',
    displayName: 'Speech 2.8 Turbo',
    enabled: true,
    id: 'speech-2.8-turbo',
    parameters: minimaxSpeech28Schema,
    pricing: {
      currency: 'CNY',
      units: [{ name: 'textInput', rate: 200, strategy: 'fixed', unit: 'millionCharacters' }],
    },
    type: 'tts',
    voices: minimaxTTSVoices,
  },
  {
    description:
      'High-fidelity speech model with expressive emotion control, including fluent and whisper styles.',
    displayName: 'Speech 2.6 HD',
    id: 'speech-2.6-hd',
    parameters: minimaxSpeech26Schema,
    pricing: {
      currency: 'CNY',
      units: [{ name: 'textInput', rate: 350, strategy: 'fixed', unit: 'millionCharacters' }],
    },
    type: 'tts',
    voices: minimaxTTSVoices,
  },
  {
    description:
      'Low-latency speech model with expressive emotion control, including fluent and whisper styles.',
    displayName: 'Speech 2.6 Turbo',
    id: 'speech-2.6-turbo',
    parameters: minimaxSpeech26Schema,
    pricing: {
      currency: 'CNY',
      units: [{ name: 'textInput', rate: 200, strategy: 'fixed', unit: 'millionCharacters' }],
    },
    type: 'tts',
    voices: minimaxTTSVoices,
  },
  {
    description:
      'High-fidelity speech model with strong rhythm, stable timbre and high similarity.',
    displayName: 'Speech 02 HD',
    id: 'speech-02-hd',
    parameters: minimaxSpeech02Schema,
    pricing: {
      currency: 'CNY',
      units: [{ name: 'textInput', rate: 350, strategy: 'fixed', unit: 'millionCharacters' }],
    },
    type: 'tts',
    voices: minimaxTTSVoices,
  },
  {
    description: 'Low-latency speech model with improved multilingual performance.',
    displayName: 'Speech 02 Turbo',
    id: 'speech-02-turbo',
    parameters: minimaxSpeech02Schema,
    pricing: {
      currency: 'CNY',
      units: [{ name: 'textInput', rate: 200, strategy: 'fixed', unit: 'millionCharacters' }],
    },
    type: 'tts',
    voices: minimaxTTSVoices,
  },
];

export const allModels = [
  ...minimaxChatModels,
  ...minimaxImageModels,
  ...minimaxVideoModels,
  ...minimaxTTSModels,
];

export default allModels;