Ling 3.2 Flash API

Send text and images to a hybrid reasoning chat model with a 1M-token context window and tool calling

Modalities
Image, TextText
In / Out price
$0.3174/$0.9522per 1M
Context window
1.05M tokens
Released
Nov 13, 2026

Ling 3.2 Flash overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 27, 2026.

SVG of a pelican riding a bicycle, written by Ling 3.2 Flash through AI/ML API

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

Ling 3.2 Flash pricing in US dollars
UsagePriceUnit
Input$0.31741M tokens
Output$0.95221M tokens
Cached input$0.063481M 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.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Ling 3.2 Flash$0.3174$0.9522
Ling 3.0 Flash VL$0.06348$0.19044
Ling-3.0-flash$0.07935$0.23276
Ling 3.1 Flash$0.3174$0.9522
Codestral 2508$0.3174$0.9522

How to use the Ling 3.2 Flash API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'

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.

Start building with Ling 3.2 Flash

Ling 3.2 Flash API

inclusionai/ling-3.2-flash

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'