minimax-m2.5-highspeed

Text

A high-throughput variant of M2.5 with matching quality at roughly triple the speed, tuned for coding and agentic tool use under latency-sensitive workloads.

Prix d'entrée

$0.5115 % de réduction

Marché : $0.6

/ M

Prix de sortie

$2.0415 % de réduction

Marché : $2.4

/ M

Lecture cache

$0.025515 % de réduction

Marché : $0.03

/ M

Écriture du cache

$0.318715 % de réduction

Marché : $0.3749

/ M

Entrée

Texte

Sortie

Texte

API

Démarrage rapide

Code prêt à copier pour appeler ce modèle via l'API compatible OpenAI d'EasyAPI.

1

Obtenir votre clé API

Créez un jeton API dans la console et définissez-le comme variable d'environnement :

Remplacez sk-xxxxxxxx par votre jeton API depuis la console (Bearer Token).

Créer un jeton API
shell
export EASYAPI_API_KEY=sk-xxxxxxxx
2

Effectuer votre première requête

Utilisez minimax/minimax-m2.5-highspeed avec l'API EasyAPI :

cURL
curl https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"minimax/minimax-m2.5-highspeed","messages":[{"role":"user","content":"Hello!"}]}'
3

Activer le streaming

Ajoutez "stream": true au corps de la requête pour recevoir les réponses en SSE :

curl
curl -N https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"minimax/minimax-m2.5-highspeed","messages":[{"role":"user","content":"Hello!"}],"stream":true}'

Point de terminaison

Envoie une requête de complétion de chat. Prend en charge le streaming et le mode non-streaming.

POSThttps://token.easyapi.com/v1/chat/completions
Authorization
Bearer $EASYAPI_API_KEY
Content-Type
application/json
Model
minimax/minimax-m2.5-highspeed

发送对话补全请求,支持流式与非流式。 Docs

GEThttps://token.easyapi.com/v1/models
Authorization
Bearer $EASYAPI_API_KEY

获取当前账户可用模型列表。 Docs

Paramètres

NomTypePar défautDescription
modelstring模型 ID,如 openai/gpt-4o、anthropic/claude-3-5-sonnet
messagesarray对话消息列表,每项含 role 与 content
streambooleanfalse设为 true 时以 SSE 流式返回
temperaturefloat1采样温度,越高越随机
max_tokensinteger单次回复最大生成 Token 数
top_pfloat1核采样,限制候选词累积概率
frequency_penaltyfloat0频率惩罚,降低重复用词
presence_penaltyfloat0存在惩罚,鼓励新话题

Utiliser des SDK tiers

Les SDK officiels OpenAI et autres fonctionnent en changeant le base URL. Voir guide d'intégration