Using LongCat-2.0 on LongCat API Platform
Implementation guide · LongCat · Meituan
Quick Start
- 1
- 2Use the LongCat API Platform SDK or REST API to call
LongCat-2.0— see the documentation for request format. - 3
Code Examples
About LongCat API Platform
LongCat API Platform provides public API access to LongCat-2.0 with OpenAI and Anthropic API formats, including a 1M token context window and up to 128K output tokens for LongCat-2.0. The platform supports pay-as-you-go billing and token packs for LongCat-2.0.
LongCat API Platform is Meituan's public model API service. It serves LongCat-2.0 through OpenAI-compatible chat completions and Anthropic-compatible messages endpoints.
Pricing on LongCat API Platform
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.75 |
| Output tokens | $2.95 |
Capabilities
About LongCat-2.0
LongCat-2.0 is Meituan's large-scale MoE language model for coding, long-context, and agentic tasks. The model has 1.6T total parameters, roughly 48B activated per token, native 1M context support, and API access through OpenAI- and Anthropic-compatible LongCat endpoints. Public MIT-licensed safetensors weights are downloadable from Hugging Face, with Transformers, vLLM, and SGLang deployment support.