← All models

MiniMax M2.7

MiniMax · Text

MiniMax M2.7, a cost-effective general-purpose model. Served through getmodel's low-cost domestic-models group over an OpenAI-compatible endpoint. MiniMax M2.7 is available on GetModel via an OpenAI-compatible API, billed pay-as-you-go. Get one key and call it from any OpenAI SDK.

GeneralLow costChinese model

Pricing

ItemPrice
Input$0.17 / 1M tokens
Output$0.681 / 1M tokens

How to call

curl https://getmodel.ai/v1/chat/completions \
  -H "Authorization: Bearer $GETMODEL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MiniMax-M2.7","messages":[{"role":"user","content":"Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")
resp = client.chat.completions.create(
    model="MiniMax-M2.7",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Details

ProviderMiniMax
TypeText
Endpointsopenai / anthropic
Available groupsDomestic models / Default

Related models