Model reference · open weights

G9v3-39A5B

LLMs ai9stars Text gen · MoE 1 build Open weights 2k dl/mo

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.

G9v3-39A5B is a Mixture-of-Experts causal language model developed by the AI9Stars team for text generation tasks. It features 39.0B total parameters with 5B activated per token and supports a context length of 131,072 tokens. The model handles English and Chinese, is designed for assistant use, coding, and reasoning, and is released under the Apache-2.0 license.

Summary of the ai9stars/G9v3-39A5B model card, 2026-10-01

What it is

Released byai9stars
TypeLanguage models
TaskText gen · MoE
Parameters (lead)39.0B
Context131,072 tokens
Runs withtransformers
Released2026-07-21
Popularity2k downloads / month
Weights77.9 GB (G9v3-39A5B (BF16), file size)
LicenceOpen weights

What it runs on

Memory and cards for G9v3-39A5B (BF16)

Weights 77.9 GB (file size) · KV cache 39 MB per 1,000 tokens of context, at 16 bits (vLLM's default for this build; an 8-bit cache halves it) · runtime overhead from 2.6 GB on a small card · context up to 131,072 tokens.

CardRequests at once
8K tokens each
Requests at once
32K tokens each
Longest single
request
Counted
memory
RTX 3060 12 GB … H100 80 GB
8 smaller cards
———
RTX PRO 6000 Blackwell 96 GB11292K93.8 GB
DGX Spark (GB10) 128 GB unified5313all 128K107 GB
H200 141 GB15037all 128K138 GB
B200 180 GB24461all 128K176 GB
2× L40S 48 GB
tensor parallel
153121K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
8264K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
8267K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
5614all 128K31.0 GB a card
2× H100 80 GB
tensor parallel
16842all 128K78.1 GB a card
2× A100 80 GB
tensor parallel
22957all 128K78.2 GB a card
2× RTX PRO 6000 Blackwell 96 GB
tensor parallel
26766all 128K93.8 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
180.8 GB81.8 GB
582.1 GB86.9 GB
883.1 GB90.7 GB
1685.6 GB101 GB
3290.7 GB121 GB
64101 GB162 GB

On one card, with vLLM's small-card settings (2,048 tokens a step). Cards of 70 GB and more reserve more per request and more overhead — each row above uses its own card's settings.

Estimates, not measurements, checked against published vLLM startup logs. The weights are the build's file size; the cache is calculated from its config (grouped-query attention); the overhead is an estimate of vLLM's own memory with that card's default settings. "Requests at once" is how many requests of that length vLLM admits — its reservation at full length, with --max-model-len set to that length; requests that stay shorter fit more. "Longest single request" is the most one request can hold there: below the model's maximum, vLLM starts only with --max-model-len set at or under it. "Counted memory" is vLLM's default 92 % of what CUDA reports for the card (the DGX Spark: about 100 GiB of its shared 128 GB). A tensor-parallel split pools the cards' memory and speeds each token up, at the cost of the link between them; a layer split (llama.cpp) holds more but does not make one request faster. Assumes vLLM 0.10 or later.

From the model card

What ai9stars says about G9v3-39A5B

Read the model card

Introduction

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.

Model Information

  • Type: Causal Language Model (Mixture-of-Experts)
  • Total Parameters: ~39B
  • Activated Parameters: ~5B per token
  • Context Length: 131,072

Quickstart

vLLM

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
  }'

SGLang

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
  }'

Transformers

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:

ModeRecommended paramsEnable
Thinktemperature=1.0, top_p=0.95enable_thinking=True
No Thinktemperature=0.7, top_p=0.95enable_thinking=False

Limitations and Responsible Use

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.

License

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.

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