Latest Model, Think in Thai, Answer in Thai, Built by Thai Startup
openthai-chinda-4b-v1-benchmark
OpenThai Chinda 4B is iApp Technology's cutting-edge Thai language model that brings advanced thinking capabilities to the Thai AI ecosystem. Built on the latest Qwen3-4B architecture, Chinda represents our commitment to developing sovereign AI solutions for Thailand.
OpenThai Chinda 4B is completely free and open-source, enabling developers, researchers, and businesses to build Thai AI applications without restrictions.
🧠 1. Advanced Thinking Model
Highest score among Thai LLMs in 4B category
Seamless switching between thinking and non-thinking modes
Superior reasoning capabilities for complex problems
Can be turned off for efficient general-purpose dialogue
🇹🇭 2. Exceptional Thai Language Accuracy
98.4% accuracy in outputting Thai language
Prevents unwanted Chinese and foreign language outputs
Specifically fine-tuned for Thai linguistic patterns
🆕 3. Latest Architecture
Based on the cutting-edge Qwen3-4B model
Incorporates the latest advancements in language modeling
Optimized for both performance and efficiency
📜 4. Apache 2.0 License
Commercial use permitted
Modification and distribution allowed
No restrictions on private use
📊 Benchmark Results
OpenThai Chinda 4B demonstrates superior performance compared to other Thai language models in its category:
Benchmark
Language
OpenThai Chinda 4B
Alternative*
AIME24
English
0.533
0.100
Thai
0.100
0.000
LiveCodeBench
English
0.665
0.209
Thai
0.198
0.144
MATH500
English
0.908
0.702
Thai
0.612
0.566
IFEVAL
English
0.849
0.848
Thai
0.683
0.740
Language Accuracy
Thai
0.984
0.992
OpenThaiEval
Thai
0.651
0.544
AVERAGE
0.569
0.414
Alternative: scb10x_typhoon2.1-gemma3-4b
Tested by Skythought and Evalscope Benchmark Libraries by iApp Technology team. Results show OpenThai Chinda 4B achieving 37% better overall performance than the nearest alternative.
✅ Suitable For
🔍 1. RAG Applications (Sovereign AI)
Perfect for building Retrieval-Augmented Generation systems that keep data processing within Thai sovereignty.
📱 2. Mobile and Laptop Applications
Reliable Small Language Model optimized for edge computing and personal devices.
🧮 3. Math Calculation
Excellent performance in mathematical reasoning and problem-solving.
💻 4. Code Assistant
Strong capabilities in code generation and programming assistance.
⚡ 5. Resource Efficiency
Very fast inference with minimal GPU memory consumption, ideal for production deployments.
❌ Not Suitable For
📚 Factual Questions Without Context
As a 4B parameter model, it may hallucinate when asked for specific facts without provided context. Always use with RAG or provide relevant context for factual queries.
1# Start chatting with OpenThai Chinda2ollama run iapp/chinda-qwen3-4b
34# Example conversation5ollama run iapp/chinda-qwen3-4b "อธิบายเกี่ยวกับปัญญาประดิษฐ์ให้ฟังหน่อย"
API Server:
bash
1# Start Ollama API server2ollama serve
34# Use with curl5curl http://localhost:11434/api/generate -d '{
6 "model": "iapp/chinda-qwen3-4b",
7 "prompt": "สวัสดีครับ",
8 "stream": false
9}'
Model Specifications:
Size: 2.5GB (quantized)
Context Window: 40K tokens
Architecture: Optimized for local deployment
Performance: Fast inference on consumer hardware
🔧 Advanced Configuration
Processing Long Texts
OpenThai Chinda 4B natively supports up to 32,768 tokens. For longer contexts, enable YaRN scaling:
Extended Context Length: Up to 131,072 tokens (with YaRN scaling)
Input + Output: Total conversation length supported
Recommended Usage: Keep conversations under 32K tokens for optimal performance
Chat Template Format
OpenThai Chinda 4B uses a standardized chat template format for consistent interactions:
python
1# Basic template structure2messages =[3{"role":"system","content":"You are a helpful Thai AI assistant."},4{"role":"user","content":"สวัสดีครับ"},5{"role":"assistant","content":"สวัสดีค่ะ! มีอะไรให้ช่วยเหลือบ้างคะ"},6{"role":"user","content":"ช่วยอธิบายเรื่อง AI ให้ฟังหน่อย"}7]89# Apply template with thinking mode10text = tokenizer.apply_chat_template(11 messages,12 tokenize=False,13 add_generation_prompt=True,14 enable_thinking=True15)
Template Structure
The template follows the standard conversational format:
<|im_start|>system
You are a helpful Thai AI assistant.<|im_end|>
<|im_start|>user
สวัสดีครับ<|im_end|>
<|im_start|>assistant
สวัสดีค่ะ! มีอะไรให้ช่วยเหลือบ้างคะ<|im_end|>
<|im_start|>user
ช่วยอธิบายเรื่อง AI ให้ฟังหน่อย<|im_end|>
<|im_start|>assistant
Advanced Template Usage
python
1# Multi-turn conversation with thinking control2defcreate_conversation(messages, enable_thinking=True):3# Add system message if not present4ifnot messages or messages[0]["role"]!="system":5 system_msg ={6"role":"system",7"content":"คุณเป็น AI ผู้ช่วยที่ฉลาดและเป็นประโยชน์ พูดภาษาไทยได้อย่างเป็นธรรมชาติ"8}9 messages =[system_msg]+ messages
1011# Apply chat template12 text = tokenizer.apply_chat_template(13 messages,14 tokenize=False,15 add_generation_prompt=True,16 enable_thinking=enable_thinking
17)1819return text
2021# Example usage22conversation =[23{"role":"user","content":"คำนวณ 15 × 23 = ?"},24]2526prompt = create_conversation(conversation, enable_thinking=True)
Dynamic Mode Switching
You can control thinking mode within conversations using special commands:
The name "Chinda" (จินดา) comes from "จินดามณี" (Chindamani), which is considered the first book of Thailand written by Phra Horathibodi (Sri Dharmasokaraja) in the Sukhothai period. Just as จินดามณี was a foundational text for Thai literature and learning, OpenThai Chinda represents our foundation for Thai sovereign AI - a model that truly understands and thinks in Thai, preserving and advancing Thai language capabilities in the digital age.
⚖️ Can I use OpenThai Chinda 4B for commercial purposes?
Yes! OpenThai Chinda 4B is released under the Apache 2.0 License, which allows:
✅ Commercial use - Use in commercial products and services
✅ Research use - Academic and research applications
✅ Modification - Adapt and modify the model
✅ Distribution - Share and redistribute the model
✅ Private use - Use for internal company projects
No restrictions on commercial applications - build and deploy freely!
🧠 What's the difference between thinking and non-thinking mode?
Thinking Mode (enable_thinking=True):
Model shows its reasoning process in <think>...</think> blocks
Better for complex problems, math, coding, logical reasoning
Slower but more accurate responses
Recommended for tasks requiring deep analysis
Non-Thinking Mode (enable_thinking=False):
Direct answers without showing reasoning
Faster responses for general conversations
Better for simple queries and chat applications
More efficient resource usage
You can switch between modes or let users control it dynamically using /think and /no_think commands.
📊 How does OpenThai Chinda 4B compare to other Thai language models?
OpenThai Chinda 4B achieves 37% better overall performance compared to the nearest alternative:
Overall Average: 0.569 vs 0.414 (alternative)
Math (MATH500): 0.908 vs 0.702 (English), 0.612 vs 0.566 (Thai)
Code (LiveCodeBench): 0.665 vs 0.209 (English), 0.198 vs 0.144 (Thai)
Thai Language Accuracy: 98.4% (prevents Chinese/foreign text output)
OpenThaiEval: 0.651 vs 0.544
It's currently the highest-scoring Thai LLM in the 4B parameter category.
💻 What are the system requirements to run OpenThai Chinda 4B?
Minimum Requirements:
GPU: 8GB VRAM (RTX 3070/4060 Ti or better)
RAM: 16GB system memory
Storage: 8GB free space for model download
Python: 3.8+ with PyTorch
Recommended for Production:
GPU: 16GB+ VRAM (RTX 4080/A4000 or better)
RAM: 32GB+ system memory
Storage: SSD for faster loading
CPU-Only Mode: Possible but significantly slower (not recommended for production)
🔧 Can I fine-tune OpenThai Chinda 4B for my specific use case?
Yes! As an open-source model under Apache 2.0 license, you can:
Fine-tune on your domain-specific data
Customize for specific tasks or industries
Modify the architecture if needed
Create derivatives for specialized applications
Popular fine-tuning frameworks that work with Chinda:
Unsloth - Fast and memory-efficient
LoRA/QLoRA - Parameter-efficient fine-tuning
Hugging Face Transformers - Full fine-tuning
Axolotl - Advanced training configurations
Need help with fine-tuning? Contact our team at sale@iapp.co.th
🌍 What languages does OpenThai Chinda 4B support?
Primary Languages:
Thai - Native-level understanding and generation (98.4% accuracy)
English - Strong performance across all benchmarks
Additional Languages:
100+ languages supported (inherited from Qwen3-4B base)
Focus optimized for Thai-English bilingual tasks
Code generation in multiple programming languages
Special Features:
Code-switching between Thai and English
Translation between Thai and other languages
Multilingual reasoning capabilities
🔍 Is the training data publicly available?
The model weights are open-source, but the specific training datasets are not publicly released. However:
Base Model: Built on Qwen3-4B (Alibaba's open foundation)
Thai Optimization: Custom dataset curation for Thai language tasks