Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Meituan

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

Chat

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.

Chat

LongCat 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

What is this Meituan API about?

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.

Which Meituan models can I use?

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.

How much does it cost?

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.

What is Puter.js?

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.

Does this work with React / Vue / Vanilla JS / Node / etc.?

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.