Meituan LongCat-2.5 API: Pricing, 1M Context, Benchmarks, and Temperature Rules
Complete guide to Meituan's LongCat-2.5 API pricing ($0.30 input, $1.20 output, $0.006 cache read as of 2026-11-03), 1.6T MoE specs, Terminal Bench v2.1 vs v4.0 scores.
Summary
- Meituan's LongCat-2.5 (1.6T total / ~48B active MoE, 1M context) costs $0.30 per 1M input tokens, $1.20 per 1M output tokens as of 2026-11-03.
- While LongCat-2.5 scores 88.4 on Terminal Bench v2.1 (nearly matching Claude Opus 5 at 89.1), its score drops to 38.5 vs 53.9 on the newer Terminal Bench v4.0.
- The API forcibly locks temperature to 1.0 when thinking mode is enabled and 0.7 when thinking is disabled, ignoring temperature: 0 in evaluation scripts.
- Avoiding HTTP 402 errors on the free tier, fixing case-sensitive model ID rejections, and handling raw longcat_tool_call XML tags in third-party clients.
Meituan's LongCat-2.5 API is priced at $0.30 per 1M uncached input tokens, $1.20 per 1M output tokens, and $0.006 per 1M cached input tokens. Released on November 2, 2026, LongCat-2.5 is a native multimodal Mixture-of-Experts (MoE) model with 1.6 trillion total parameters, roughly 48 billion active parameters per token, and a 1-million-token context window.
If you are looking at those numbers and wondering whether you can swap out frontier coding models for a fraction of the cost, the short answer comes down to two details that do not show up on the headline announcement banner: a steep drop between Terminal Bench v2.1 and v4.0, and a server-side parameter rule that locks your sampling temperature to 1.0 or 0.7 whether you want it or not. Here is how the pricing, real-world agent performance, and API constraints actually work when you wire LongCat-2.5 into your stack.
On this page
LongCat-2.5 API Pricing and Architecture Specs
At $0.30 per million input tokens and $1.20 per million output tokens (as of 2026-11-03), LongCat-2.5 sits in the same aggressive price bracket as DeepSeek V4.1 Flash while offering a full 1M context window without a mid-tier context surcharge. Where the billing structure really stands out is prompt caching: cache reads drop by 98% to $0.006 per 1M tokens (as of 2026-11-03).
| Specification / Pricing Tier (as of 2026-11-03) | Official LongCat-2.5 Value | Notes for API Developers |
|---|---|---|
| Architecture | 1.6T Total / ~48B Active MoE | Native multimodal model |
| Context Window | 1,000,000 tokens | Fills 200K context in ~5 minutes; generates at ~80 tok/s |
| Input Price (Uncached) | $0.30 / 1M tokens | Flat rate across the context window |
| Cache Read Price (Hit) | $0.006 / 1M tokens | 98% discount over uncached input; does not deduct from free quota |
| Output Price | $1.20 / 1M tokens | Includes reasoning/thinking tokens when thinking mode is active |
| Free Tier Grant | 10M tokens (new) / 5M (existing) | Requires account identity verification before balance appears |
| Monthly Promo Pack | 9.9 RMB (~$1.40) for 50M tokens | Cache hits are not billed against the 50M token cap |
According to the official LongCat-2.5 pricing documentation, cache hits do not consume tokens from your promotional grant or the 9.9 RMB monthly subscription package. When I run long-horizon repository analysis or multi-turn coding sessions where the system prompt and codebase prefix stay static, cache hit rates regularly reach 99.3%. Under that kind of workload, a 50-million-token uncached allowance effectively covers around 700 million total input tokens before you touch your paid balance. As I broke down in Claude vs GPT for Coding: Same List Price, Different Bill, cache read mechanics dictate your real monthly spend far more than the base input rate.
Throughput on the hosted endpoint holds up well for a 1.6T model. Prefilling 200,000 tokens of the 1M context window takes roughly five minutes on an initial cold request, and standard multi-threaded decoding settles at around 80 tokens per second.
Why New Accounts Hit HTTP 402 Immediately
When you first register on the LongCat platform and fire a test request at LongCat-2.5, the API immediately rejects the call with an HTTP 402 Payment Required status code. Checking the billing dashboard right after signup shows a token balance of 0, even though the release notes promise 10 million free tokens for new accounts and 5 million for existing accounts.
The free token grant is gated behind real-name verification on the account portal. Until you complete that verification step, the quota is not credited to your organization, and the gateway blocks every 2.5 API call with a 402 error. Once verification clears, the 10M or 5M balance populates immediately without requiring a upfront credit card deposit.
Terminal Bench v2.1 vs v4.0: The Real Coding Gap
On the official LongCat-2.5 release blog, the headline coding benchmark places LongCat-2.5 right next to Anthropic's flagship model. If you only read that top bar chart, it looks like a $0.30/$1.20 model (as of 2026-11-03) just matched Claude Opus 5 on terminal engineering tasks. Digging into the benchmark versions tells a very different story.
| Benchmark Suite | Meituan LongCat-2.5 | Claude Opus 5 | Performance Gap |
|---|---|---|---|
| Terminal Bench v2.1 (Legacy) | 88.4 | 89.1 | -0.7 points (near parity) |
| Terminal Bench v4.0 (Current) | 38.5 | 53.9 | -15.4 points (major drop) |
On Terminal Bench v2.1, LongCat-2.5 scores 88.4, trailing Claude Opus 5 (89.1) by less than a single point. However, Terminal Bench v2.1 is an older evaluation suite that many 2026 models have saturated. When you evaluate both models on the harder, less contaminated Terminal Bench v4.0, LongCat-2.5 drops to 38.5, while Claude Opus 5 posts 53.9. Several other comparisons in the launch table benchmark LongCat-2.5 against the initial release of DeepSeek V4.1 rather than current snapshots—achieving rough parity only by throwing 1.6T total parameters (nearly double DeepSeek's footprint) at the problem.
Preview vs. Full Release in Real Agent Workflows
To judge where LongCat-2.5 fits in a production coding harness, you have to separate the September LongCat-2.5-Preview build from the November 2 full release, while keeping realistic expectations about what 48B active parameters can handle.
During the preview phase, running the model inside automated coding agents like OpenCode exposed severe looping and edit-boundary bugs. Pointing LongCat-2.5-Preview at a five-class C# refactoring task caused the reasoning trace to repeat the exact same sentence in circles for twenty minutes without yielding a patch. Even worse, when tasked with targeted edits, the preview model frequently modified unrelated validation logic across the file—such as stripping the lower bound out of 0 < parameter <= max and turning it into parameter <= max across twenty separate functions—before reporting that the task was complete and leaving the project uncompilable. Even simple virtual machine setup sequences got stuck repeating ls commands.
The November LongCat-2.5 full release fixes the worst of those runaway generation loops and noticeably improves structured output and visual layout reasoning. For instance, on single-shot SVG generation tests like drawing a pelican riding a bicycle, the full 2.5 release properly aligns the geometry and places the feet cleanly on the pedals. Even so, compact dense and smaller MoE models like Qwen3.8-27B still match or beat it on tight formatting tasks, and LongCat-2.5 continues to stumble on multi-step state tracking and combinatorics logic puzzles. Use it for high-volume 1M-context ingestion, log summarization, and straightforward boilerplate generation, but keep Claude Opus 5 or Sonnet 5.5 in the loop for multi-file state surgery.
Locked Temperature Rules: Why You Cannot Set temperature: 0
The biggest trap waiting for developers who run automated evaluation harnesses against LongCat-2.5 is buried in the official model parameter documentation. Unlike standard OpenAI or Anthropic endpoints that let you tune sampling temperature between 0.0 and 2.0, LongCat-2.5 enforces fixed temperatures tied directly to its thinking state:
| Mode | Enforced Temperature | Effect of Passing temperature: 0 |
|---|---|---|
| Thinking Enabled | Locked to 1.0 |
Ignored / overridden to 1.0 |
| Thinking Disabled | Locked to 0.7 |
Ignored / overridden to 0.7 |
If you enable thinking mode, the API locks temperature to 1.0. If you disable thinking mode, the API locks temperature to 0.7.
This creates an immediate problem for reproducible testing and deterministic pipelines:
- No greedy decoding for unit tests or evals: If your benchmark suite sets
temperature: 0to eliminate sampling variance across test runs, LongCat-2.5 will still sample at1.0(with thinking) or0.7(without thinking). Every single run will take a slightly different token path, making single-shot pass@1 comparisons noisy and non-reproducible. - Silent parameter ignoring on reasoning effort: If you pass OpenAI-style
reasoning_effort(low,medium,high) or Anthropic-style thinking token budgets in your request payload, the LongCat API does not return an HTTP 400 validation error. It accepts the request and silently drops the effort parameters. Because you cannot clamp the thinking budget or lower the1.0thinking temperature, the same prompt can finish thinking in three seconds on one call and spend eight minutes generating reasoning tokens on the very next call.
When you write your API client wrapper for LongCat-2.5, strip out custom temperature, top_p, and reasoning_effort overrides so your team does not waste time debugging why deterministic seeds and effort caps are failing to take effect.
from openai import OpenAI
import os
# Use the standard OpenAI SDK pointed at the LongCat API base URL
client = OpenAI(
api_key=os.environ.get("LONGCAT_API_KEY"),
base_url="https://api.longcat.chat/v1"
)
response = client.chat.completions.create(
model="LongCat-2.5",
messages=[
{"role": "system", "content": "You are a concise backend code reviewer."},
{"role": "user", "content": "Check this Go handler for race conditions."}
]
# Note: Do not rely on temperature=0 or reasoning_effort="low".
# The server enforces temperature=1.0 (thinking on) or 0.7 (thinking off).
)
print(response.choices[0].message.content)
If you run into /v1 path mismatches or credential errors when swapping endpoints in the Python client, follow the checklist in OpenAI Python SDK base_url: Change the API Address and Key.
Client Integration Bugs: Model IDs, XML Tool Calls, and 403 Errors
Because LongCat-2.5 rolled out after most desktop AI clients and coding harnesses froze their October model catalogs, connecting it to third-party tools triggers a few specific compatibility bugs.
1. Case-Sensitive Model Strings (Unsupported model)
Desktop clients like Cherry Studio (versions 2.1.4 and 2.1.6) only include up to LongCat-2.0 in their built-in provider sync lists. When you manually add the model to a client, pay strict attention to how the client separates its internal catalog ID from the upstream apiModelId.
If your client normalizes the model string to lowercase with hyphens—sending longcat-2-5-preview or longcat-2-5 in the HTTP request body—the LongCat gateway rejects the request with Unsupported model or 404 Not Found. You must configure the outbound request model string with exact casing: LongCat-2.5 for the production release or LongCat-2.5-Preview if you are hitting a legacy preview route.
Also note that while LongCat-2.5 is natively multimodal, parts of the Chinese platform documentation (APIDocs.html) still mark the endpoint schema as text-only. Some client auto-configurators read that conservative flag and grey out image upload buttons unless you manually enable vision support in the model's local profile settings.
2. Raw <longcat_tool_call> Tags Leaking into Message Content
When you manually add LongCat-2.5 to an existing OpenAI-compatible client and enable MCP servers or function calling, tool execution can silently fail. Instead of populating the standard choices[0].message.tool_calls JSON array, the response returns finish_reason: "stop" and dumps raw XML tags directly into the plain text message content:
<longcat_tool_call>
{"name": "read_file", "arguments": {"path": "src/main.rs"}}
</longcat_tool_call>
This happens when the client or intermediate relay does not have the updated LongCat 2.5 tool parser enabled and falls back to raw text streaming. If you see <longcat_tool_call> printed in your chat window, your client is not parsing the model's native tool template into structured tool_calls objects. Until your client ships a dedicated parser update for LongCat-2.5, you will need a lightweight response middleware that regex-matches <longcat_tool_call>...</longcat_tool_call> blocks and converts them into standard OpenAI tool_calls payloads.
3. Fixing 403 FreeTierError in OpenCode
If you test LongCat through OpenCode's hosted free tier (longcat-2.5-preview-free) rather than calling Meituan's API directly, you may hit this error mid-session:
403 FreeTierError: "OpenCode's free tier can only be used from within OpenCode."
This 403 error occurs even when you are actively running the official OpenCode CLI (such as v2.0.28), and it is not caused by an expired Meituan API key or an exhausted token quota. The check happens at the OpenCode Zen gateway, which blocks requests routed through certain datacenter VPNs and custom US-West proxy nodes across all free-tier models. Disabling your proxy or routing the OpenCode CLI through a direct residential connection resolves the 403 block immediately.
Are the LongCat-2.5 Open Weights Available?
Although the official release post includes links to GitHub and Hugging Face alongside the technical overview, the LongCat-2.5 model weights have not been released for download yet. Clicking through the repository links currently leads to a placeholder page stating "soon", with no quantized checkpoints, configuration files, or license terms posted.
Even if Meituan publishes the raw weights in the coming weeks, self-hosting a 1.6-trillion-parameter MoE model requires multi-node H100/H200 cluster infrastructure just to hold the weights in VRAM. When a model is twice the total size of DeepSeek V4.1 and the official API charges $0.30 per million input tokens and $0.006 for cache hits as of 2026-11-03, running it locally makes zero financial sense. Stick to the hosted API, complete the account verification to unlock the 10M free token grant, and design your prompts around the locked 1.0 and 0.7 temperature rules.