LongCat Flash Chat model is now supported in Vercel AI Gateway

Authors

1 min read

You can now access LongCat Flash Chat, a new model from Meituan focused on agentic tool use, using Vercel AI Gateway with no other provider accounts required. The model dynamically activates parameters, based on contextual demands.

AI Gateway lets you call the model with a consistent unified API and just a single string update, track usage and cost, and configure performance optimizations, retries, and failover for higher than provider-average uptime.

To use it with the AI SDK v5, start by installing the package:

pnpm i ai

Then set the model to meituan/longcat-flash-chat:

import { streamText } from 'ai'
const result = streamText({
model: 'meituan/longcat-flash-chat',
prompt: 'How does dynamic parameter activation work for AI models?'
})

Includes built-in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Learn more about AI Gateway and access the model here.