Skip to content

    MiniMax M2.7

    Chat

    MiniMax-M2.7

    MiniMax M2.7 on FlexAI: MiniMax LLM, MiniMax License (open weights), served via the OpenAI-compatible Token Factory at the live market-tracked rate.

    Pricing

    Input

    $0.225 / M tokens

    Output

    $0.9 / M tokens

    Pricing source

    Context

    192K tokens

    API endpoint

    /v1/chat/completions

    Compatibility

    OpenAI

    Parameters

    229B MoE

    License

    MiniMax License (open weights)

    Hardware

    4× H100

    Quantization

    FP8

    Estimate your monthly cost

    M tokens
    M tokens
    10M × $0.225/M input$2.25
    2M × $0.9/M output$1.8
    Estimated monthly cost$4.05

    Estimate only, at the current market-tracked rate. Usage-based; no minimums.

    Get an API key

    Quick Start

    from openai import OpenAI
    
    client = OpenAI(
        base_url="https://tokens.flex.ai/v1",
        api_key="your-api-key",
    )
    
    response = client.chat.completions.create(
        model="MiniMax-M2.7",
        messages=[
            {"role": "user", "content": "Hello!"}
        ],
    )
    
    print(response.choices[0].message.content)