LongCat-2.5 on Vercel AI Gateway

LongCat · Meituan

Serverless

Last refreshed 2026-11-02. Next refresh: weekly.

Why use LongCat-2.5 on Vercel AI Gateway?

Vercel AI Gateway offers LongCat-2.5. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare LongCat-2.5 across 2 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
meituan/longcat-2.5

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="meituan/longcat-2.5",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "meituan/longcat-2.5", not the LLMReference slug "longcat-2.5".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare LongCat-2.5 Across Providers

ProviderInput (per 1M)Output (per 1M)
LongCat API Platform——
Vercel AI Gateway——

Capabilities

VisionMultimodalReasoningJSON / Tool use

About LongCat-2.5

LongCat-2.5 is Meituan's native multimodal model for long-horizon agentic tasks, released November 2, 2026. It is a mixture-of-experts model with 1.6 trillion total parameters and about 48 billion activated per token, built on LongCat-2.0 with stronger native visual understanding and agentic coding, with W4A4 inference optimized for domestic AI accelerators. It accepts text and image input. It is served on the LongCat API Platform as LongCat-2.5; Meituan lists Hugging Face and GitHub releases as coming soon.

Get Started

Model Specs

Released2026-11-02
Parameters1.6T (48B active)
ArchitectureMixture of Experts