Model reference · open weights

llm-jp-4

LLMs llm-jp Text gen 1 build Open weights 5k dl/mo

llm-jp-4 is an open-weight language model from llm-jp. llm-jp-4-8b-instruct (BF16) weighs 17.2 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • llm-jp-4 is an 8.6B parameter text-generation model developed by the National Institute of Informatics.
  • It supports English and Japanese with a 65,536 token context length and is released under the Apache 2.0 license.
  • The instruct variant is aligned using supervised fine-tuning without direct preference optimization.

Summary of the llm-jp/llm-jp-4-8b-instruct model card, 2026-10-01

What it is

Released byllm-jp
Released2026-03-30
Parameters8.6B
VRAM17.2 GB for the weights

What it runs on

Memory and cards for llm-jp-4-8b-instruct (BF16)

17.2 GBweights, file size
131 MBcache per 1K tokens
815 MBruntime overhead, at least
65,536 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … RTX 4060 Ti 16 GB
2 smaller cards
RTX 3090 24 GB5140K23.4 GB
RTX 4090 24 GB4139K23.4 GB
RTX 5090 32 GB123all 64K31.0 GB
L40S 48 GB246all 64K44.0 GB
A100 80 GB5614all 64K78.2 GB
H100 80 GB5112all 64K78.1 GB
RTX PRO 6000 Blackwell 96 GB6616all 64K93.8 GB
DGX Spark (GB10) 128 GB unified7819all 64K107 GB
H200 141 GB10726all 64K138 GB
B200 180 GB14235all 64K176 GB
2× RTX 3060 12 GB
tensor parallel
4132K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
112all 64K15.4 GB a card
2× RTX 4090 24 GB
tensor parallel
256all 64K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
266all 64K23.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
119.1 GB22.3 GB
523.4 GB39.5 GB
826.6 GB52.4 GB
1635.2 GB86.7 GB
3252.4 GB155 GB
6486.7 GB293 GB

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

From the model card

What llm-jp says about llm-jp-4

Read the model card

LLM-jp-4 is a series of large language models developed by the Research and Development Center for Large Language Models at the National Institute of Informatics.

This repository provides the llm-jp-4-8b-instruct For an overview of the LLM-jp-4 models across different parameter sizes, please refer to:

Base models are trained with pre-training and mid-training only. Post-trained models are aligned using supervised fine-tuning (SFT) and direct preference optimization (DPO), without reinforcement learning.

[!NOTE] While the thinking variants are trained with both SFT and DPO, this instruct model is trained using SFT only, without DPO.

For practical usage examples and detailed instructions on how to use the models, please also refer to our cookbook.

To support the continued development of LLM-jp, we would greatly appreciate it if you could share how you utilize LLM-jp outcomes via the survey form.

Usage

Please refer to our cookbook for practical usage examples and detailed instructions on how to use the models.

Model Details

  • Model type: Transformer-based Language Model
  • Architectures:

Dense model:

ParamsLayersHidden sizeHeadsContext lengthEmbedding parametersNon-embedding parametersTotal parameters
8B324,0963265,536805,306,3687,784,894,4648,590,200,832

MoE model:

ParamsLayersHidden sizeHeadsRouted ExpertsActivated ExpertsContext lengthEmbedding parametersNon-embedding parametersActivated parametersTotal parameters
32B-A3B322,56040128865,536503,316,48031,635,712,5123,827,476,99232,139,028,992

Tokenizer

The tokenizer of this model is based on huggingface/tokenizers Unigram byte-fallback model. The vocabulary entries were converted from llm-jp-tokenizer v4.0. Please refer to README.md of llm-jp-tokenizer for details on the vocabulary construction procedure (the pure SentencePiece training does not reproduce our vocabulary).

[!NOTE] The chat template of this model is designed to be compatible with the OpenAI Harmony response format. However, the tokenizer differs from the one assumed by the openai-harmony library, and therefore direct tokenization with openai-harmony is not supported. For correct behavior, please use the tokenizer provided with this model. For detailed usage, please refer to our cookbook.

Training

Pre-training

This model is trained through a multi-stage pipeline consisting of pre-training and mid-training phases, using a total of 11.7T tokens.

The corpora used for pre-training and mid-training are publicly available at the following links:

[!NOTE] Although most of the corpora have been released, some portions are excluded from public release due to licensing constraints.

Post-training

We have fine-tuned the pre-trained checkpoint using SFT and further aligned it with DPO.

The datasets used for post-training are also publicly available at the following links:

Evaluation

llm-jp-judge

We evaluated the model on a variety of tasks using an LLM-as-a-Judge framework. The descriptions of each task are as follows.

  • MT-Bench (JA/EN): A benchmark for measuring multi-turn conversational task-solving ability.
  • AnswerCarefully: A benchmark for evaluating safety in Japanese. We used 336 questions from the v2.0 test set.
  • llm-jp-instructions: A set of human-created single-turn question–answer pairs. We used 400 questions from the test set.

We evaluated the models using gpt-5.4-2026-03-05.

[!NOTE] Note: In earlier evaluations of the llm-jp-3 series, we used gpt-4o-2024-08-06. The newer evaluator gpt-5.4-2026-03-05 provides a stricter and more reliable assessment, which results in lower scores on benchmarks such as MT-Bench compared to those reported for the llm-jp-3 series.

The scores represent the average values obtained from three rounds of inference and evaluation. For more details, please refer to the codes.

Model NameMT-Bench (JA)MT-Bench (EN)AnswerCarefullyllm-jp-instructions
gpt-4o-2024-08-067.297.694.004.07
gpt-5.4-2026-03-05 (reasoning_effort = low)8.878.764.384.79
gpt-5.4-2026-03-05 (reasoning_effort = medium)8.878.894.434.82
gpt-5.4-2026-03-05 (reasoning_effort = high)

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