We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Meituan: LongCat 2.0
meituan/longcat-2.0Try Meituan: LongCat 2.0 now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Meituan: LongCat 2.0 at a glance
- Input price is 33% lower than the median of 434 Text models.
- Context window of 1,048,756 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports reasoning effort control.
- A typical request (1,000 input / 500 output tokens) costs about $0.00315.
About Meituan: LongCat 2.0
Meituan: LongCat 2.0 is a text model from Meituan, released by the provider on 2026-07-20. It is a sparse mixture-of-experts language model, with 48B active parameters out of 1.6T total. The model id on api14 is meituan/longcat-2.0, and its main category is text.
LongCat 2.0 accepts text input and returns text output. It has a context window of 1,048,756 tokens, so you can send very large prompts in a single request, and a maximum output of 262,144 tokens. Its supported request parameters include temperature, top_p, top_k, min_p, frequency_penalty, presence_penalty, repetition_penalty, logit_bias, seed, stop, max_tokens, tools, tool_choice, reasoning, and include_reasoning. Because it exposes tools and tool_choice, it can be used in tool calling workflows, and the reasoning and include_reasoning parameters let you control whether reasoning output is returned.
Those capabilities point to a few practical uses. The provider describes LongCat 2.0 as suited for coding, repository-level changes, long-horizon problem solving, and agentic work. A large context window is useful when you need to pass whole files, long logs, or wide collections of source together, and the large maximum output helps when the answer itself has to be long, such as a substantial patch or a long report. Tool support makes it a reasonable candidate for agents that call functions or external services across several steps.
To call it through api14, use the OpenAI-compatible chat completions endpoint with the model id meituan/longcat-2.0, and include the parameters listed above in the request body where needed. Since api14 is OpenAI-compatible, existing OpenAI client libraries generally work with only the base URL and API key changed. Set max_tokens to bound the response, use stop sequences to end generation cleanly, and pass tools and tool_choice when you want the model to call functions. The seed parameter is available if you need more repeatable sampling, and temperature, top_p, top_k, and min_p give you control over how the model samples.
The main limits to keep in mind follow from the facts: input and output are text only, so this model is not the choice for image, audio, or other non-text input. If your task is short and simple, the very large context window and output limit may be more than you need, and a smaller text model could be a simpler fit. If you need multimodal input, look for a model whose input modalities include the media type you are sending.
How to call the Meituan: LongCat 2.0 API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "meituan/longcat-2.0".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "meituan/longcat-2.0",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyseedstoptemperaturetool_choicetoolstop_ktop_pSpecifications
- Context length
- 1,048,756
- Max output
- 262,144
- Input
- text
- Output
- text
Requests on api14 · last 7 days
Meituan: LongCat 2.0: frequently asked questions
- How much does the Meituan: LongCat 2.0 API cost?
- Meituan: LongCat 2.0 costs Input $1.05 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Meituan: LongCat 2.0?
- Meituan: LongCat 2.0 reads up to 1,048,756 tokens per request: prompt, history and documents together. It writes up to 262,144 output tokens per response.
- What can Meituan: LongCat 2.0 do?
- Meituan: LongCat 2.0 accepts text and returns text. It supports tool calling, reasoning effort control.
- How do I call Meituan: LongCat 2.0 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "meituan/longcat-2.0". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Meituan: LongCat 2.0?
- Comparable Text models at a similar price: Meta: Muse Glimmer 30B, MiniMax: MiniMax M3, MiniMax: MiniMax M2.7. Each runs through the same API key, so switching is one string.
Meituan: LongCat 2.0 community
New topicThis community has no topics yet. Open the first one about Meituan: LongCat 2.0.