Ling-3.1-flash on Vercel AI Gateway

Ling 3.0 · InclusionAI

Serverless

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

Why use Ling-3.1-flash on Vercel AI Gateway?

Vercel AI Gateway offers Ling-3.1-flash with free input token pricing. 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 Ling-3.1-flash across 2 providers to find the best fit for your use case
Input / 1M
Free
Output / 1M
Free
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
inclusionai/ling-3.1-flash

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="inclusionai/ling-3.1-flash",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "inclusionai/ling-3.1-flash", not the LLMReference slug "ling-3.1-flash".
  • 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 Ling-3.1-flash Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouterFreeFree
Vercel AI GatewayFreeFree

Pricing

TypePrice (per 1M)
Input tokensFree
Output tokensFree

Capabilities

ReasoningJSON / Tool use

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.

Get Started

Model Specs

Released2026-09-30
Parameters560B (25B activated)
Context262k
ArchitectureMixture of Experts

Related Models on Vercel AI Gateway