Model reference · open weights
Ovis2.6 is an open-weight language model from ATH-MaaS. Ovis2.6-30B-A3B (BF16) weighs 62.8 GB; the smallest configuration that runs it is H100 80 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the ATH-MaaS/Ovis2.6-30B-A3B model card, 2026-10-01
What it is
| Released by | ATH-MaaS |
|---|---|
| Released | 2026-02-12 |
| Parameters | 31.4B |
| VRAM | 62.8 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … L40S 48 GB 6 smaller cards | ||||
| A100 80 GB | 17 | 4 | 141K | 78.2 GB |
| H100 80 GB | 10 | 2 | 86K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 30 | 7 | 242K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 47 | 11 | all 256K | 107 GB |
| H200 141 GB | 85 | 21 | all 256K | 138 GB |
| B200 180 GB | 129 | 32 | all 256K | 176 GB |
| 2× L40S 48 GB tensor parallel | 28 | 7 | 227K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 32 | 8 | all 256K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 32 | 8 | all 256K | 23.4 GB a card |
| 4× RTX 5090 32 GB tensor parallel | 70 | 17 | all 256K | 31.0 GB a card |
| 2× H100 80 GB tensor parallel | 99 | 24 | all 256K | 78.1 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 64.7 GB | 67.1 GB |
| 5 | 67.9 GB | 80.0 GB |
| 8 | 70.3 GB | 89.7 GB |
| 16 | 76.8 GB | 115 GB |
| 32 | 89.7 GB | 167 GB |
| 64 | 115 GB | 270 GB |
One card, with vLLM's small-card settings.
From the model card
We introduce Ovis2.6-30B-A3B, the latest advancement in the Ovis series of Multimodal Large Language Models (MLLMs). Building on the strong foundation of Ovis2.5, Ovis2.6 upgrades the LLM backbone to a Mixture-of-Experts (MoE) architecture, delivering superior multimodal performance at a fraction of the serving cost. It also brings major improvements in long-context and high-resolution understanding, visual reasoning with active image analysis, and information-dense document comprehension.
MoE Architecture: Superior Performance with Low Serving Cost The LLM backbone has been upgraded to a Mixture-of-Experts (MoE) architecture. This allows Ovis2.6 to scale up to 30B total parameters, capturing vast amounts of knowledge and nuance. Crucially, it achieves this with only ~3B active parameters during inference, ensuring low serving costs and high throughput.
Enhanced Long-Sequence and High-Resolution Processing Ovis2.6 extends the context window to 64K tokens and supports image resolutions up to 2880×2880, significantly improving its ability to process high-resolution and information-dense visual inputs. These enhancements are particularly effective for long-document question answering, where the model must gather and synthesize clues scattered across multiple pages to derive the correct answer.
Think with Image We introduce the "Think with Image" capability, which transforms vision from a passive input into an active cognitive workspace. During reasoning, the model can actively invoke visual tools (e.g., cropping and rotation) to re-examine and analyze image regions within its Chain-of-Thought, enabling multi-turn, self-reflective reasoning over visual inputs for higher accuracy on complex tasks.
Reinforced OCR, Document, and Chart Capabilities Continuing our focus on information-dense visual tasks, we have further reinforced the model's capabilities in Optical Character Recognition (OCR), document understanding, and chart/diagram analysis. Ovis2.6 excels not only at accurately extracting structured information from visual data, but also at reasoning over the extracted content.
The following table presents a detailed performance comparison. Please note that superscripted results are sourced from external technical reports, and Qwen scores represent the highest value between its Think and Instruct versions. For quick reference, the best results are highlighted in red, and the second-best results are underlined. All values are rounded to one decimal place.
uv pip install -U vllm --torch-backend=auto --extra-index-url https://wheels.vllm.ai/nightly
vllm serve AIDC-AI/Ovis2.6-30B-A3B --trust-remote-code --tensor-parallel-size 4
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer EMPTY" \
-d '{
"model": "AIDC-AI/Ovis2.6-30B-A3B",
"messages": [
{
"role": "user",
"content": [
{"type": "image_url", "image_url": {"url": "https://cdn-uploads.huggingface.co/production/uploads/658a8a837959448ef5500ce5/TIlymOb86R6_Mez3bpmcB.png"}},
{"type": "text", "text": "Calculate the sum of the numbers in the middle box in figure (c)."}
]
}
]
}'
Below is a simple example demonstrating how to run Ovis2.6 with a single image input.
First, install the required dependencies:
pip install torch==2.7.1 transformers==4.57.0 numpy==1.25.0 pillow==10.3.0 moviepy==1.0.3 accelerate==1.12.0
pip install --no-build-isolation --no-cache-dir flash-attn==2.8.3
Then, run the following code.
import torch
import requests
from PIL import Image
from transformers import AutoModelForCausalLM
# Thinking mode & budget
enable_thinking = True
enable_thinking_budget = True # Only effective if enable_thinking is True.
# Total tokens for thinking + answer. Ensure: max_new_tokens > thinking_budget + 25
max_new_tokens = 2048
thinking_budget = 1024
model = AutoModelForCausalLM.from_pretrained(
"AIDC-AI/Ovis2.6-30B-A3B",
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto"
)
messages = [{
"role": "user",
"content": [
{"type": "image", "image": Image.open(requests.get("https://cdn-uploads.huggingface.co/production/uploads/658a8a837959448ef5500ce5/TIlymOb86R6_Mez3bpmcB.png", stream=True).raw)},
{"type": "text", "text": "Calculate the sum of the numbers in the middle box in figure (c)."},
],
}]
input_ids, pixel_values, grid_thws = model.preprocess_inputs(
messages=messages,
add_generation_prompt=True,
enable_thinking=enable_thinking
)
input_ids = input_ids.cuda()
pixel_values = pixel_values.cuda() if pixel_values is not None else None
grid_thws = grid_thws.cuda() if grid_thws is not None else None
outputs = model.generate(
inputs=input_ids,
pixel_values=pixel_values,
grid_thws=grid_thws,
enable_thinking=enable_thinking,
enable_thinking_budget=enable_thinking_budget,
max_new_tokens=max_new_tokens,
thinking_budget=thinking_budget,
)
response = model.text_tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
The thinking and thinking budget logic can be applied in the same way for multi-image, video and pure text scenarios.
Note (answer extraction for CoT/Thinking): To make evaluation and usage easier, we recommend appending a fixed suffix to prompts when using chain-of-thought (CoT) or thinking mode. This ensures the model clearly outputs a final answer that can be extracted programmatically:
End your response with 'Final answer: '.
For example:
Calculate the sum of the numbers in the middle box in figure (c).
End your response with 'Final answer: '.
Tip: The sections below include an optional streaming helper (compatible with tw
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.