AIDC-AI/Ovis2.6-80B-A3B · Hugging Face
Summary
Ovis2.6-80B-A3B is a new Multimodal Large Language Model released by AIDC-AI, featuring a Mixture-of-Experts architecture with 80B total parameters but only 3B active during inference. It offers enhanced long-context processing, high-resolution understanding, and active visual reasoning capabilities.
View Cached Full Text
Cached at: 05/13/26, 02:16 PM
AIDC-AI/Ovis2.6-80B-A3B · Hugging Face
Source: https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B

https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#introductionIntroduction
We introduceOvis2.6-80B-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.

https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#key-featuresKey Features
- MoE Architecture: Superior Performance with Low Serving Cost The LLM backbone has been upgraded to aMixture-of-Experts (MoE)architecture. This allows Ovis2.6 to scale up to80B total parameters*, capturing vast amounts of knowledge and nuance. Crucially, it achieves this with only~3B active parametersduring inference, ensuring low serving costs and high throughput.
- Enhanced Long-Sequence and High-Resolution Processing Ovis2.6 extends the context window to64K tokensand supports image resolutions up to2880×2880, significantly improving its ability to process high-resolution and information-dense visual inputs. These enhancements are particularly effective forlong-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 inOptical Character Recognition (OCR),document understanding, andchart/diagram analysis. Ovis2.6 excels not only at accurately extracting structured information from visual data, but also atreasoningover the extracted content.

