Text model API

MiniMax M2.7 API

minimax/minimax-m2.7 is a high-performance multimodal large language model developed by MiniMax, designed to deliver fast, accurate, and context-aware responses across a wide range of tasks. It combines strong natural language understanding with efficient reasoning and generation capabilities, making it suitable for both conversational AI and productivity-driven applications. Optimized for scalability and real-time use, M2.7 provides a balance between performance and efficiency, enabling developers and businesses to build intelligent, responsive AI experiences.

Model id
minimax-m27
Takes
Text (required)
Makes
Text
Endpoint
POST /api/v1/chat/completions
Made by
MiniMax
Mode
Synchronous

Call MiniMax M2.7

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model minimax-m27

POST /api/v1/chat/completions

curl https://payload.rentprompts.com/api/v1/chat/completions \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax-m27",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about APIs."
    }
  ],
  "max_tokens": 256
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from MiniMax M2.7's published price (0.12 J in · 0.2 J out / 1K tokens). You pay only for successful results, from your Joule balance.
  • 1,000 input + 500 output tokens0.22 Joules
  • 10,000 input + 2,000 output tokens1.6 Joules

Send requests to POST /api/v1/chat/completions. MiniMax M2.7 answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).

This model has no extra settings. Send the standard fields shown in the example.

MiniMax M2.7 API — Pricing & Code Examples | RentPrompts