# MiniMax ## Endpoints (China) - OpenAI: https://api.minimaxi.com/v1/chat/completions - Anthropic: https://api.minimaxi.com/anthropic/v1/messages ## International endpoint - https://api.minimax.io/v1/chat/completions (not all keys work) ## Auth Authorization: Bearer ## Key Format (Coding Plan / Token Plan) sk-cp- + long alphanumeric string (length varies) ## Usable Key Key: sk-cp-WCVxiI5uFbxuIydEUdgZ9ejiC89_csqs0uE9QJUct4k148OhpwYYtu1QdeTDH7shuOyn4kD831hXibst3CmswaZYLhBZE4UOT5qLslMn8R5IYooGzdTajkA Source: https://github.com/leecyno1/dasheng-media-workflow-skills/blob/413d607c2d55d88daf927109d31767b04fd26176/configs/image_generation/providers.local.env Model: MiniMax-M2.5 Status: ✅ Confirmed usable on both OpenAI and Anthropic endpoints (China) ## Other keys found - sk-cp-iZpft1TOE1... (jihe520) — NO_QUOTA - sk-cp-61n_0mofVyU... (ax033/supershell) — INVALID - sk-cp-2FLdqf0Sx9k... (cnds86) — INVALID - sk-cp-AAyB1CfZ101... (daviddatuX25) — INVALID - sk-cp-rh1X6haEKQ4... (xhy2539) — NO_QUOTA - sk-cp-kRIbiqKy9F... (gustavofullstack) — NO_QUOTA (uses api.minimax.io) ## Models discovered - MiniMax-M2.5 (confirmed working) - MiniMax-M2.7 (no quota on usable key) - MiniMax-M3 (no quota on usable key) ## Usage ```bash # OpenAI format curl https://api.minimaxi.com/v1/chat/completions \ -H "Authorization: Bearer sk-cp-WCVxiI5uFbxuIydEUdgZ9ejiC89_csqs0uE9QJUct4k148OhpwYYtu1QdeTDH7shuOyn4kD831hXibst3CmswaZYLhBZE4UOT5qLslMn8R5IYooGzdTajkA" \ -H "Content-Type: application/json" \ -d '{"model":"MiniMax-M2.5","messages":[{"role":"user","content":"hi"}],"max_tokens":100}' # Anthropic format curl https://api.minimaxi.com/anthropic/v1/messages \ -H "Authorization: Bearer sk-cp-WCVxiI5uFbxuIydEUdgZ9ejiC89_csqs0uE9QJUct4k148OhpwYYtu1QdeTDH7shuOyn4kD831hXibst3CmswaZYLhBZE4UOT5qLslMn8R5IYooGzdTajkA" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{"model":"MiniMax-M2.5","messages":[{"role":"user","content":"hi"}],"max_tokens":100}' ```