https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#performancePerformance
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.
https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#quick-inference-transformersQuick Inference (transformers)
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-80B-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 two-phase thinking/budget runs) and extra inference modes: multi-image, video, and text-only.
Optional: Streaming (Advanced)To support thinking budget, we modified the implementation of the Ovisgeneratemethod and the defaultTextIteratorStreameris now incompatible. If you need to stream model output, be sure to use the helper class below.
# --- Budget-aware streamer helper ---
from transformers import TextIteratorStreamer
class BudgetAwareTextStreamer(TextIteratorStreamer):
"""A streamer compatible with Ovis two-phase generation.
Call .manual_end() after generation to flush any remaining text.
"""
def manual_end(self):
if len(self.token_cache) > 0:
text = self.tokenizer.decode(self.token_cache, **self.decode_kwargs)
printable_text = text[self.print_len:]
self.token_cache = []
self.print_len = 0
else:
printable_text = ""
self.next_tokens_are_prompt = True
self.on_finalized_text(printable_text, stream_end=True)
# Disable base class's end hook; we'll finalize via manual_end()
def end(self):
pass
Example usage:
streamer = BudgetAwareTextStreamer(
model.text_tokenizer,
skip_prompt=True,
skip_special_tokens=True
)
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,
streamer=streamer
)
Example: Multi-imageDemonstrates how to run inference with multiple images and a related question.```
Multi-image inference
multi_image_files = [ “/path/to/image_1.jpg”, “/path/to/image_2.jpg”, “/path/to/image_3.jpg”, ]
content = [{“type”: “image”, “image”: Image.open(p).convert(“RGB”)} for p in multi_image_files] content.append({“type”: “text”, “text”: “Describe the images.”}) messages = [{“role”: “user”, “content”: content}]
input_ids, pixel_values, grid_thws = model.preprocess_inputs(messages=messages, add_generation_prompt=True, max_pixels=896*896) input_ids = input_ids.cuda() pixel_values = pixel_values.cuda().to(model.dtype) if pixel_values is not None else None grid_thws = grid_thws.cuda() if grid_thws is not None else None
with torch.no_grad(): outputs = model.generate(inputs=input_ids, pixel_values=pixel_values, grid_thws=grid_thws, max_new_tokens=1024, do_sample=True, eos_token_id=model.text_tokenizer.eos_token_id, pad_token_id=model.text_tokenizer.pad_token_id) print(model.text_tokenizer.decode(outputs[0], skip_special_tokens=True))
Example: VideoDemonstrates how to run inference on a video by sampling multiple frames and asking the model to describe the content\.```
# Video inference
from moviepy.editor import VideoFileClip # pip install moviepy==1.0.3
video_file = "/path/to/video_1.mp4"
num_frames = 8
with VideoFileClip(video_file) as clip:
total_frames = int(clip.fps * clip.duration)
indices = [int(i * total_frames / num_frames) for i in range(num_frames)]
frames = [Image.fromarray(clip.get_frame(t)) for t in (idx / clip.fps for idx in indices)]
messages = [{"role": "user", "content": [
{"type": "video", "video": frames},
{"type": "text", "text": "Describe this video in detail."},
]}]
input_ids, pixel_values, grid_thws = model.preprocess_inputs(messages=messages, add_generation_prompt=True, max_pixels=896*896)
input_ids = input_ids.cuda()
pixel_values = pixel_values.cuda().to(model.dtype) if pixel_values is not None else None
grid_thws = grid_thws.cuda() if grid_thws is not None else None
with torch.no_grad():
outputs = model.generate(inputs=input_ids, pixel_values=pixel_values, grid_thws=grid_thws,
max_new_tokens=1024, do_sample=True,
eos_token_id=model.text_tokenizer.eos_token_id,
pad_token_id=model.text_tokenizer.pad_token_id)
print(model.text_tokenizer.decode(outputs[0], skip_special_tokens=True))
Example: Text-onlyDemonstrates how to run inference using only text input without any images or videos.```
Text-only inference
messages = [{“role”: “user”, “content”: “Hi, please introduce Yellow Mountain.”}]
input_ids, _, _ = model.preprocess_inputs(messages=messages, add_generation_prompt=True) input_ids = input_ids.cuda()
with torch.no_grad(): outputs = model.generate(inputs=input_ids, max_new_tokens=1024, do_sample=True, eos_token_id=model.text_tokenizer.eos_token_id, pad_token_id=model.text_tokenizer.pad_token_id) print(model.text_tokenizer.decode(outputs[0], skip_special_tokens=True))
To enable grounding, end your prompt with`Please provide the bounding box coordinates\.`\(for boxes\) or`Please provide the point coordinates\.`\(for points\)\. To target a specific object, wrap its description in`<ref\>`tags, e\.g\.:
Find the red apple in the image. Please provide the bounding box coordinates.
Coordinates are normalized to`\[0,1\)`with the origin`\(0,0\)`at the top\-left corner of the image\.
- Point:`<point\>\(x,y\)</point\>`
- Bounding box:`<box\>\(x1,y1\),\(x2,y2\)</box\>`where`\(x1,y1\)`is top\-left,`\(x2,y2\)`is bottom\-right\.
- Multiple results can be listed in square brackets:`\[<box\>\(\.\.\.\)</box\>,<box\>\(\.\.\.\)</box\> \]`
Example:
The image features a serene scene with three birds[
## [https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#citation](https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#citation)Citation
If you find Ovis useful, please consider citing the paper
@article{lu2025ovis25technicalreport, title={Ovis2.5 Technical Report}, author={Shiyin Lu and Yang Li and Yu Xia and Yuwei Hu and Shanshan Zhao and Yanqing Ma and Zhichao Wei and Yinglun Li and Lunhao Duan and Jianshan Zhao and Yuxuan Han and Haijun Li and Wanying Chen and Junke Tang and Chengkun Hou and Zhixing Du and Tianli Zhou and Wenjie Zhang and Huping Ding and Jiahe Li and Wen Li and Gui Hu and Yiliang Gu and Siran Yang and Jiamang Wang and Hailong Sun and Yibo Wang and Hui Sun and Jinlong Huang and Yuping He and Shengze Shi and Weihong Zhang and Guodong Zheng and Junpeng Jiang and Sensen Gao and Yi-Feng Wu and Sijia Chen and Yuhui Chen and Qing-Guo Chen and Zhao Xu and Weihua Luo and Kaifu Zhang}, year={2025}, journal={arXiv:2508.11737} }
@article{lu2024ovis, title={Ovis: Structural Embedding Alignment for Multimodal Large Language Model}, author={Shiyin Lu and Yang Li and Qing-Guo Chen and Zhao Xu and Weihua Luo and Kaifu Zhang and Han-Jia Ye}, year={2024}, journal={arXiv:2405.20797} }
## [https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#license](https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#license)License
This project is licensed under the[Apache License, Version 2\.0](https://www.apache.org/licenses/LICENSE-2.0.txt)\(SPDX\-License\-Identifier: Apache\-2\.0\)\.
## [https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#disclaimer](https://huggingface.co/AIDC-AI/Ovis2.6-80B-A3B#disclaimer)Disclaimer
We used compliance\-checking algorithms during the training process, to ensure the compliance of the trained model to the best of our ability\. Due to the complexity of the data and the diversity of language model usage scenarios, we cannot guarantee that the model is completely free of copyright issues or improper content\. If you believe anything infringes on your rights or generates improper content, please contact us, and we will promptly address the matter\.
Similar Articles
@AdinaYakup: Ovis2.6-80B-A3B > new MoE multimodal LLM from Alibaba's AIDC team 80B/3B active Apache2.0 64K context / 2880×2880 image…
Alibaba's AIDC team has released Ovis2.6-80B-A3B, an Apache 2.0 licensed Mixture of Experts multimodal LLM featuring 80B total parameters with 3B active, 64K context length, and native support for 2880×2880 images with Chain-of-Thought visual reasoning.
unsloth/MiMo-V2.5-GGUF · Hugging Face
MiMo-V2.5 is a native omnimodal AI model with strong agentic capabilities, supporting text, image, video, and audio understanding within a unified sparse MoE architecture.
new MoE from ai2, EMO
AI2 released EMO, a Mixture of Experts language model with 1B active parameters out of 14B total, trained on 1 trillion tokens and featuring document-level routing where experts cluster around domains.
MolmoAct2: Action Reasoning Models for Real-world Deployment
Allen AI releases MolmoAct2, an open-weight Vision-Language-Action model designed for real-world robotic deployment, featuring new datasets, an open action tokenizer, and adaptive reasoning to reduce latency.
inclusionAI/Ring-2.6-1T · Hugging Face
inclusionAI releases Ring-2.6-1T, a trillion-parameter reasoning model with enhanced agent execution, a reasoning effort mechanism, and an asynchronous RL training paradigm, aimed at complex real-world tasks.
