longcat-2.0
Meituan logo

Longcat 2.0

longcat-2.0
Meituan
Designed for agent development scenarios, it natively supports tool invocation, multi-step reasoning, and long-context tasks; it excels at code generation, automated workflows, and executing complex instructions; and it is deeply adapted to productivity tools such as Claude Code, OpenClaw, OpenCode, and Kilo Code.

Pricing

  • Input Tokens: $0.775 /M tokens
  • Output Tokens: $3.098 /M tokens
  • Cache Read: $0.015 /M tokens

Input Modalities

  • Text

Output Modalities

  • Text

Context length

  • 1M tokens

Max output

  • 131K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="longcat-2.0",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is longcat-2.0?

Designed for agent development scenarios, it natively supports tool invocation, multi-step reasoning, and long-context tasks; it excels at code generation, automated workflows, and executing complex instructions; and it is deeply adapted to productivity tools such as Claude Code, OpenClaw, OpenCode, and Kilo Code.