7 6 hours ago

Thai legal LLM that cites the exact law name and section (มาตรา). 30B MoE, ~3B active per token — runs in ~24 GB. Best paired with retrieval (RAG). Decision support, not legal advice.

tools thinking
ollama run openthai/openthai-2.0-legal

Applications

Claude Code
Claude Code ollama launch claude --model openthai/openthai-2.0-legal
OpenCode
OpenCode ollama launch opencode --model openthai/openthai-2.0-legal
Hermes Agent
Hermes Agent ollama launch hermes --model openthai/openthai-2.0-legal
OpenClaw
OpenClaw ollama launch openclaw --model openthai/openthai-2.0-legal

Models

View all →

Readme

OpenThai 2.0 Legal 30B-A3B ⚖️🇹🇭

A Thai legal LLM that cites the exact law and section (มาตรา) — and runs inside your own firewall.

ollama run openthai/openthai-2.0-legal

Purpose-built for Thai statutory law and case law. Recalls Thai statutes from memory and returns the law name and section in a structured, verifiable format — made for legal RAG pipelines, drafting tools and compliance work where data cannot leave the organisation.

30B Mixture-of-Experts with only ~3B parameters active per token, so it runs in ~24 GB — hybrid Mamba2-Transformer on the NVIDIA Nemotron-3-Nano base, trained with reinforcement learning where the reward is citation accuracy itself.

Example

>>> ลักทรัพย์ในเวลากลางคืน ผิดมาตราใด
ผิดตามมาตรา ๓๓๕ แห่งประมวลกฎหมายอาญา

⚠️ Use it right

  • Decision support, not legal advice. Verify every cited section against the current statute text.
  • Pair it with retrieval. Open-book citation accuracy is 0.99 versus 0.07–0.40 from pure memory — recall is the fallback, RAG is the design. Start with OpenThaiRAG.
  • Trained on Thai statutes and Revenue Department rulings; very recent amendments may be thinner.

Links

Announcement · Live demo · GGUF weights (Q4/Q5/Q8) · Discord

Free and open-weight, from the OpenThai project (formerly OpenThaiGPT) — AIEAT × iApp Technology, built on the NVIDIA Nemotron/NeMo stack.