Skip to main content
InclusionAI Ling 3.0 Flash is a hybrid-linear sparse mixture-of-experts reasoning model with 124B total and 5.1B active parameters. This preset serves the groupwise INT4 checkpoint on two H100 GPUs through vLLM with a 256K context window, native reasoning output, and automatic tool calling.

Setup

Sign in to Baseten with Truss, then install the OpenAI SDK.
Sign in to Baseten
Install the OpenAI SDK
This preset serves Ling 3.0 Flash INT4 on H100:2 with groupwise INT4 weights and tensor parallel size 2, optimized for low-latency interactive reasoning and tool-calling workloads at the model’s native 256K context.

Hardware

H100 × 2

Engine

vLLM (8bd082c274fae025… build)

Context

256K

Concurrency

32

Write the config

Create and move into the project directory:
Then create a file named config.yaml and paste the following:
config.yaml
This preset deploys the groupwise INT4 checkpoint of Ling 3.0 Flash through vLLM on two H100 GPUs with tensor parallelism. It enables prefix caching, chunked prefill, and full plus piecewise CUDA graphs. The deployment exposes an OpenAI-compatible chat completions endpoint with reasoning and tool calling at the model’s 256K context window.

Flags

The start_command passes these flags to the engine. Each one controls a runtime or serving behavior:

Deploy

Push the config to Baseten:
You should see output similar to:
truss push prints your model ID (abc1d2ef in the example). The examples below use it wherever you see {model_id}, and read your API key from the BASETEN_API_KEY environment variable.

Call the model

Your deployment serves an OpenAI-compatible API. Now call your deployment to run inference:
main.py
The server parses the model’s chain of thought into a separate reasoning_content field on the response. Read it alongside the final answer:
To let the model call tools, pass a tools array. The server returns structured tool_calls on the response:

Next steps

Call your model

Endpoint anatomy, authentication, and sync versus async inference

Autoscaling

Scale replicas with traffic, including scale to zero