Back to models
Try in Agents
Model · Meituan
LongCat 2.5 Preview
meituan/longcat-2.5-preview
Meituan's multimodal reasoning model for coding and agentic workflows, with image input and a 1M context
reasoningvisioncaching
Specs
Context
1.0M
Max output
131K
Provider
Meituan
Input
$0.300/ 1M tokens
Output
$1.20/ 1M tokens
Cache read
$0.0060/ 1M tokens
Try it
Chat with LongCat 2.5 PreviewTerramind 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("longcat-2.5-preview"),
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