LiteLLMModels

Longcat 2.0 API Pricing

As of October 10, 2026, Longcat 2.0 costs $0.7746 per 1M input tokens and $3.098 per 1M output tokens on AIHubMix, with cache reads at $0.01549 per 1M tokens. It has a 1,000,000-token context window and returns up to 131,072 tokens per response.

Model ID aihubmix/longcat-2.0Prices updated Checked
Input
$0.7746 / 1M tokens
Output
$3.098 / 1M tokens
Cache read
$0.01549 / 1M tokens
Context window
1,000,000 tokens
Max output
131,072 tokens
Providers
1
Added to LiteLLM
September 16, 2026

Longcat 2.0 pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readContext
AIHubMixaihubmix/longcat-2.0$0.7746$3.098$0.015491M

What Longcat 2.0 costs in practice

1,000 requests with 2,000 input and 500 output tokens each

AIHubMix$3.098

100 long-document requests with 100,000 input and 2,000 output tokens each

AIHubMix$8.366

Longcat 2.0 features

Use Longcat 2.0 with LiteLLM

Call Longcat 2.0 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="aihubmix/longcat-2.0",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: longcat-2.0
    litellm_params:
      model: aihubmix/longcat-2.0
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "longcat-2.0",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Longcat 2.0 FAQ

How much does Longcat 2.0 cost?

Longcat 2.0 costs $0.7746 per 1M input tokens and $3.098 per 1M output tokens on AIHubMix, with cache reads at $0.01549 per 1M tokens.

What is the context window of Longcat 2.0?

Longcat 2.0 has a 1,000,000-token context window and returns up to 131,072 tokens per response.

Which providers offer Longcat 2.0?

Longcat 2.0 is available from AIHubMix through LiteLLM, using the model name aihubmix/longcat-2.0.

How do I call Longcat 2.0 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="aihubmix/longcat-2.0", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Longcat 2.0 support?

Longcat 2.0 supports function calling, reasoning and prompt caching.

When did LiteLLM add Longcat 2.0?

Longcat 2.0 was added to LiteLLM's model price file on September 16, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: AIHubMix.

Provider pages: AIHubMix.