alt.freeweights.glm / GLM-4.6V-GGUF
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.glmSubject:

GLM-4.6V-GGUF

Date: 2026-11-15Commit: 7bea17aSigned: 2DC28CC7B26A283B ✓

Image text to text model. Gguf weights, 1.88 TB in all. Published by unsloth under MIT.

glm1.88TBGLM-4.6V-GGUFggufpermissive
FactsParamsnot statedSize1.88 TBFormatsggufTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get unsloth/GLM-4.6V-GGUF
# manifest sha256 aea91f45e48f… · 1.88 TB · 56 files
$ fw verify ./GLM-4.6V-GGUF unsloth/GLM-4.6V-GGUF
From sourceHosted (signed)unsloth/GLM-4.6V-GGUFLast check: 2026-11-15 04:40 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of GLM-4.6V.

Works with

Convert with

Overview

Size
1.88 TB
Weights
36.8 GB (smallest of 27 GGUF variants)
Parameters
not stated
Formats
gguf
Task
image text to text
License
MIT (permissive)
Files
56, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.glm
Lineage

Original release from the publisher.

Base model: zai-org/GLM-4.6V

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:40 UTCpassed

Model card

From the publisher at commit 7bea17a. Shown as plain text with links; images open at the publisher.

Read our How to Run GLM-4.6 Guide!#

Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://docs.unsloth.ai/models/glm-4.6-how-to-run-locally

GLM-4.6V#

Image: image

This model is part of the GLM-V family of models, introduced in the paper GLM-4.1V-Thinking and GLM-4.5V: Towards Versatile Multimodal Reasoning with Scalable Reinforcement Learning.

Introduction#

GLM-4.6V series model includes two versions: GLM-4.6V (106B), a foundation model designed for cloud and high-performance cluster scenarios, and GLM-4.6V-Flash (9B), a lightweight model optimized for local deployment and low-latency applications. GLM-4.6V scales its context window to 128k tokens in training, and achieves SoTA performance in visual understanding among models of similar parameter scales. Crucially, we integrate native Function Calling capabilities for the first time. This effectively bridges the gap between "visual perception" and "executable action" providing a unified technical foundation for multimodal agents in real-world business scenarios.

Image: GLM-4.6V Benchmarks

Beyond achieves SoTA performance across major multimodal benchmarks at comparable model scales. GLM-4.6V introduces several key features:

  • Native Multimodal Function Calling

Enables native vision-driven tool use. Images, screenshots, and document pages can be passed directly as tool inputs without text conversion, while visual outputs (charts, search images, rendered pages) are interpreted and integrated into the reasoning chain. This closes the loop from perception to understanding to execution.

  • Interleaved Image-Text Content Generation

Supports high-quality mixed media creation from complex multimodal inputs. GLM-4.6V takes a multimodal context—spanning documents, user inputs, and tool-retrieved images—and synthesizes coherent, interleaved image-text content tailored to the task. During generation it can actively call search and retrieval tools to gather and curate additional text and visuals, producing rich, visually grounded content.

  • Multimodal Document Understanding

GLM-4.6V can process up to 128K tokens of multi-document or long-document input, directly interpreting richly formatted pages as images. It understands text, layout, charts, tables, and figures jointly, enabling accurate comprehension of complex, image-heavy documents without requiring prior conversion to plain text.

  • Frontend Replication & Visual Editing

Reconstructs pixel-accurate HTML/CSS from UI screenshots and supports natural-language-driven edits. It detects layout, components, and styles visually, generates clean code, and applies iterative visual modifications through simple user instructions.

This Hugging Face repository hosts the GLM-4.6V model, part of the GLM-V series.

Usage#

Environment Installation#

For SGLang:

pip install sglang>=0.5.6.post1
pip install nvidia-cudnn-cu12==9.16.0.29
sudo apt update
sudo apt install ffmpeg

For vLLM:

pip install vllm>=0.12.0
pip install transformers>=5.0.0rc0
Quick Start with Transformers#
from transformers import AutoProcessor, Glm4vMoeForConditionalGeneration
import torch

