Ling 3.2 Flash overview
Ling 3.2 Flash by inclusionAI
Ling 3.2 Flash is inclusionAI's hybrid reasoning model. It takes text and up to 200 images per request over a 1M-token context window and answers in text.
Ling 3.2 Flash specs
- Model ID
inclusionai/ling-3.2-flash- Developer
- inclusionAI
- Context window
- 1,048,576 tokens
- Max output
- 262,144 tokens
- Input
- Image, Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
Room for long inputs and long answers
The context window holds 1,048,576 tokens, and a single response can run up to 262,144 tokens. That leaves space for a large document set, a long chat history or many images in one request.
Streaming, structured output and tools are available on this endpoint. Streaming suits long answers, and structured output suits cases where another program reads the reply.
Set reasoning effort per task
Reasoning effort is the one request option that matters here. It accepts none, low, medium or high. The API reference says that lowering the effort can give faster responses and use fewer tokens on reasoning.
Start with medium for general work. Move to low or none for simple lookups and extraction, and move to high for multi-step problems. Compare the same prompts at two settings and check whether the answers change enough to justify the extra reasoning tokens.
Use cases
Answer questions over a long report or contract set that is pasted into a single 1M-token prompt.
Read a batch of screenshots or scanned pages in one request and return their contents as structured output.
Run an agent that calls tools and reasons through each step before it acts.
Stream long written answers into a chat interface while the model is still generating.
Capabilities
- Reasoning
- Streaming
- Structured outputs
- Function calling
- Vision
Ling 3.2 Flash API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $0.3174 | 1M tokens |
| Output | $0.9522 | 1M tokens |
| Cached input | $0.06348 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 27, 2026.
Ling 3.2 Flash vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.3174 | $0.9522 | |
| $0.06348 | $0.19044 | |
| $0.07935 | $0.23276 | |
| $0.3174 | $0.9522 | |
| $0.3174 | $0.9522 |
How to use the Ling 3.2 Flash API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "inclusionai/ling-3.2-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "inclusionai/ling-3.2-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "inclusionai/ling-3.2-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Ling 3.2 Flash FAQ
How much does Ling 3.2 Flash cost?
Ling 3.2 Flash costs $0.3174 / 1M tokens for input and $0.9522 / 1M tokens for output on AI/ML API. Cached input is billed at $0.06348 / 1M tokens.
How many images can one request include?
A request can include up to 200 images alongside text. The model answers in text only.
What does the reasoning effort option change?
It sets how much the model reasons before it answers. Lower values can give faster responses and use fewer reasoning tokens.
Which reasoning effort should I start with?
Start with medium and test low or none on simple tasks. Try high on harder multi-step prompts and compare the output.
Does the endpoint support tools and structured output?
Yes. Tools, structured output and streaming are all listed as capabilities of this model.
What is the Ling 3.2 Flash model ID?
Use inclusionai/ling-3.2-flash as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.
What is the context window of Ling 3.2 Flash?
Ling 3.2 Flash accepts up to 1,048,576 tokens of context and returns up to 262,144 output tokens.