Models / Compare / glm-5.2 vs MiniMax-M2.7
glm-5.2 vs MiniMax-M2.7
Both models are available on RelayRouter through one base URL. This page shows which public groups serve each one, what the groups charge, and the protocol to call, so you can pick by price and integration effort. It does not rank quality.
glm-5.2
glm-5.2
- Provider
- Zhipu AI
- Modality
- text generation
- Public groups
- 1
- Cheapest group
- Z.ai: ¥11.35 (about $1.67) per 1M input tokens, ¥35.68 (about $5.25) per 1M output tokens
- Protocols
- OpenAI Chat Completions API
MiniMax-M2.7
MiniMax-M2.7
- Provider
- MiniMax
- Modality
- text generation
- Public groups
- 1
- Cheapest group
- MiniMax: ¥1.763 (about $0.259) per 1M input tokens, ¥7.058 (about $1.04) per 1M output tokens
- Protocols
- OpenAI Chat Completions API
Same request, two models
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RELAYROUTER_API_KEY,
baseURL: "https://relayrouter.io/v1",
});
const res = await client.chat.completions.create({
model: "glm-5.2",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RELAYROUTER_API_KEY,
baseURL: "https://relayrouter.io/v1",
});
const res = await client.chat.completions.create({
model: "MiniMax-M2.7",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);Questions
Is glm-5.2 or MiniMax-M2.7 cheaper on RelayRouter?
Compare the cheapest group of each: glm-5.2 is served by "Z.ai" (¥11.35 (about $1.67) per 1M input tokens, ¥35.68 (about $5.25) per 1M output tokens) and MiniMax-M2.7 by "MiniMax" (¥1.763 (about $0.259) per 1M input tokens, ¥7.058 (about $1.04) per 1M output tokens). Settlement rates apply to the provider's standard usage, so a model with a higher official price can still cost more at a lower rate.
Can I switch between the two without changing code?
If both models sit in groups with the same protocol you only change the model name. If the protocols differ, point the matching SDK at https://relayrouter.io; the base URL and key handling stay the same.
Does this page compare output quality?
No. It compares availability, protocols and price on RelayRouter. Run your own evaluation prompts through both models; failed requests are not billed.
Rates are indicative; the console shows the authoritative rate at request time. See pricing and the full model list.