Meituan API
Access Meituan instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain AI like I'm five!", {
model: "meituan/longcat-flash-chat"
}).then(response => {
console.log(response);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain AI like I'm five!", {
model: "meituan/longcat-flash-chat"
}).then(response => {
console.log(response);
});
</script>
</body>
</html>
List of Meituan Models
LongCat 2.0
meituan/longcat-2.0
LongCat 2.0 is a 1.6-trillion-parameter Mixture-of-Experts (MoE) language model from Meituan, activating between roughly 33B and 56B parameters per token depending on query complexity. It supports a native 1-million-token context window through a custom LongCat Sparse Attention mechanism built for long-context workloads, and is tuned for agentic coding tasks such as whole-repository reasoning, multi-step terminal use, and cross-language migration. On SWE-bench Pro it scores 59.5, edging GPT-5.5's 58.6, and reaches 70.8 on Terminal-Bench 2.1 and 77.3 on SWE-bench Multilingual; Meituan reports overall performance comparable to Google's Gemini 3.1 Pro. A good fit for developers building coding agents or tools that need large context windows for whole-codebase reasoning.
ChatLongCat Flash Chat
meituan/longcat-flash-chat
LongCat Flash Chat is a 560-billion-parameter Mixture-of-Experts (MoE) language model developed by Meituan, dynamically activating roughly 27B parameters per token for an efficient balance of capability and cost. As a non-thinking foundation model, it's optimized for conversational and agentic tasks, with particular strengths in tool use and multi-step interactions. It supports a 128K-token context window and delivers over 100 tokens per second at inference. On benchmarks, it scores 86.5 on ArenaHard-V2, 89.7 on MMLU, and 67.7 on τ²-Bench, performing competitively with models like DeepSeek-V3.1 and Kimi-K2 while activating fewer parameters. A strong pick for developers building agentic workflows, coding assistants, or complex tool-calling pipelines where speed and efficiency matter.
Frequently Asked Questions
The Meituan API gives you access to models for AI chat. Through Puter.js, you can start using Meituan models instantly with zero setup or configuration.
Puter.js supports a variety of Meituan models, including LongCat 2.0 and LongCat Flash Chat. Find all AI models supported by Puter.js in the AI model list.
With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.
Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.
Yes — the Meituan API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building. See the documentation for more details.