DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

inclusionAI/

LingSante-3.1-air-VL

$0.06

in

$0.18

out

$0.012

cached

/ 1M tokens

A medical vision-language model from Ant Group: send text and up to 16 images (scans, skin and meal photos, lab reports) and get careful, structured answers. Use it to draft imaging reports, assess health questions from photos, answer clinical questions and run medical agents with tool calling and JSON output. 124B MoE with 5.5B active parameters, 131K context, thinking on by default. A research model, not a medical device: have qualified professionals review its output.

Deploy Private Endpoint
Public
Zero retention
fp4
131,072
JSON
Function
Multimodal
ProjectLicense
inclusionAI/LingSante-3.1-air-VL cover image
api
inclusionAI/LingSante-3.1-air-VL cover image
LingSante 3.1 air VL

Ask me anything

0.00s

You need to log in to use this model

Log in

Settings

Model Information

LingSante-3.1-air-VL

LingSante-3.1-air-VL is a medical vision-language model from Ant Group's healthcare team. Send it text and images (scans, photos, lab reports, screenshots) and it reasons over them the way a careful clinician would: it considers the history and the image quality, works through differential diagnoses, and writes a structured answer. It is a mixture-of-experts model with 124B total and 5.5B active parameters, so responses come back fast.

Project: LingSante-3.1-air-VL on Hugging Face · served from the official MXFP4 checkpoint · inclusionAI · MIT license

What you can build with it

  • Imaging report drafts. Read chest X-rays and other medical images, including several images in one request, and draft Findings and Impression sections.
  • Health assessment from photos. Skin conditions, meals and nutrition, and lab or medical reports. The model asks follow-up questions (symptom duration, affected area, history) before it gives an assessment.
  • Medical Q&A and evidence synthesis. Answer clinical questions and summarize guidelines or papers you pass in, or that your own search tool returns.
  • Medical agents. Function calling and JSON output for workflows such as appointment booking, medication lookup and form filling.

It also keeps strong general skills: document and chart understanding, OCR, and everyday multimodal questions.

Quick start

DeepInfra serves the model through an OpenAI-compatible API.

import base64
from openai import OpenAI

client = OpenAI(
    api_key="$DEEPINFRA_TOKEN",
    base_url="https://api.deepinfra.com/v1/openai",
)

# Send a local image as a base64 data URL.
with open("chest_xray.png", "rb") as f:
    image_url = "data:image/png;base64," + base64.b64encode(f.read()).decode()

response = client.chat.completions.create(
    model="inclusionAI/LingSante-3.1-air-VL",
    messages=[{
        "role": "user",
        "content": [
            {"type": "image_url", "image_url": {"url": image_url}},
            {"type": "text", "text": "Read this chest X-ray and draft a structured imaging report."},
        ],
    }],
    temperature=0.6,
    top_p=0.95,
)
print(response.choices[0].message.content)
copy

Images can be base64 data: URLs (as above) or public https:// URLs, in PNG, JPEG, WebP or GIF, up to 16 per request.

Tips

  • Thinking is on by default. The model reasons before it answers; the reasoning comes back in reasoning_content, separate from the answer. For quick replies, turn it off with reasoning_effort="none".
  • Sampling. temperature=0.6, top_p=0.95 works well for most tasks.
  • Context. Up to 131,072 tokens per request, with up to 32,768 output tokens.
  • Tools and structured output. Pass tools for function calling, or response_format with a JSON schema for structured results.

Responsible use

LingSante-3.1-air-VL is a research model, not a medical device. Its answers can be incomplete or wrong, and it must not replace a qualified healthcare professional for diagnosis, treatment or triage. Have qualified people review its output before it informs any medical decision, and handle patient data in line with the privacy and healthcare rules that apply to you.