Model reference · open weights
G9v3-39A5B is an open-weight language model from ai9stars. G9v3-39A5B (BF16) weighs 77.9 GB; the smallest configuration that runs it is 2× L40S 48 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the ai9stars/G9v3-39A5B model card, 2026-10-01
What it is
| Released by | ai9stars |
|---|---|
| Released | 2026-07-21 |
| Parameters | 39.0B |
| VRAM | 77.9 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … H100 80 GB 8 smaller cards | ||||
| RTX PRO 6000 Blackwell 96 GB | 11 | 2 | 92K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 53 | 13 | all 128K | 107 GB |
| H200 141 GB | 150 | 37 | all 128K | 138 GB |
| B200 180 GB | 244 | 61 | all 128K | 176 GB |
| 2× L40S 48 GB tensor parallel | 15 | 3 | 121K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 8 | 2 | 64K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 8 | 2 | 67K | 23.4 GB a card |
| 4× RTX 5090 32 GB tensor parallel | 56 | 14 | all 128K | 31.0 GB a card |
| 2× H100 80 GB tensor parallel | 168 | 42 | all 128K | 78.1 GB a card |
| 2× A100 80 GB tensor parallel | 229 | 57 | all 128K | 78.2 GB a card |
| 2× RTX PRO 6000 Blackwell 96 GB tensor parallel | 267 | 66 | all 128K | 93.8 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 80.8 GB | 81.8 GB |
| 5 | 82.1 GB | 86.9 GB |
| 8 | 83.1 GB | 90.7 GB |
| 16 | 85.6 GB | 101 GB |
| 32 | 90.7 GB | 121 GB |
| 64 | 101 GB | 162 GB |
One card, with vLLM's small-card settings.
From the model card
G9v3-39A5B is a Mixture-of-Experts (MoE) causal language model from the AI9Stars team, with 39B total parameters and 5B activated per token. The sparse design keeps inference cost close to a small dense model while retaining the capacity of a much larger one, making it a practical choice for local and self-hosted deployment.
It targets everyday assistant use, coding, tool-use workflows, and reasoning tasks, and supports both Think / No Think modes through the same checkpoint.
pip install "vllm>=0.21"
vllm serve ai9stars/G9v3-39A5B --port 8000
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "ai9stars/G9v3-39A5B",
"messages": [{"role": "user", "content": "Who are you?"}],
"max_tokens": 128,
"temperature": 0.7
}'
pip install "sglang[srt]>=0.5.12"
python -m sglang.launch_server --model-path ai9stars/G9v3-39A5B --port 30000
curl http://localhost:30000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "ai9stars/G9v3-39A5B",
"messages": [{"role": "user", "content": "Who are you?"}],
"max_tokens": 128,
"temperature": 0.7
}'
pip install -U "transformers>=5.6" accelerate torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "ai9stars/G9v3-39A5B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [{"role": "user", "content": "Who are you?"}]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
enable_thinking=False,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Recommended sampling parameters:
| Mode | Recommended params | Enable |
|---|---|---|
| Think | temperature=1.0, top_p=0.95 | enable_thinking=True |
| No Think | temperature=0.7, top_p=0.95 | enable_thinking=False |
G9v3-39A5B is a language model that generates content based on learned statistical patterns from training data. It may produce inaccurate, biased, or unsafe outputs, and generated content should be reviewed and verified before use in high-stakes settings. As a preview release, its behavior may change between versions. Users are responsible for evaluating outputs, applying appropriate safeguards, and complying with applicable laws, regulations, and platform policies.
This repository and the G9v3 model weights are released under the Apache-2.0 License.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.