AllModel

MiniMax-M2.7

7折
MiniMax-M2.7

PricingDetails

$ / 1M Tokens

Input

Input

$0.30

Output

Output

$1.20

Cache Write

CacheCreate

$0.30

Cache Read

CacheLoading

$0.06

CurrentEnjoy 7折 discount, Save 30.000000000000004% Cost.

Quick Start

APIaddressPOST https://www.gk2.com/v1/chat/completions
cURL
curl https://www.gk2.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-M2.7",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python (OpenAI SDK)
import openai

client = openai.OpenAI(
    api_key="sk-your-key",
    base_url="https://www.gk2.com/v1"
)

response = client.chat.completions.create(
    model="MiniMax-M2.7",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Modelinfo

ModelIDMiniMax-M2.7
Billing MethodPer Token
InputPrice$0.30 / 1M
OutputPrice$1.20 / 1M
CacheLoading$0.06 / 1M
CacheCreate$0.30 / 1M

StartUse MiniMax-M2.7

RegisterFree Quota, replaceAPIaddressIntegrate