Santara 200M Chat Small trilingual language model from Indonesia, built by Grady Xiao Yan Lupertama from scratch (English, Indonesian, Chinese).
Try it directly here: https://santara-chat.vercel.app/
Santara is a small chat model for English, Indonesian and Chinese, with about 200M parameters. It was trained from scratch: its own 18,000-piece tokenizer, its own data mix and about 8 billion training tokens. No weights come from another model. The architecture is the standard Llama-style decoder. The tokenizer, data and training are what's original here.
It's a research and hobby project that asks how far a deliberately small trilingual model can go on a small budget.
| Parameters | 199.4M (182.1M without the embedding table) |
| Languages | English, Indonesian, Chinese (Simplified) |
| Context | 2,048 tokens |
| Training tokens | about 7.5B pretraining + about 0.6B post-training |
| Post-training | supervised chat training, then online RL (GRPO) with Claude as the judge |
| Licence | CC BY-NC 4.0 (non-commercial; see Licence) |
What it's for
- Advancing the Indonesian local LLMs frontier intelligence that is built from scratch
- Short, coherent casual conversations in any of the three languages, including switching language mid-chat.
- Translating short everyday sentences between English, Indonesian and Chinese. This is its strongest skill.
- Simple arithmetic and short word problems.
- Maximizing the performance and an attempt to beat Gemma 3 and Qwen 2.5 0,5b.
- Outcompete all pre-existing open-sourced Indonesian LLM
Quick start
Transformers. The weights are a standard LlamaForCausalLM in F16 safetensors, and the tokenizer config includes the chat template and sampling defaults:
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "grady-pertama/santara-200m-chat"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
ids = tok.apply_chat_template([{"role": "user", "content": "Halo! Apa kabar?"}],
add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=80) # uses generation_config.json: temp 0.65, top-p 0.9, rep. penalty 1.12
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))
GGUF. For llama.cpp, LM Studio and other GGUF runtimes:
llama-cli -m Santara-Dense-200M-F16.gguf -cnv -c 2048 \
--temp 0.65 --top-p 0.9 --top-k 40 --min-p 0.05 \
--repeat-penalty 1.12 --repeat-last-n 256 \
--dry-multiplier 0.8 --dry-base 1.75 --dry-allowed-length 2
These are the settings the public demo uses. Cooler sampling and a repetition penalty matter at this size: without them, replies loop more often.
Prompt format. There is no system role. Each turn is a role tag followed by its text, and a reply ends with </s>:
<s><|user|>Halo! Apa kabar?<|assistant|>Baik, terima kasih! Kamu sendiri gimana?</s><|user|>Translate to Chinese: I'm hungry.<|assistant|>
Both formats include this chat template, so apply_chat_template and chat mode in llama.cpp or LM Studio format turns for you. The tokenizer is a SentencePiece unigram model. In Transformers, emoji and rare characters fall back to byte pieces. The GGUF tokenizer has no byte fallback, so there they become <unk>. Training text rarely contained them either way.
Main comparison. Santara row: the released checkpoint (Post-GRPO). Its coherence figure comes from a later judging round than the other models' (see the note below the table).
| Model | Params | Translation chrF, FLORES-200, 6 directions | Coherence, 150 chats | Reasoning, 132 problems |
|---|---|---|---|---|
| Santara 200M Chat | 199M | 43.2 | 62%* | 54.5% |
| Gemma 3 270M-it | 268M | 28.6 | 53% | 37.9% |
| Qwen2.5-0.5B-Instruct | 494M | 33.4 | 64% | 56.8% |
| SmolLM2-360M-Instruct | 362M | 13.9 | 35% | 14.4% |
- Translation: chrF on FLORES-200 devtest, mean of the 6 directions between English, Indonesian and Chinese, 1,012 sentences per direction, scored like sacrebleu. The rest of this bullet gives the SFT parent's figures; the released model's mean is within 0.1 chrF of the parent's (43.2 vs 43.3). Santara is strongest into Indonesian (en→id 62.1) and weakest into Chinese (en→zh 26.0, id→zh 22.6). Qwen beats it on zh→en (49.5 vs 45.0). Santara answers in the wrong language 0.2% of the time, against 25% for Gemma and 17% for Qwen. A dedicated translation model (opus-mt, 78M) still scores higher: 51.6 vs Santara's 47.7 on the four English pairs.
- Coherence: the share of 150 single- and multi-turn chat replies a blind Claude judge passes on one rubric (answers the message, stays on topic, uses earlier turns, right language). *The released model was judged in a later round, together with the 281-step model it continued from (58.7% in that round). Gemma and Qwen were judged in the main scoreboard round with the SFT parent, which scored 55% there. SmolLM2's figure comes from an earlier round still. Judges are stricter in some rounds than others, so compare figures from different rounds loosely. In the main scoreboard round, the SFT parent did much better than Gemma in multi-turn chats (67% vs 35%) and worse on single-turn questions (50% vs 59%), which mostly need knowledge.
- Reasoning: exact-answer accuracy on 132 arithmetic and word problems, 44 per language, one greedy reply each. Gaps under about 5 points are noise.
- RL step: against its SFT parent, RL raised reasoning from 45.5% to 54.5%. Translation and fact scores stayed level. The last 100 Haiku-judged steps were level with the 281-step Sonnet-judged model on every measure (paired 95% intervals); see the explanation-dodge row below for the one figure that moved the wrong way.
Other tests on the released checkpoint (the author's own sets, the scores representing the model's capabilities on such task; replies in chat format unless noted):
| Test | n | Score |
|---|---|---|
| Facts: trilingual fact questions | 90 | 84.4% (76/90) |
| Sums: arithmetic items | 960 | 85.8% |
| History questions and word meanings | 210 | 73.8% |
| Consistency probe: replies in 144 five-turn chats, Claude-judged | 720 | 23% garbled, 43% clean, 22% contradict an earlier turn |
| Consistency probe: recall of an earlier detail | 110 | 45% |
| Everyday "explain why/how" questions that get dodged | 180 replies (60 questions × 3 samples) | 17.8% |
- Probe: garbled rates depend on the judging round, so they're only comparable within one round. In this round the 281-step model scored 22% garbled.
- Dodging: a dodge is a "not sure" hedge with fewer than 20 words of real content. The 281-step model dodged 13.3% of the same 180; the difference (+4.4 points, 95% interval −1.7 to +10.6) isn't significant.
Indonesian multiple-choice tests (untuned, zero-shot log-likelihood; measured on an earlier checkpoint, s1-epoch-2; chat training since then hasn't moved these):
| Model | XCOPA | IndoMMLU | XStoryCloze |
|---|---|---|---|
| Santara (s1-epoch-2, internal checkpoint) | 59.2 | 28.6 | 55.6 |
| IndoGPT | 60.8 | 31.1 | 53.6 |
| Qwen2.5-0.5B-Instruct | 56.8 | 27.5 | 54.6 |
| Gemma 3 270M-it | 53.4 | 27.1 | 54.5 |
| Guessing | 50.0 | 23.5 | 50.0 |
The top group on XCOPA and XStoryCloze is within noise (±4.3 and ±2.5). On IndoMMLU, IndoGPT is genuinely ahead.
Limitations
I found out some limitations:
- Replies fall apart as they get longer. It holds together for one or two sentences. On the author's probe the SFT parent garbled about 10% of replies under 15 words, 40% at 15–30 words and about 65% at 30–50. Gemma 3 270M garbles 2–4% at those lengths. The likely cause is too little pretraining (about 7.5B tokens against Gemma's roughly 6T), not model size.
- It knows few facts and invents things. It goes along with invented people, places and events about 90% of the time, accepts false premises, and almost never gets current facts right. After training to say "not sure" about recent events, it also says "not sure" about some famous facts it should know.
- Explanations are rarely right. On 60 "explain why/how" questions, none got a complete, correct answer.
- Long chats are weak. It often loses details from earlier in a conversation, and it never caught a contradiction it was set up to notice.
- Chinese output is the weakest of the three languages for translation.
- It can loop. Use the repetition settings above.
Training
Everything ran on one gaming laptop (Intel Core Ultra 9 275HX, 16GB RAM, RTX 5070 Laptop, 8 GB) plus rented GPUs (RTX PRO 6000) for pretraining.
- Pretraining, August 2026: 2.84B tokens in 256-token windows.
- Early post-training, August–October: supervised chat and knowledge rounds.
- November chat rounds: Written chats across many LLM samples selected based off what the author had in mind for Santara's personality and translation triples, open parallel text, worked-steps arithmetic, then a broad mix of open chat datasets.
- Continued pretraining: 4.15B tokens of educational web text, Wikipedia, parallel text, dictionaries and maths in all three languages. Then a chat round adding history, word-meaning and arithmetic rows.
- Longer context: 450M more pretraining tokens in 2,048-token windows, which made loss flat across all 2,048 positions. Then three chat stages at 2,048 tokens. They taught it to end each reply, follow topic changes, handle long chats, and say when it doesn't know about recent events.
- Online RL (GRPO): each step, 8 prompts × 8 of the model's own replies. Claude Sonnet ranked them as judge for 281 steps, then Claude Haiku for 100 more. KL penalty 0.05 to the SFT model, learning rate 1e-6. The model drifted very little from its SFT parent (KL about 0.004 per token).
Two things that didn't work at this size, in case they help anyone: Using DPO made the model either dodge questions or garble (it learned shortcuts). What did work was preference training on the model's own replies only, at matched lengths, and online RL.
Compute cost: roughly $83.77 of rented GPU time and about $10.19 of API calls for the RL judge.
Architecture
| Layers | 19 |
| Width | 960 |
| Attention | 15 heads of 64, grouped-query with 3 key/value heads |
| Feed-forward | SwiGLU, 2,560 |
| Normalisation | RMSNorm before each block, ε 1e-6 |
| Positions | RoPE, base 500,000 |
| Embeddings | tied input and output, no biases |
| Tokenizer | SentencePiece unigram, 18,000 pieces, trained on English, Indonesian and Chinese |
Licence
The weights and tokenizer are released under CC BY-NC 4.0: use, share and adapt them with attribution, for non-commercial purposes.
Credit. If you share the model or anything built from it (fine-tunes, merges, quantisations, conversions), the licence requires you to credit the author, link to this page and say what you changed. If you use Santara in research, please cite it with the entry below.
Training data
Pretraining (about 7.5B tokens): general text in English, Indonesian and Chinese, mostly web text plus encyclopedia, book and subtitle text, then a stage at 2,048-token windows to extend the context.
Chat training (about 0.6B tokens):
- public conversation, instruction and translation datasets, some of them licensed for non-commercial use only;
- chats written for this project by AI models;
- a small share (under 1%) of the author’s own conversations and transcribed conversational audio recorded by the author, transcribed by Qwen ASR locally;
- a few replies from visitors to Santara’s public demo chat, who were told their chats may be used for training.
Reinforcement learning: Santara’s own replies, scored by Claude Sonnet 5.5 and Claude Haiku 5.5 as judges.
Citation
@misc{santara_200m_chat_2026,
title = {Santara 200M: a small trilingual language model from Indonesia, built from scratch (English, Indonesian, Chinese)},
author = {Grady Xiao Yan Lupertama},
year = {2026},
url = {https://huggingface.co/grady-pertama/santara-200m-chat}
}