Skip to content
Dashboard

LongCat 2.5 now available on AI Gateway

LongCat 2.5 from Meituan is now available on AI Gateway. This model combines native visual understanding with coding and multi-step tool use for agents working across complex codebases and full-project builds.

Meituan highlights improvements in visual programming, creative design, and 3D tasks, alongside longer agent workflows that carry engineering work from planning through execution. The model supports text and image inputs with a 1M-token context window for code, documents, and extended task histories.

Use meituan/longcat-2.5 as the model name:

import { streamText } from 'ai';
const result = streamText({
model: 'meituan/longcat-2.5',
prompt: 'Outline a database migration in three brief steps.',
});
for await (const text of result.textStream) {
process.stdout.write(text);
}

To use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:

npx vercel ai-gateway setup

Then select meituan/longcat-2.5 in the agent. See the coding agents guide for details.

Try LongCat 2.5 in the model playground.

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.

AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.

You can view all language models available on AI Gateway.