MODEL_PATH = "zai-org/GLM-4.6V"
messages = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
                "url": "https://upload.wikimedia.org/wikipedia/commons/f/fa/Grayscale_8bits_palette_sample_image.png"
            },
            {
                "type": "text",
                "text": "describe this image"
            }
        ],
    }
]
processor = AutoProcessor.from_pretrained(MODEL_PATH)
model = Glm4vMoeForConditionalGeneration.from_pretrained(
    pretrained_model_name_or_path=MODEL_PATH,
    torch_dtype="auto",
    device_map="auto",
)
inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt"
).to(model.device)
inputs.pop("token_type_ids", None)
generated_ids = model.generate(**inputs, max_new_tokens=8192)
output_text = processor.decode(generated_ids[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False)
print(output_text)

Evaluation Settings#

We primarily use vLLM as the backend for model inference. For faster and more reliable performance on video tasks, we employ SGLang. To reproduce our leaderboard results, we recommend the following decoding parameters:

  • top_p: 0.6
  • top_k: 2
  • temperature: 0.8
  • repetition_penalty: 1.1
  • max_generate_tokens: 16K

For more usage details, please refer to Our Github.

Fixed and Remaining Issues#

Since the open-sourcing of GLM-4.1V, we have received extensive feedback from the community and are well aware that the model still has many shortcomings. In subsequent iterations, we attempted to address several common issues — such as repetitive thinking outputs and formatting errors — which have been mitigated to some extent in this new version.

However, the model still has several limitations and issues that we will fix as soon as possible:

  1. Pure text QA capabilities still have significant room for improvement. In this development cycle, our primary focus was on visual multimodal scenarios, and we will enhance pure text abilities in upcoming updates.
  2. The model may still overthink or even repeat itself in certain cases, especially when dealing with complex prompts.
  3. In some situations, the model may restate the answer again at the end.
  4. There remain certain perception limitations, such as counting accuracy and identifying specific individuals, which still require improvement.

Thank you for your patience and understanding. We also welcome feedback and suggestions in the issue section — we will respond and improve as much as we can!

Citation#

If you use this model, please cite the following paper:

@misc{vteam2025glm45vglm41vthinkingversatilemultimodal,
      title={GLM-4.5V and GLM-4.1V-Thinking: Towards Versatile Multimodal Reasoning with Scalable Reinforcement Learning}, 
      author={V Team and Wenyi Hong and Wenmeng Yu and Xiaotao Gu and Guo Wang and Guobing Gan and Haomiao Tang and Jiale Cheng and Ji Qi and Junhui Ji and Lihang Pan and Shuaiqi Duan and Weihan Wang and Yan Wang and Yean Cheng and Zehai He and Zhe Su and Zhen Yang and Ziyang Pan and Aohan Zeng and Baoxu Wang and Bin Chen and Boyan Shi and Changyu Pang and Chenhui Zhang and Da Yin and Fan Yang and Guoqing Chen and Jiazheng Xu and Jiale Zhu and Jiali Chen and Jing Chen and Jinhao Chen and Jinghao Lin and Jinjiang Wang and Junjie Chen and Leqi Lei and Letian Gong and Leyi Pan and Mingdao Liu and Mingde Xu and Mingzhi Zhang and Qinkai Zheng and Sheng Yang and Shi Zhong and Shiyu Huang and Shuyuan Zhao and Siyan Xue and Shangqin Tu and Shengbiao Meng and Tianshu Zhang and Tianwei Luo and Tianxiang Hao and Tianyu Tong and Wenkai Li and Wei Jia and Xiao Liu and Xiaohan Zhang and Xin Lyu and Xinyue Fan and Xuancheng Huang and Yanling Wang and Yadong Xue and Yanfeng Wang and Yanzi Wang and Yifan An and Yifan Du and Yiming Shi and Yiheng Huang and Yilin Niu and Yuan Wang and Yuanchang Yue and Yuchen Li and Yutao Zhang and Yuting Wang and Yu Wang and Yuxuan Zhang and Zhao Xue and Zhenyu Hou and Zhengxiao Du and Zihan Wang and Peng Zhang and Debing Liu and Bin Xu and Juanzi Li and Minlie Huang and Yuxiao Dong and Jie Tang},
      year={2025},
      eprint={2507.01006},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2507.01006}, 
}

Files

