Back to models
Try in Agents
Model · MiniMax
MiniMax M2.7
minimax/minimax-m2.7
MiniMax's latest model for agentic workflows and multi-agent collaboration
cachinglegacy
Specs
Context
205K
Max output
16K
Provider
MiniMax
Input
$0.300/ 1M tokens
Output
$1.20/ 1M tokens
Cache read
$0.060/ 1M tokens
Try it
Chat with MiniMax M2.7Terramind API
⌘+Enter to run
Code
import { streamText } from "ai";
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
const terramind = createOpenAICompatible({
name: "terramind",
baseURL: "https://terramind.com/api/v1",
apiKey: process.env.TERRAMIND_API_KEY!,
});
const result = streamText({
model: terramind("minimax-m2.7"),
prompt: "Why is the sky blue?",
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}
Want to run this in your app? Grab an API key · Full chat reference
More by MiniMax
| Model | Context | In | Out | Capabilities |
|---|---|---|---|---|
| 1M | $0.300 | $1.20 | reasoningcaching | |
| 0 | $0 | $0 | image to videoreference imagesnative audio | |
| 0 | $0 | $0 | image to videonative audiofirst and last frame |