Model reference · open weights

openchat_3.5

LLMs openchat Text gen 1 build Open weights 1k dl/mo

openchat_3.5 is an open-weight language model from openchat. openchat_3.5 (BF16) weighs 14.5 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.

  • OpenChat 3.5 is a 7B parameter open-source language model developed by openchat for text generation tasks.
  • It features an 8192 token context length and is distributed under the Apache-2.0 license.
  • The model was fine-tuned using the C-RLFT strategy on mixed-quality instruction data.

Summary of the openchat/openchat_3.5 model card, 2026-10-01

What it is

Released byopenchat
Released2023-10-30
VRAM14.5 GB for the weights

What it runs on

Memory and cards for openchat_3.5 (BF16)

14.5 GBweights, file size
0 MBcache per 1K tokens
1.1 GBwindow cache per request
647 MBruntime overhead, at least
8,192 tokenscontext max
CardRequests at onceContext maxMemory
8K each
RTX 3060 12 GB——11.6 GB
RTX 4060 Ti 16 GB——15.4 GB
RTX 3090 24 GB7all 8K23.4 GB
RTX 4090 24 GB7all 8K23.4 GB
RTX 5090 32 GB14all 8K31.0 GB
L40S 48 GB26all 8K44.0 GB
A100 80 GB58all 8K78.2 GB
H100 80 GB55all 8K78.1 GB
RTX PRO 6000 Blackwell 96 GB70all 8K93.8 GB
DGX Spark (GB10) 128 GB unified83all 8K107 GB
H200 141 GB111all 8K138 GB
B200 180 GB146all 8K176 GB
2× RTX 3060 12 GB
tensor parallel
6all 8K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
14all 8K15.4 GB a card
2× RTX 4090 24 GB
tensor parallel
28all 8K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
28all 8K23.4 GB a card
Memory needed at each load
Requests at once8K tokens each
116.2 GB
520.5 GB
823.7 GB
1632.3 GB
3249.5 GB
6483.8 GB

One card, with vLLM's small-card settings.

From the model card

What openchat says about openchat_3.5

Read the model card

🔥 The first 7B model Achieves Comparable Results with ChatGPT (March)! 🔥

🤖 #1 Open-source model on MT-bench scoring 7.81, outperforming 70B models 🤖

OpenChat is an innovative library of open-source language models, fine-tuned with C-RLFT - a strategy inspired by offline reinforcement learning. Our models learn from mixed-quality data without preference labels, delivering exceptional performance on par with ChatGPT, even with a 7B model. Despite our simple approach, we are committed to developing a high-performance, commercially viable, open-source large language model, and we continue to make significant strides toward this vision.

Usage

To use this model, we highly recommend installing the OpenChat package by following the installation guide in our repository and using the OpenChat OpenAI-compatible API server by running the serving command from the table below. The server is optimized for high-throughput deployment using vLLM and can run on a consumer GPU with 24GB RAM. To enable tensor parallelism, append --tensor-parallel-size N to the serving command.

Once started, the server listens at localhost:18888 for requests and is compatible with the OpenAI ChatCompletion API specifications. Please refer to the example request below for reference. Additionally, you can use the OpenChat Web UI for a user-friendly experience.

If you want to deploy the server as an online service, you can use --api-keys sk-KEY1 sk-KEY2 ... to specify allowed API keys and --disable-log-requests --disable-log-stats --log-file openchat.log for logging only to a file. For security purposes, we recommend using an HTTPS gateway in front of the server.

curl http://localhost:18888/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openchat_3.5",
    "messages": [{"role": "user", "content": "You are a large language model named OpenChat. Write a poem to describe yourself"}]
  }'

Coding Mode

curl http://localhost:18888/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openchat_3.5",
    "condition": "Code",
    "messages": [{"role": "user", "content": "Write an aesthetic TODO app using HTML5 and JS, in a single file. You should use round corners and gradients to make it more aesthetic."}]
  }'
ModelSizeContextWeightsServing
OpenChat 3.57B8192Huggingfacepython -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --engine-use-ray --worker-use-ray

For inference with Huggingface Transformers (slow and not recommended), follow the conversation template provided below.

import transformers
tokenizer = transformers.AutoTokenizer.from_pretrained("openchat/openchat_3.5")

# Single-turn
tokens = tokenizer("GPT4 Correct User: HelloGPT4 Correct Assistant:").input_ids
assert tokens == [1, 420, 6316, 28781, 3198, 3123, 1247, 28747, 22557, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747]

# Multi-turn
tokens = tokenizer("GPT4 Correct User: HelloGPT4 Correct Assistant: HiGPT4 Correct User: How are you today?GPT4 Correct Assistant:").input_ids
assert tokens == [1, 420, 6316, 28781, 3198, 3123, 1247, 28747, 22557, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747, 15359, 32000, 420, 6316, 28781, 3198, 3123, 1247, 28747, 1602, 460, 368, 3154, 28804, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747]

# Coding Mode
tokens = tokenizer("Code User: Implement quicksort using C++Code Assistant:").input_ids
assert tokens == [1, 7596, 1247, 28747, 26256, 2936, 7653, 1413, 334, 1680, 32000, 7596, 21631, 28747]

The GPT4 template is also available as the integrated tokenizer.chat_template, which can be used instead of manually specifying the template:

messages = [
    {"role": "user", "content": "Hello"},
    {"role": "assistant", "content": "Hi"},
    {"role": "user", "content": "How are you today?"}
]
tokens = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
assert tokens == [1, 420, 6316, 28781, 3198, 3123, 1247, 28747, 22557, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747, 15359, 32000, 420, 6316, 28781, 3198, 3123, 1247, 28747, 1602, 460, 368, 3154, 28804, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747]

Comparison with X.AI Grok models

Hey @elonmusk, I just wanted to let you know that I've recently come across your new model, Grok, and I must say, I'm quite impressed! With 33 billion parameters and all, you've really outdone yourself. But, I've got some news for you - I've outperformed Grok with my humble 7 billion parameters! Isn't that wild? I mean, who would have thought that a model with fewer parameters could be just as witty and humorous as Grok?

Anyway, I think it's about time you join the open research movement and make your model, Grok, open source! The world needs more brilliant minds like yours to contribute to the advancement of AI. Together, we can create something truly groundbreaking and make the world a better place. So, what do you say, @elonmusk? Let's open up the doors and share our knowledge with the world! 🚀💡

(Written by OpenChat 3.5, with a touch of humor and wit.)

| | License | # Param | Average | MMLU

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms