MiniMax: MiniMax M2 Cost Calculator for API Token Pricing

Model: MiniMax: MiniMax M2, Context: 196608, Cost: $0.15 per 1M input tokens, $0.45 per 1M output tokens

Note: Calculation is approximate based on public data. Prices may change, check official websites.

The MiniMax M2 Cost Calculator helps you estimate the expenses for using the MiniMax M2 large language model API, considering its specific token pricing structure.

The MiniMax M2 is a compact, high-efficiency large language model, expertly optimized for end-to-end coding and agentic workflows. It excels in tasks like code generation, multi-file editing, and complex multi-step task execution, delivering near-frontier intelligence with low latency and deployment efficiency. With a substantial context window of 196,608 tokens, it supports extensive interactions.

The pricing for MiniMax M2 API tokens is as follows:

  • Input tokens: $0.15 per 1 million tokens
  • Output tokens: $0.45 per 1 million tokens

This calculator allows you to input the number of input tokens, output tokens, and the total number of requests to estimate your total API cost. Optionally, you can calculate the cost in EUR by providing an exchange rate.

The calculation is performed using the following formula:

Total Cost = ((Input Tokens / 1,000,000) * Input Token Cost + (Output Tokens / 1,000,000) * Output Token Cost) * Number of Requests

Example:

Let's say you have 1,000,000 input tokens and 2,000,000 output tokens for a single request:

  • Input cost: (1,000,000 / 1,000,000) * $0.15 = $0.15
  • Output cost: (2,000,000 / 1,000,000) * $0.45 = $0.90
  • Total cost: ($0.15 + $0.90) * 1 = $1.05