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
English
简体中文English
Prompts and workflows

LongCat 2.0 · configuration

Claude Code Integration with LongCat-2.0 (Official Documentation)

The official LongCat integration guide configures a named client and keeps the first run observable and reversible.

Source not verifiedLongCat-compatible client, endpoint, model ID, and an isolated test workspace.

Prerequisites and inputs

  • Task goal and source material
  • Client or API
  • Output format and acceptance checks

Prerequisites

LongCat-compatible client, endpoint, model ID, and an isolated test workspace.

Task steps

Configure the endpoint and model alias, run a read-only repository task, then record the tool calls and diff.

Task result

Produce a small code change with an auditable client configuration.

Output and acceptance

The request reaches the intended model; the diff stays in scope; tests and tool returns are saved.

Failure correction

If the client falls back to another model, inspect the request and alias before editing code.

Source and boundary

The official integration guide documents configuration, not coding quality or production reliability.

Read the source research notes

One-sentence takeaway

By rewriting the environment variables in ~/.claude/settings.json, you can point all four Claude Code model slots (primary model / small fast model / Sonnet / Opus) to LongCat-2.0's Anthropic-compatible endpoint, allowing Claude Code to use LongCat directly for repository-level coding tasks.

Use cases

  • Suitable tasks: Use Claude Code as an Agent shell with LongCat-2.0 as the backend for code understanding, repository-level changes, and automated task execution; compare LongCat with the Claude family in real coding workflows

  • Unsuitable tasks: Scenarios that require Claude-specific functionality (such as particular toolchain behavior built into Claude Code) and do not accept behavioral differences

  • Applicable model version: LongCat-2.0 (Anthropic-format endpoint https://api.longcat.chat/anthropic)

  • Applicable clients, Agents, or APIs: Claude Code CLI (the official Anthropic client)

  • Recommended reasoning tier and parameters: The official example sets CLAUDE_CODE_MAX_OUTPUT_TOKENS to 131072 (128K); CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 disables nonessential traffic

Ready-to-use content

Configuration file: ~/.claude/settings.json

{
  "env": {
    "ANTHROPIC_AUTH_TOKEN": "your_longcat_api_key",
    "ANTHROPIC_BASE_URL": "https://api.longcat.chat/anthropic",
    "ANTHROPIC_MODEL": "LongCat-2.0",
    "ANTHROPIC_SMALL_FAST_MODEL": "LongCat-2.0",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "LongCat-2.0",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "LongCat-2.0",
    "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "131072",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1
  },
  "permissions": {
    "allow": [],
    "deny": []
  }
}

Verification

claude
# Enter the test message: "Hello, please introduce yourself"
# Receiving a reply from the LongCat model means the configuration succeeded

Raw data and verification notes

  • The settings.json contents were transcribed verbatim from the official documentation (collected on 2026-08-18).

  • The official model card and OpenRouter page both list "Claude Code" as one of the Harnesses deeply adapted for LongCat-2.0; OpenRouter Apps data shows Claude Code as LongCat-2.0's second-largest traffic source (3.31B tokens, behind Hermes Agent's 7.77B), supporting that this configuration path is used at significant scale in real workflows.

  • Note: ANTHROPIC_AUTH_TOKEN must contain the LongCat API key, not an Anthropic key; ANTHROPIC_BASE_URL must point to LongCat's Anthropic-compatible endpoint.

Scope and limitations

  • This configuration replaces all of Claude Code's model slots with LongCat-2.0, so Claude and LongCat cannot be mixed within the same session; switch back by editing the configuration.

  • The Anthropic-compatible endpoint is implemented by a third party (Meituan), so compatibility for tool calls and other behavior is subject to the official documentation; OpenRouter testing found a tool-call error rate of approximately 0.90% (see review document 03).

  • The official documentation also provides equivalent configuration pages for Kilo Code, Codex, ZCode, Cline, Cherry Studio, CodeBuddy, WorkBuddy, CC Switch, and other tools (/platform/docs/<tool name>); use the same method when needed.

Source and dates

LongCat official API documentation site (longcat.chat) · Source date: 2026-06-30 · Edited: 2026-09-20

Read the original source
Variable checklist

No required variables

Related prompts

LongCat-2.0 API Platform Quick Start (Official Quick Start + Chat Completions Reference + Pricing)LongCat-2.0 Chat Template and Tool-Calling Configuration (Official Hugging Face Model Card)SGLang Official LongCat-2.0-FP8 Multi-GPU Deployment Configuration and Verification WorkflowHermes Agent Integration with LongCat-2.0 (Official Documentation + Nous Portal Free Entry)

Related reviews

LongCat-2.0 Official Model Card: Specifications and Official Benchmarks (Including Comparison Tables with Gemini/GPT-5.5/Claude Opus)LongCat-2.0 Official Technical Blog: Architecture, Training on Domestic Compute, and Inference Deployment (Release Notes)eesel Independent Review: LongCat-2.0's Agent Reliability and Hard Blockers to Production DeploymentOpenRouter Channel Data: LongCat-2.0 Pricing, Measured Performance, and Third-Party Benchmarks (Artificial Analysis)

Read the full analysis

Overview · English

LongCat 2.0: what changed, where to use it, and what the price misses

LongCat 2.0 combines 1M context, open weights, and low provider pricing with real questions about tooling, data terms, and operational cost.

LongCat 2.0

Use LongCat 2.0 in Tabbit

Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.