56 files · 1.88 TBWeights 36.8 GB (smallest of 27 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 56 files with their sha256
FileSizesha256
.gitattributes5.54 KBf0542b051951d4088c15e1ce128f60e5252ea799c18fba9b1c1fd5662e21982f
BF16/GLM-4.6V-BF16-00001-of-00005.gguf48.6 GB932e13e78b534a2ded8726ffbc31e0335142dec0b5a4765ff7daa93dcaf40732
BF16/GLM-4.6V-BF16-00002-of-00005.gguf49.8 GB3f0dc39c47bd6d3d0ca206acf99800a43d6726e5014fb4187cad28a37eb82900
BF16/GLM-4.6V-BF16-00003-of-00005.gguf48.6 GBe7951373a15285e7da28fcd046c67a4be1a2f8fb7707ec0af1d255a5591ea15a
BF16/GLM-4.6V-BF16-00004-of-00005.gguf49.8 GB73a3abdb3dd163715fbcf0ae6c516bd4610b212d391945dfc337437f5425acb0
BF16/GLM-4.6V-BF16-00005-of-00005.gguf17.0 GB77b2faecc086a7f6d7c755c608e7ddeb0c93e7b6ed4b5fcdf7f10497d6cf6e3d
GLM-4.6V-Q2_K.gguf43.9 GB624ddcf85212be68f85a1f8f360aa35868dcd48ca8874bba1d9278252ccc2128
GLM-4.6V-Q2_K_L.gguf44.0 GB5da2a24f3ea7347c28f4606f8bf33b6a22114f4e395f396b2d5260ca8507ddf9
GLM-4.6V-UD-IQ1_M.gguf38.6 GB347cefdc00b6ed46c3776f7b816d12d396c87c2b488a406728b022670df93dd6
GLM-4.6V-UD-IQ1_S.gguf37.0 GB235745c0e4bfe5e9e140e199bda8dfe6cd244c6265b8f2aae1ddcf91d8f705bb
GLM-4.6V-UD-IQ2_M.gguf42.9 GB51a359d35895c8b32ee06a57e3cb151787405e4f940b8e825a2d7c486cd9b5b5
GLM-4.6V-UD-IQ2_XXS.gguf41.2 GBa2440c7744a352169858d3cfa3e7ed9208898ba4db15317296a461f3ec23aefe
GLM-4.6V-UD-IQ3_XXS.gguf49.7 GBc36686f8740ec71a75ee7ee5c2a12ac4e2e41bfa5638d407a4c9508107b258da
GLM-4.6V-UD-Q2_K_XL.gguf45.8 GB5a7c2e148ea4886ce632fb94f6d96b1e5991b20182c778aacaa0bd90546c253b
GLM-4.6V-UD-TQ1_0.gguf36.8 GB2183617ec9101098883d82528773e3eadb5bdb070754cc1c7e69bd1f660ca354
IQ4_NL/GLM-4.6V-IQ4_NL-00001-of-00002.gguf50.0 GB3c848f5209842e3a200c0fe128a883c52294a9715d6de2c7c30b97256e4838b1
IQ4_NL/GLM-4.6V-IQ4_NL-00002-of-00002.gguf10.6 GBf99e696aec0ba78490ebf51dc9b4bdaffc2925c6496bd72b40e9edfef8e5d1ef
IQ4_XS/GLM-4.6V-IQ4_XS-00001-of-00002.gguf49.9 GB55fa67b97ffb3af824ab421890ab9563b99756ba5c5b2208a9b7f07efceffebd
IQ4_XS/GLM-4.6V-IQ4_XS-00002-of-00002.gguf8.44 GB0978516b1632b7cc50238c0ca33af36e75340153e265dff974f34d089167d324
Q3_K_M/GLM-4.6V-Q3_K_M-00001-of-00002.gguf50.0 GBb42b0a82a902627c5af9a08f464db9bd73dea44616408123e4e4a1fe20268c59
Q3_K_M/GLM-4.6V-Q3_K_M-00002-of-00002.gguf5.49 GB65fe7209a78d9736497673bb18d7524fd14f4fffd59da5911eac35eb6be68ad2
Q3_K_S/GLM-4.6V-Q3_K_S-00001-of-00002.gguf49.8 GBb3923938d87f4d7bd9b87c28b323d1b5c8815bd899d746258bb09d2123e8b33e
Q3_K_S/GLM-4.6V-Q3_K_S-00002-of-00002.gguf1.06 GB3b0e10f7c1a74d90ab3eec7a2ea479e2bc4b88f955326d06359128b608acc8ef
Q4_0/GLM-4.6V-Q4_0-00001-of-00002.gguf49.7 GBc821799b327ac224ba2457f94b8b53b6fd4a16c1f29f74d7b64336ec0298c28b
Q4_0/GLM-4.6V-Q4_0-00002-of-00002.gguf11.0 GBb67ff8c3b5a491216fd3f622b3d97db09eedea42ae528e9ae1df29e664bd219a
Q4_1/GLM-4.6V-Q4_1-00001-of-00002.gguf49.6 GB101855ff7314aa0e62d4f1c53249da77b9c998dca680ec94148c2d46d3151673
Q4_1/GLM-4.6V-Q4_1-00002-of-00002.gguf17.6 GBd4be718ee6ebf86c86516e87d0ed7e3ca79f4bc337b2066639db876a6de49628
Q4_K_M/GLM-4.6V-Q4_K_M-00001-of-00002.gguf50.0 GB78106417b6490a6cd48238f48c6bfe5866bd555f6e234dc1dcf4f0e0d33e8dee
Q4_K_M/GLM-4.6V-Q4_K_M-00002-of-00002.gguf20.6 GB6df6fb4a412abb694e6f2d820551e54f637fb7c21d0adbf56989bc166c76a956
Q4_K_S/GLM-4.6V-Q4_K_S-00001-of-00002.gguf49.9 GBb83959f25a03794c8928b5b471d7df508b3929aeefe9713406a2ec37a3cd9085
Q4_K_S/GLM-4.6V-Q4_K_S-00002-of-00002.gguf15.0 GB13dd5fadabf1b4527462dcf8749c081a73a49af50a5263bbab5c636ed2523a1c
Q5_K_M/GLM-4.6V-Q5_K_M-00001-of-00002.gguf49.9 GBcfbb26252a5c617b3ad6f75321afa48e1952bb1cd96b21096ac9850930bdddc6
Q5_K_M/GLM-4.6V-Q5_K_M-00002-of-00002.gguf30.8 GBcac929d0f41fded56327c856113011d906840cac3907ebc0862330399a4613bd
Q5_K_S/GLM-4.6V-Q5_K_S-00001-of-00002.gguf49.9 GB63232cc8e9a5a35791a8b3601c568b965fe4d75458296377e68398f0fcd4a459
Q5_K_S/GLM-4.6V-Q5_K_S-00002-of-00002.gguf25.9 GB2280a9aa960e56b3ab4432aec114a04a8cf2e404a6e967dfc2dfe5fec71caf55
Q6_K/GLM-4.6V-Q6_K-00001-of-00002.gguf49.7 GBb42b7ad1b4485299dbb123fed238bfa11e8355067283c486e470b9bf4b12cdce
Q6_K/GLM-4.6V-Q6_K-00002-of-00002.gguf46.2 GB5929a67729f29e4215b1a38ee2cfc010a29eb15ac9117934c26034cf43c875cc
Q8_0/GLM-4.6V-Q8_0-00001-of-00003.gguf49.8 GB691d54be7e7dc30a19905b3c33408f3581dc37320bcbed5a02d77595602138a5
Q8_0/GLM-4.6V-Q8_0-00002-of-00003.gguf49.8 GB193900545d84730c454fd6a024c4b04441fb73a79822003f96cf43062642564d
Q8_0/GLM-4.6V-Q8_0-00003-of-00003.gguf14.0 GB210ea0fcc4e338c43d91200f3f0cd96d721d439b8f12584e881649a2eab6a445
README.md9.35 KBed57b93f45de4d6b5efd6793a04687d33c073e9cde48040664dc606136177020
UD-Q3_K_XL/GLM-4.6V-UD-Q3_K_XL-00001-of-00002.gguf50.0 GB18e5a335045ac2a79136d361c48311f9d8e66d170ebb59000fb89c0149e5e806
UD-Q3_K_XL/GLM-4.6V-UD-Q3_K_XL-00002-of-00002.gguf2.77 GBfdb72a62dc8b7b41de95cc514517a3edf8e8937e3e8484701a3ee47ac61ec383
UD-Q4_K_XL/GLM-4.6V-UD-Q4_K_XL-00001-of-00002.gguf49.6 GB7598b7af7e54586537a99160126bc6726729b3c7dc31d4f21d7ee981cb767568
UD-Q4_K_XL/GLM-4.6V-UD-Q4_K_XL-00002-of-00002.gguf15.9 GB91a3157d6339f40076ee58f6b72292ce1fa1522b4b84e016d231c6df9336b62c
UD-Q5_K_XL/GLM-4.6V-UD-Q5_K_XL-00001-of-00002.gguf49.6 GB990a6c942a8402e523b22a2616efbc3fe4e1ef4adf87d52eaf997cf7ed06af5b
UD-Q5_K_XL/GLM-4.6V-UD-Q5_K_XL-00002-of-00002.gguf30.7 GBd665105dbba602d2d0cac105b47ee754e030f7d61f5bb6c1d3611125ac6f59a1
UD-Q6_K_XL/GLM-4.6V-UD-Q6_K_XL-00001-of-00002.gguf49.8 GB35d2b4f60c65c2dcf0efd67d1a314f127ab0d29e8a4a477ee58eca7428e80d84
UD-Q6_K_XL/GLM-4.6V-UD-Q6_K_XL-00002-of-00002.gguf48.6 GBebb9442861acfe0f2a47a510f37fde44c749a7600bb38c52947d98e671fbb897
UD-Q8_K_XL/GLM-4.6V-UD-Q8_K_XL-00001-of-00003.gguf49.8 GB88a6ce7fc9ec12fe02bcfcdfe69c3bc63a307d5a53c9be9386e69fe94b36913b
UD-Q8_K_XL/GLM-4.6V-UD-Q8_K_XL-00002-of-00003.gguf50.0 GB64ccb8ad1c2b0ca1b0426205d08dddf01e259004b522a3fc575c415e4377e4ac
UD-Q8_K_XL/GLM-4.6V-UD-Q8_K_XL-00003-of-00003.gguf24.1 GB92c71b5f0cf894bb1c8661af9e2fe3a73dcaba2e82a3272f0416636f77ac8dca
imatrix_unsloth.gguf_file228 MBa06605907f787ef2721d6fb6e7601d99f047a6ed2009cbb0b7e6a2ea40928e97
mmproj-BF16.gguf1.77 GBbab940385267a8bf571ff35aaca854ce6976d93003b95887456f4f55d270cd30
mmproj-F16.gguf1.72 GB1d4536ec59282621ecdd46c50deee789accffa2c6f90ebca22f992afd6d6038a
mmproj-F32.gguf3.43 GBb611232727236c8a8ed7edd62bce7fcfd04db09bc27c4205a344cf5b254926ad
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7bea17af30 pinned now2026-11-15 04:40 UTC56 files · 1.88 TB

Use it

$ fw get unsloth/GLM-4.6V-GGUF
# manifest sha256 aea91f45e48f… · 1.88 TB · 56 files
$ fw verify ./GLM-4.6V-GGUF unsloth/GLM-4.6V-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/GLM-4.6V-GGUF.json --dir ./GLM-4.6V-GGUF $ python3 fw.py verify ./GLM-4.6V-GGUF ./unsloth__GLM-4.6V-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/GLM-4.6V-GGUF --revision 7bea17af309193ebd3dd31edbc40a7ddc301cf35 --local-dir ./GLM-4.6V-GGUF
llama.cppDownload one GGUF variant (GLM-4.6V-UD-TQ1_0, 36.8 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/GLM-4.6V-GGUF --include "GLM-4.6V-UD-TQ1_0*" --local-dir ./GLM-4.6V-GGUF $ llama-server -m ./GLM-4.6V-GGUF/GLM-4.6V-UD-TQ1_0.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./GLM-4.6V-GGUF/GLM-4.6V-UD-TQ1_0.gguf\n' > Modelfile $ ollama create glm-4.6v-gguf -f Modelfile

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
ed57b93f45de4d6b5efd6793a04687d33c073e9cde48040664dc606136177020
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.glmSubject: GLM-4.6V-GGUFDate: 2026-11-15Commit: 7bea17aSigned: 2DC28CC7B26A283B ✓
Upstream
unsloth/GLM-4.6V-GGUF
Pinned commit
7bea17af309193ebd3dd31edbc40a7ddc301cf35
Manifest
GLM-4.6V-GGUF.json · .minisig
Manifest sha256
aea91f45e48f75a55de5eaba24890ed58bf0eef6587eb92661fe1fd6fa2b960b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:40 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/GLM-4.6V-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/GLM-4.6V-GGUF.json.minisig $ minisign -Vm GLM-4.6V-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

zai-org/GLM-4.6V · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/GLM-4.6V-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. GLM-4.6V-GGUF.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: arcee-ai_GLM-4-32B-Base-32K-GGUF
From: ggml-org <huggingface.co/ggml-org>Subject: AutoGLM-Phone-9B-GGUF
From: zai-org <huggingface.co/zai-org>Subject: cogagent-chat-hf
From: zai-org <huggingface.co/zai-org>Subject: CogView3-Plus-3B
From: zai-org <huggingface.co/zai-org>Subject: cogvlm-base-490-hf
From: laion <huggingface.co/laion>Subject: dev_set_part1_10k_glm_4_7_traces_jupiter