Glyph
is a framework for scaling the context length through visual-text compression.
Instead of extending token-based context windows, Glyph renders long textual sequences into images and processes them using vision–language models (VLMs).
This design transforms the challenge of long-context modeling into a multimodal problem, substantially reducing computational and memory costs while preserving semantic information.
Sensitivity to rendering parameters: Glyph’s performance can vary with rendering settings such as resolution, font, and spacing. Since our search procedure adopts a fixed rendering configuration during post-training, the model may not generalize well to unseen or substantially different rendering styles.
OCR-related challenges: Recognizing fine-grained or rare alphanumeric strings (e.g., UUIDs) remains difficult for visual-language models, especially with ultra-long inputs, sometimes leading to minor character misclassification.
Limited generalization: The training of Glyph mainly targets long-context understanding, and its capability on broader tasks is yet to be studied.
Citation
If you find our model useful in your work, please cite it with:
@article{cheng2025glyphscalingcontextwindows,
title={Glyph: Scaling Context Windows via Visual-Text Compression},
author={Jiale Cheng and Yusen Liu and Xinyu Zhang and Yulin Fei and Wenyi Hong and Ruiliang Lyu and Weihan Wang and Zhe Su and Xiaotao Gu and Xiao Liu and Yushi Bai and Jie Tang and Hongning Wang and Minlie Huang},
journal={arXiv preprint arXiv:2510.17800},
year={2025}
}
Glyph huggingface.co is an AI model on huggingface.co that provides Glyph's model effect (), which can be used instantly with this zai-org Glyph model. huggingface.co supports a free trial of the Glyph model, and also provides paid use of the Glyph. Support call Glyph model through api, including Node.js, Python, http.
Glyph huggingface.co is an online trial and call api platform, which integrates Glyph's modeling effects, including api services, and provides a free online trial of Glyph, you can try Glyph online for free by clicking the link below.
Glyph is an open source model from GitHub that offers a free installation service, and any user can find Glyph on GitHub to install. At the same time, huggingface.co provides the effect of Glyph install, users can directly use Glyph installed effect in huggingface.co for debugging and trial. It also supports api for free installation.