Vercel AI Gateway exposes Ling-3.1-flash through model ID inclusionai/ling-3.1-flash. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-10-02. Next refresh: weekly.
Quick Start
- 1
- 2Use the Vercel AI Gateway SDK or REST API to call
inclusionai/ling-3.1-flash— see the documentation for request format. - 3
Code Examples
pip install openaiAI_GATEWAY_API_KEYinclusionai/ling-3.1-flashcreator/model-name e.g. kwaipilot/kat-coder-pro-v2
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="inclusionai/ling-3.1-flash",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Vercel AI Gateway
| Type | Price (per 1M) |
|---|---|
| Input tokens | Free |
| Output tokens | Free |
Capabilities
About Ling-3.1-flash
Ling-3.1-flash is InclusionAI's (Ant Group 蚂蚁百灵 / Ant Ling) hybrid reasoning mixture-of-experts Flash model announced 2026-09-30. Authoritative Chinese IT Home coverage: ~560B total parameters with ~25B activated per token; designed context window up to 1M tokens; two-week free trial capped at 256K context, with paid 1M context and planned open-source weights after the trial. TechNode English summary of the same launch positions it for agent tasks, search, office software, and specialist applications.