Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
Prompt guide
MediaLongCat 2.0

OpenClaw Integration with LongCat-2.0 (Official Documentation)

Original source

LongCat official API documentation site (longcat.chat)

AuthorMeituan LongCat team

Source date2026-06-30

Tabbit curation2026-08-19

Read original

One-sentence takeaway

Registering a custom provider in OpenClaw's ~/.openclaw/openclaw.json lets you switch the default model to LongCat-2.0; the context-window and maximum-output settings given by the official source (1048576 / 131072) can be copied directly.

Use cases

  • Suitable tasks: Use LongCat-2.0 in the OpenClaw multi-Agent framework; set LongCat as the default model for everyday Agent tasks

  • Unsuitable tasks: Scenarios without an OpenClaw environment (the configuration applies only to this framework)

  • Applicable model version: LongCat-2.0

  • Applicable clients, Agents, or APIs: OpenClaw (installed with npm/pnpm/curl, on macOS/Windows; Web console at http://127.0.0.1:18789)

  • Recommended reasoning tier and parameters: The official example sets "reasoning": false (disables the reasoning flag in the OpenClaw model); contextWindow: 1048576 (1M), maxTokens: 131072 (128K); use max_tokens for the billing field

Ready-to-use content

1. Install OpenClaw

# macOS
npm install -g openclaw@latest
# or pnpm add -g openclaw@latest
# or curl -fsSL https://openclaw.ai/install.sh | bash
# Windows PowerShell: iwr -useb https://openclaw.ai/install.ps1 | iex

2. First-run onboarding

openclaw onboard --install-daemon

Official onboarding recommendations: choose QuickStart for Onboarding Mode; choose Skip for now for Model/Auth Provider; leave Default model unchanged; if no suitable Channel is available, choose Skip for now and configure it later; choose Install/Reinstall for Gateway Service. After completion, the default Web console address is http://127.0.0.1:18789, and the configuration file is at ~/.openclaw/openclaw.json.

3. Register the LongCat provider (openclaw.json)

{
   "models": {
      "mode": "merge",
      "providers": {
         "longCat": {
            "baseUrl": "https://api.longcat.chat/openai/v1",
            "apiKey": "YOUR_API_KEY",
            "api": "openai-completions",
            "authHeader": true,
            "models": [
               {
                  "id": "LongCat-2.0",
                  "name": "LongCat-2.0",
                  "reasoning": false,
                  "input": ["text"],
                  "contextWindow": 1048576,
                  "maxTokens": 131072,
                  "compat": {
                     "maxTokensField": "max_tokens"
                  }
               }
            ]
         }
      }
   }
}

4. Set it as the default model

{
   "agents": {
      "defaults": {
         "model": {
            "primary": "longCat/LongCat-2.0"
         }
      }
   }
}

The change takes effect immediately after saving. You can also use the GUI: Web console → Config → Models → Providers, choose openai-completions for Api, and enter the API key and baseUrl.

Raw data and verification notes

  • All configuration items were transcribed verbatim from the official documentation (collected on 2026-08-18).

  • The official model card lists OpenClaw as one of the three major Harnesses deeply adapted for LongCat-2.0 (alongside Claude Code and Hermes); the README explicitly says it is "deeply integrated with mainstream harnesses such as Claude Code, OpenClaw, and Hermes."

  • The same official documentation directory also has integration pages for OpenCode, Codex, ZCode, Cline, Kilo Code, Cherry Studio, CodeBuddy, WorkBuddy, CC Switch, and other tools. The configuration pattern is the same (an OpenAI-compatible endpoint plus a model ID).

Scope and limitations

  • "reasoning": false declares on the OpenClaw side whether the model outputs a reasoning field; it does not disable LongCat's thinking mode. LongCat's thinking mode is controlled by the thinking field in the request body (see the official API reference).

  • The official documentation's contextWindow: 1048576 is a provider declaration; whether a stable 1M context can actually be used depends on the task and deployment channel (the OpenRouter channel likewise labels it as 1M context).

Curated by Tabbit

Prompt material is summarized from public sources and Tabbit editorial notes. Check the original licensing and intended use before copying it.

LongCat 2.0

Use in Tabbit

LongCat 2.0

Related prompts

MediaLongCat official API documentation site (longcat.chat)2026-07

LongCat-2.0 API Platform Quick Start (Official Quick Start + Chat Completions Reference + Pricing)

MediaHugging Face2026-06-30

LongCat-2.0 Chat Template and Tool-Calling Configuration (Official Hugging Face Model Card)

MediaLongCat official API documentation site (longcat.chat); X (@NousResearch official account as evidence for the free entry)2026-08-13

Hermes Agent Integration with LongCat-2.0 (Official Documentation + Nous Portal Free Entry)

MediaLongCat official API documentation site (longcat.chat)2026-06-30

Claude Code Integration with LongCat-2.0 (Official Documentation)

LongCat 2.0

Related reviews

MediaHugging Face (meituan-longcat/LongCat-2.0)2026-06-30

LongCat-2.0 Official Model Card: Specifications and Official Benchmarks (Including Comparison Tables with Gemini/GPT-5.5/Claude Opus)

MediaLongCat official blog (longcat.chat)2026-06-30

LongCat-2.0 Official Technical Blog: Architecture, Training on Domestic Compute, and Inference Deployment (Release Notes)

MediaOpenRouter (third-party model routing platform)2026-07-20

OpenRouter Channel Data: LongCat-2.0 Pricing, Measured Performance, and Third-Party Benchmarks (Artificial Analysis)

Mediaaiprofitboardroom.com (blog, part of Julian Goldie's AI Profit Boardroom community)2026-05-29

AI Profit Boardroom field test: LongCat 2.0 game-building test and same-task comparison with GLM 5.2