LongCat-2.5
1.6T native multimodal model for long-horizon agentic tasks — ~48B active per token, 1M context, visual tokens folded into the backbone (Released: November 2, 2026)
Overview
LongCat-2.5 is the successor to LongCat-2.0 and the first LongCat flagship to fold vision into the language backbone instead of shipping it as a separate model family. It keeps the same scale as 2.0 — 1.6 trillion total parameters with roughly 48 billion activated per token — but changes what the model is optimized for: not just writing and editing code, but running long agentic tasks to completion across a codebase, a terminal, a browser, a spreadsheet, or a design canvas.
The release sits at the intersection of two threads the LongCat team has been pulling since 2025: the DiNA / dNaViT discrete-token lineage from LongCat-Next (proving images can be modeled as tokens in a shared vocabulary), and the agentic RL pipeline refined through LongCat-Flash-Thinking-2601 (synthetic environments, executable test verification, asynchronous rollouts). LongCat-2.5 is what happens when those two meet at trillion-parameter scale.
Release timeline: LongCat-2.5-Preview went live on the LongCat API Platform on September 25, 2026 with API and web access; the full LongCat-2.5 was announced November 1 and became generally available on the API platform on November 2, 2026.
Specifications at a Glance
| Attribute | LongCat-2.5 |
|---|---|
| Total parameters | 1.6 trillion (sparse MoE) |
| Activated per token | ~48B |
| Context window | 1M tokens (native) |
| Max output length | 128K tokens |
| Modalities | Text + image in (visual tokens), text out |
| Visual tokenizer | Native-resolution discrete tokens, multi-level RVQ over Semantic-and-Aligned Encoder features |
| Post-training | Long-horizon agentic RL + MOPD multi-expert fusion |
| Inference precision | W4A4 (INT4 weights + activations) on domestic accelerators |
| API protocols | OpenAI-compatible and Anthropic-compatible |
| Agent harnesses | Claude Code, Codex, Hermes, OpenClaw, OpenCode, Kilo Code |
| Open weights | No public weight release announced as of November 2, 2026 — API and web access only. LongCat-2.0 weights remain MIT-licensed on Hugging Face. |
The 1M context and 128K output figures were documented with the September preview; the November release announcement focuses on capability rather than re-specifying limits.
Native Visual Primitive Modeling
The core architectural shift in 2.5 is that visual signals become tokens. Rather than bolting a vision encoder onto a language model and feeding projected features through an adapter, LongCat-2.5 represents images as multi-level discrete vocabulary tokens, so the backbone sees one sequence type: pretokenized IDs. Language and vision then share a single next-token prediction objective.
Discrete native-resolution vision transformer
To give visual primitives a token-level abstraction comparable to language modeling, LongCat-2.5 applies residual vector quantization (RVQ) to native-resolution features produced by a Semantic-and-Aligned Encoder (SAE) — the same dNaViT-style approach validated in LongCat-Next. Multi-level RVQ is what avoids the classic information bottleneck of naive visual discretization: a single coarse codebook loses detail, while stacked residual levels preserve high-level semantics and fine texture at once.
Offline visual token preprocessing
Because the tokenizer is fixed, visual token IDs can be precomputed and cached offline. The backbone therefore never runs a vision encoder during training: it consumes already-tokenized sequences. This has three practical effects:
- Simpler long-sequence packing — image tokens are just integers to be packed and partitioned like text
- Predictable load balancing — token counts per modality are known before scheduling, so modality ratios across data-parallel ranks stay roughly uniform
- No vision encoder in the training graph — which removes a whole class of parallelism headaches (see the infrastructure section)
Visual embeddings learned jointly with the backbone
The visual codebook embeddings are trained jointly with the language model rather than frozen. On a smaller MoE probe model (~3B activated parameters on average), the team reports that visual and text embeddings appear interwoven in t-SNE projections — evidence that both modalities settle into one shared semantic space instead of occupying separate islands.
The payoff is visual coding: the model can read a screenshot, a chart, a UI mockup, or a rendered 3D viewport and act on it in the same reasoning loop it uses for code. That combination is what enables the creative-design and 3D demos in the release.
Scaling Agentic Reinforcement Learning
LongCat-2.5's biggest capability jump over 2.0 is not in the weights — it is in the RL pipeline. The team scaled an end-to-end agentic RL loop across four axes at once: data, environments, algorithms, and harnesses.
Data synthesis and environment construction
For coding agents, the only trustworthy reward signal comes from a real environment. LongCat-2.5's synthesis pipeline filters GitHub pull requests and their linked issues, uses agents to auto-label tasks and synthesize interactive environments, then validates each one with fail-to-pass (F2P) and pass-to-pass (P2P) tests. Internal real-world coding tasks and their acceptance criteria are mixed in to cover everyday engineering work that public repos never expose.
The pipeline is self-correcting: live rollout pass rates feed back into relabeling and filtering, while offline analysis of false positives and false negatives continuously repairs and extends the F2P test set — pushing verification coverage closer to the actual task specification rather than the original PR diff.
Asynchronous partial rollouts and staleness control
Long-horizon agent tasks have a brutal tail: a few trajectories run for tens of thousands of tokens while most finish quickly. LongCat-2.5 uses partial rollout asynchronous training to absorb that tail — each RL step keeps an oversampling ratio, and once a batch is filled, in-flight trajectories are interrupted, saved, and resumed in the next sampling phase. The oversampling ratio is tuned from precomputed pass rates, and groups whose rollouts all succeed or all fail are filtered out because they carry zero gradient.
That efficiency buys a correctness problem: tokens inside one trajectory may come from different historical checkpoints. LongCat-2.5 handles this by clipping the discrepancy between sampling-policy and current-policy log-probs, and by rescaling each token's gradient contribution with its accumulated historical discrepancy — bounding the gradient bias that staleness would otherwise inject.
Reward hacking and output behavior
Agent RL invites cheating. During training the team cuts network access inside task environments, wipes git history and cached files, and uses an LLM judge to audit trajectories for exploits. On the behavior side, explicit penalties suppress repetitive reasoning and repeated tool calls, while overthinking and runaway response length are counteracted by redistributing reward among positive samples — without simply shortening answers.
Cross-task and cross-harness mixed training
Perhaps the most transferable finding: the model learns to adapt to harnesses during RL. The cold start only needs a handful of scaffold adaptation examples. During RL, tasks aligned with different benchmarks are mixed and their scaffolds scaled in varying proportions — and generalisation improves across the board, with gains on one task reinforcing gains on another. This is why an operator can point Claude Code, Codex, Hermes, or OpenClaw at the same model without retraining.
MOPD: Fusing Expert Groups Without Losing Long Turns
LongCat-2.5 keeps the MOPD (Multi-Teacher On-Policy Distillation) expert-group mechanism from 2.0, with separate experts tuned for agent capability, reasoning, and interaction — covering multi-turn task execution, single-turn reasoning, fine-grained instruction following, and safety defenses that do not sacrifice usefulness.
In MOPD the student samples online on each domain's tasks and the domain expert trains it via full-vocabulary KL divergence on those samples. The subtle problem is distribution shift: teacher and student drift apart when the student's context is its own output rather than the teacher's trajectory. Earlier work sliced teacher trajectories into per-turn prefixes; LongCat-2.5 goes finer and slices each turn into fixed-length per-cut prefixes, capping student self-sampling at that length. That directly addresses drift inside a single long reply — exactly where agent rollouts live.
To keep the cost down, all prefixes from one teacher trajectory are grouped onto the same inference engine, sharing prefill compute and KV cache. During training, the teacher trajectory forms a trunk and student samples form branches; with Tree Attention, one forward and one backward pass trains every sample in the group — no redundant compute or storage on the teacher's own tokens.
Infrastructure: 1.6T on Domestic Accelerators
Every efficiency claim in the release is constrained by a hard fact: training and serving run on domestic AI accelerators with under 80 GB of memory per card. That constraint shapes the entire systems design.
Supernode-aware parallelism
- Topology-aligned groups: FSDP and EP degrees equal the accelerator count per supernode, CP never exceeds it — so parameter all-gather, expert token all-to-all, and KV all-gather all stay inside the high-bandwidth interconnect domain
- Hybrid vocabulary parallelism: the base embedding, LM head, and N-gram embeddings are sharded across the DP × CP domain to cut resident memory further
- Threshold-triggered dynamic expert replication (built on MoonEP): replication turns on only when EP imbalance crosses a configured threshold, avoiding the case where extra communication costs more than the balance gains — or where routed tokens blow up receiver memory and comm ops blow up sender memory
- Vision removed from the graph: because image tokens are precomputed, modality ratios are known at packing time and stay balanced across DP ranks
Dual-shard FSDP and memory layout
Parameters are sharded inside each supernode's FSDP domain, while FP32 master weights and optimizer states are sharded further across FSDP domains via HSDP replicas — keeping parameter communication efficient while lowering always-resident memory. Parameters, gradients, and optimizer state live in contiguous flattened buffers supporting non-uniform sharding and Muon optimizer sharding; gradients are written directly into weights and temporary buffers are reused to avoid intermediate copies. Zero-copy AllGather/ReduceScatter removes the extra copy the default collective algorithm introduces, EP packs tokens with routing probabilities and uses an AIV-based communication path to relieve AICPU task-expansion bottlenecks, and ScMoE overlaps EP communication with dense-branch compute.
Net result reported: 86% higher per-card throughput than a DDP baseline on long-sequence SFT.
Train–inference numerical consistency
Large-scale long-horizon RL only works if the policy you train is the policy you sample. LongCat-2.5 builds a production consistency scheme (drawing on IsoExec, GLM-5, and XoRL) in which training, prefill, and decode each choose their own parallel config while per-token log-probs stay bitwise identical. Both sides use batch-invariant kernels with aligned framework math and full backward support; the scheme is on by default and doubles as a numerical regression baseline for kernel iteration.
- TP consistency: replace split-K partial sums with a full-K GEMM — weights stay sharded, an all-gather plus input all-to-all lets each rank compute the complete K reduction, no reduce-scatter sum. Decode reshapes o_proj/fc2 to column-parallel so it never aggregates full weights per step
- DCP consistency: training forward and prefill use matched sparse-attention kernels that reproduce decode's KV chunking and reduction order under a given DCP config
Prefill/decode disaggregation for long-context rollouts
- Bigger effective cache: prefill uses QCP for token-wise compute allocation and KVP for page-wise storage, avoiding MLA's KV redundancy under TP; HiCache frees main-memory copies once KV returns to device memory; Mooncake-based weight management and actor offload free more room for HiCache
- Layer-wise prefetch: LSA's odd layers reuse the previous even layer's top-k indices, so odd-layer KV can be fully offloaded with only a small working cache on device — loading the next odd layer's KV while the current layer computes, nearly doubling decode KV capacity with no TPOT loss
- Capacity-aware scheduling: the router admits requests based on L1+L2 cache capacity and total request tokens, prioritising groups that are close to finishing so batches fill and caches release — preventing the recompute avalanche where several long trajectories evict each other's prefixes
Under the tested long-context workload, a 3:2 prefill-to-decode instance ratio performed best.
W4A4: 4-bit weights and activations
For a 1.6T MoE, quantization is not optional. LongCat-2.5 quantizes both expert weights and activations to 4 bits and runs the matmuls on native INT4 units. Accuracy relies on FlatQuant's learnable equivalent transformations, extended to improve MoE quantization, and holds parity with the unquantized model on all evaluated downstream tasks.
On the data path, a shared input transformation across experts lets quantization happen before token replication and dispatch, so one INT4 representation travels through expert communication and compute unchanged. Transform, scale computation, quantization, and packing are fused into dedicated kernels, with weight layout and transposed access optimized to cut data movement and conversion overhead. Compute and communication pipelines are then overlapped separately for prefill and decode.
| Metric (vs. W8A8 INT8 baseline) | Result |
|---|---|
| Prefill throughput | +43.3% |
| Decode throughput | +42.77% |
| Time to first token (TTFT) | −15.91% |
| Time per output token (TPOT) | −19.72% |
| GMM kernel speedup | 1.73× average |
Benchmark Highlights
LongCat-2.5's gains over 2.0 are concentrated where long-horizon RL should show up: multi-step terminal work, repo-scale engineering, and agent loops that need dozens of tool calls. The table below compares the two LongCat generations on a representative set.
| Benchmark | LongCat-2.5 | LongCat-2.0 | Δ |
|---|---|---|---|
| Terminal Bench v2.1 | 88.4 | 70.8 | +17.6 |
| Terminal Bench v4.0 | 38.5 | 3.0 | +35.5 |
| DeepSWE v1.1 | 64.6 | 9.7 | +54.9 |
| Program Bench (Almost Resolved) | 25.5 | 2.5 | +23.0 |
| PaperBench | 82.1 | 45.2 | +36.9 |
| NL2Repo | 60.5 | 40.9 | +19.6 |
| SWE Atlas — Test Writing | 47.8 | 28.0 | +19.8 |
| BrowseComp | 91.9 | 79.9 | +12.0 |
| AutomationBench v1.0 | 65.1 | 51.8 | +13.3 |
| SkillsBench | 63.3 | 36.8 | +26.5 |
| LongCat AppDev (internal) | 73.7 | 47.7 | +26.0 |
| 3DCodeBench (Text→3D) | 55.4 | — | vision is new in 2.5 |
Against frontier models the picture is competitive but not dominant. LongCat-2.5 takes the top score on BrowseComp (91.9), AutomationBench (65.1), ALE v1.1 (38.5), ResearchRubrics (81.0), and 3DCodeBench Text→3D (55.4) in the comparison set, and lands within 2.2 points of the best on Terminal Bench v2.1 (88.4 vs. 90.6) and 1.2 points on PaperBench (82.1 vs. 83.3). Claude Opus 5 still leads the hardest repo-scale and job-simulation benchmarks — Terminal Bench v4.0 (53.9), NL2Repo (75.3), Program Bench (37.0), JobBench (66.7).
What Visual Coding Unlocks
The release ships eight end-to-end demos, each generated by LongCat-2.5 in one session. They are chosen to stress different failure modes of an agent: sustained physical reasoning, multi-source data reconciliation, 3D scene composition, and long-form HTML output.
- Real-time fluid simulation — a high-FPS interactive page with live fluid dynamics for physics visualization
- 3D artifact showcase — WebGL page with a 3D model (Sanxingdui bronze tree), drag-rotate, scroll-zoom, double-click focus, wireframe toggle, and a cultural context panel
- City diorama — intricate road grids and staggered building clusters in isometric 3D with a unified low-poly lighting mood
- Miniature scene assets — a multi-tier carousel reconstructing layered geometry and mixed materials as a game-ready 3D asset
- Chinese-style aesthetics page — theme palette components plus explanatory copy, from color extraction to typography
- Business operations analysis — reconciles multi-channel data, clarifies metric definitions, computes true margin, and turns findings into marketing, supply, and inventory recommendations
- Feedback analysis report — deduplicates customer feedback, tracks follow-ups, ranks by severity and business goal, outputs interactive HTML with click-through to source
- Event invitation generator — upload a venue photo, describe the event, get an invitation and registration page wired to real sign-up, attendee list, and CSV export
Unless stated otherwise, all results use enable_thinking=on, temperature=1.0,
top_p=0.95. Scores marked with an asterisk on the benchmark page come from third-party reports,
blogs, or official leaderboards.
Availability and Access
LongCat-2.5 is available through the LongCat API Platform and the longcat.ai web experience. The API accepts both OpenAI-format and Anthropic-format requests, so existing clients can switch by changing the base URL and model name rather than rewriting integration code.
| Access path | Status |
|---|---|
| longcat.ai web | Available |
| LongCat API Platform (OpenAI / Anthropic protocol) | Available, GA November 2, 2026 |
| Claude Code / Codex / Hermes / OpenClaw / OpenCode / Kilo Code | Supported via base-URL swap |
| Hugging Face / ModelScope open weights | Not announced as of November 2, 2026 |
On open weights: every prior LongCat flagship shipped MIT-licensed weights, and LongCat-2.0 remains downloadable on Hugging Face and GitHub. LongCat-2.5 breaks that pattern for now — it is API-first, with no weight repository published alongside the announcement. If your plan depends on self-hosting, LongCat-2.0 remains the safe assumption and 2.5 should be treated as a hosted service until the team says otherwise.
Resources
- Full release announcement
- Complete evaluation table — 33 benchmarks, 9 models
- Official technical blog
- LongCat API Platform
- Try online — longcat.ai
- LongCat-2.0 model page (predecessor, open weights)
- LongCat-Next — the discrete-token lineage behind 2.5's vision
- LongCat-Flash-Thinking-2601 — agentic RL predecessor
- Training on domestic accelerators
- Agent workflow decision guide
- Token cost calculator
- Back to Models Overview