Model reference · open weights
openchat_v2_w is an open-weight language model from openchat. openchat_v2_w (BF16) weighs 26.0 GB; the smallest configuration that runs it is 2× RTX 4060 Ti 16 GB.
Summary of the openchat/openchat_v2_w model card, 2026-10-01
What it is
| Released by | openchat |
|---|---|
| Released | 2023-07-07 |
| VRAM | 26.0 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 2K each | |||
| RTX 3060 12 GB … RTX 4090 24 GB 4 smaller cards | — | — | |
| RTX 5090 32 GB | 2 | all 2K | 31.0 GB |
| L40S 48 GB | 10 | all 2K | 44.0 GB |
| A100 80 GB | 30 | all 2K | 78.2 GB |
| H100 80 GB | 28 | all 2K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 38 | all 2K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 46 | all 2K | 107 GB |
| H200 141 GB | 64 | all 2K | 138 GB |
| B200 180 GB | 86 | all 2K | 176 GB |
| 2× RTX 4060 Ti 16 GB tensor parallel | 2 | all 2K | 15.4 GB a card |
| 2× RTX 4090 24 GB tensor parallel | 11 | all 2K | 23.4 GB a card |
| 2× RTX 3090 24 GB tensor parallel | 11 | all 2K | 23.4 GB a card |
| 2× RTX 5090 32 GB tensor parallel | 20 | all 2K | 31.0 GB a card |
| Requests at once | 2K tokens each |
|---|---|
| 1 | 28.4 GB |
| 5 | 35.1 GB |
| 8 | 40.1 GB |
| 16 | 53.5 GB |
| 32 | 80.4 GB |
| 64 | 134 GB |
One card, with vLLM's small-card settings.
From the model card
The OpenChat v2 family is inspired by offline reinforcement learning, including conditional behavior cloning (OpenChat-v2) and weighted behavior cloning (OpenChat-v2-w).
We provide the full source code, including an inference server compatible with the "ChatCompletions" API, in the OpenChat GitHub repository.
OpenChat also includes a web UI for a better user experience. See the GitHub repository for instructions.
The conversation template involves concatenating tokens, and cannot be expressed in plain-text.
Besides base model vocabulary, an end-of-turn token `` is added.
Here is an example of single-round conversation template:
def tokenize_single_input(tokenizer, prompt):
# OpenChat V2
human_prefix = "User:"
prefix = "Assistant GPT4:"
eot_token = ""
bos_token = ""
def _tokenize(text):
return tokenizer.convert_tokens_to_ids(tokenizer._tokenize(text))
def _tokenize_special(special_name):
return tokenizer.convert_tokens_to_ids(special_name)
return [_tokenize_special(bos_token)] + _tokenize(human_prefix) + _tokenize(prompt) + [_tokenize_special(eot_token)] + \
_tokenize(prefix)
To explore conditional language models, you can also set prefix = "Assistant GPT3:" to mimic ChatGPT behavior (this may cause performance degradation).
Hint: In BPE, tokenize(A) + tokenize(B) does not always equals to tokenize(A + B)
Foundation Model Limitations Despite its advanced capabilities, OpenChat is still bound by the limitations inherent in its foundation models. These limitations may impact the model's performance in areas such as:
Hallucination of Non-existent Information OpenChat may sometimes generate information that does not exist or is not accurate, also known as "hallucination". Users should be aware of this possibility and verify any critical information obtained from the model.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.