MiniMax-M2.7
7折MiniMax-M2.7PricingDetails
$ / 1M TokensInput
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
APIaddress
POST https://www.gk2.com/v1/chat/completionscURL
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
ModelID
MiniMax-M2.7Billing MethodPer Token
InputPrice$0.30 / 1M
OutputPrice$1.20 / 1M
CacheLoading$0.06 / 1M
CacheCreate$0.30 / 1M