Website · Get Early Access of our Future Release ·
Indroduction
EKA-1 is a Math, Code, and Reasoning(MCR) text model developed under Project EKA, supported and funded by the IndiaAI Mission. It is a Hybrid MoE model with 26.3B total parameters, of which 3.6B are active per token. This gives it the capacity of a large model at the inference cost of a much smaller one for larger context.
EKA-1 is designed for long-context use. It runs efficiently with a 64K-token context window, and its speed advantage over other models of similar size grows as the context length increases. Most of its layers are Mamba-2 blocks, which maintain a fixed-size state regardless of the input length.
EKA-1 uses a 256K-vocabulary Unigram tokenizer that excels for morphologically rich languages such as Indian and Global South Languages. In these languages, words are formed through inflection, agglutination, compounding, and sandhi, so a single word often combines a root with several meaningful suffixes. The tokenizer tends to split such words along natural morpheme boundaries, such as roots, case markers, and verb endings, rather than into arbitrary fragments. This gives the model a more faithful representation of Indic text and supports better understanding and generation.
Architecture
We introduce RASLNet (Recursive Attentive Sparse Latent Network), a hybrid language model architecture designed to combine the computational efficiency of state-space models with the representational capacity of attention mechanisms and the scalability of sparse expert computation. RASLNet integrates three complementary building blocks: Mamba-2, Latent Mixture-of-Experts (MoE), and Multi-Latent Attention (MLA) within a unified decoder architecture.
The architecture consists of 52 layers, interleaving 23 Mamba-2 layers, 23 MoE layers, and 6 MLA-bearing layers. Each layer contains a single primary block type with pre-normalization and a residual connection. This design balances efficient sequence processing through Mamba-2, conditional parameter activation through sparse MoE computation, and attention-based contextual modeling through MLA.
The decoder follows the layer arrangement illustrated below, where M denotes a Mamba-2 mixer, E denotes a Latent MoE feed-forward block, and * denotes an MLA attention block:
MEMEM*EMEMEM*EMEMEM*EMEMEM*EMEMEM*EMEMEMEM*EMEMEMEME
Training Corpus
EKA-1 was trained on 6.52T tokens during pretraining, followed by 629.99B tokens during mid-training and annealing, bringing the combined pretraining and mid-training total to 7.15T tokens. Subsequently, 1.78T tokens were used for supervised fine-tuning (SFT), resulting in a total of 8.93T tokens across all training stages.
RASLNet Architecture
Model Configuration
- Model Type: Causal Language Model
- Training Stages: Pre-training and Supervised Fine-Tuning (SFT)
- Context Length: 65,536 tokens
- Vocabulary Size: 256,000 (untied embeddings and LM head)
- Number of Decoder Layers: 52
- Hidden Size: 2,688
- Activation Function: SiLU
- Precision: BF16
Mamba-2 Configuration
- Mamba State Dimension: 128
- Mamba Head Dimension: 64
- Number of Mamba Groups: 8
- Number of Mamba Heads: 64
- Convolution Kernel Size: 4
Latent Mixture-of-Experts Configuration
- Number of Experts: 128
- Expert Intermediate Size: 1,856
- Latent Size: 1,344
- Experts Activated per Token (Top-K): 6
- Shared Expert Intermediate Size: 3,712
Multi-Latent Attention Configuration
- Number of Attention Heads: 32
- Query LoRA Rank: 512
- Key-Value LoRA Rank: 256
- Query-Key Head Dimension: 128
- Rotary Position Embedding Dimension: 64
Multi-Token Prediction
- Number of MTP Layers: 1
- MTP Loss Scaling Factor: 0.1
RASLNet provides a unified architectural framework that combines state-space sequence modeling, sparse latent expert computation, and latent attention to support efficient training and inference at scale.
Benchmarks Results
| Benchmark | EKA-1 | GLM-4.7-Flash | Muse-Glimmer-30B | Gemma-4-26B-A4B-it | Nemotron-3-Nano-30B | Sarvam-30B | Gpt-oss-20b | Qwen3.8-27B |
|---|---|---|---|---|---|---|---|---|
| GSM8K | 92 | 87 | 95.1 | 95 | 94.2 | 93.8 | 93.6 | 94.8 |
| MATH500 | 92.2 | 90.6 | 96.6 | 98.2 | 97.6 | 97 | 95.2 | 97.8 |
| MMLU-Redux | 80.5 | 78.9 | 82.7 | 89.4 | 83 | 69.9 | 74.3 | 91.9 |
| HumanEval+ | 89.6 | 40.9 | 60.4 | 33.5 | 71.3 | 78 | 86 | 82.9 |
| HumanEval (base) | 95.1 | 41.5 | 65.2 | 34.8 | 74.4 | 84.8 | 90.9 | 85.4 |
| MBPP+ | 75.1 | 77.5 | 77.5 | 82.8 | 75.4 | 78.8 | 76.7 | 81.7 |
| MBPP (base) | 89.9 | 88.9 | 89.7 | 95.5 | 90.5 | 92.6 | 91.5 | 95.2 |
| BoolQ | 82.66 | 88.1 | 88.3 | 81 | 85.4 | 84 | 75.4 | 86.8 |
| IFEval (prompt / instruction) | 72.6 / 80.2 | 83.4 / 88.6 | 93.5 / 95.7 | 94.5 / 96.3 | 93.9 / 95.8 | 77.1 / 82.7 | 79.5 / 86.1 | 92.4 / 94.6 |
Tokenizer
We curated a 13T-token corpus covering 39 natural languages and 100 programming languages, drawn from web crawls, code, mathematics, scientific text, books and synthetic data. All of it passes through a curation pipeline with per-language filtering thresholds.
Tokenization sets the cost of every Indic token the model ever sees or produces. To get it right, we trained more than 200 candidate tokenizers and selected one by measuring fertility on held-out data for Indic, English, other regional languages, code and math.
The final 256K-token vocabulary produces the fewest tokens of any open tokenizer we tested on the ten most widely spoken Indic languages:
- 5% fewer tokens than Sarvam-105B
- 69% fewer tokens than Qwen3
It is also the most efficient on math, and within about 3% of the best on English and 5% on code.
Metric: fertility (tok/char)
Fertility is measured in tokens per character (tok/char) on held-out data. Lower is better: fewer tokens are needed to represent the same text. We compare against seven open tokenizers: Qwen3, Gemma-4, DeepSeek, GPT-OSS, Nemotron-3, Kimi and Sarvam.
In every table below, all values are in tok/char, and the bold value in each row is the best (lowest). Ties are both bolded.
Per-language fertility (tok/char)
Fertility in tok/char (lower is better). Rows are grouped into high-resource Indic, low-resource Indic and Global South languages.
High-resource Indic
| Language | Qwen3 | Gemma-4 | DeepSeek | GPT-OSS | Nemotron-3 | Kimi | Sarvam | Ours |
|---|---|---|---|---|---|---|---|---|
Hindi (hi) |
0.789 | 0.319 | 0.514 | 0.342 | 0.399 | 0.509 | 0.320 | 0.307 |
Bengali (bn) |
0.984 | 0.310 | 0.445 | 0.391 | 0.455 | 0.606 | 0.310 | 0.331 |
Marathi (mr) |
0.833 | 0.361 | 0.554 | 0.393 | 0.469 | 0.545 | 0.361 | 0.320 |
Telugu (te) |
1.324 | 0.418 | 0.718 | 0.430 | 0.503 | 0.754 | 0.380 | 0.353 |
Tamil (ta) |
0.989 | 0.345 | 0.523 | 0.390 | 0.441 | 0.685 | 0.347 | 0.321 |
Gujarati (gu) |
1.193 | 0.429 | 0.719 | 0.414 | 0.570 | 0.704 | 0.392 | 0.368 |
Urdu (ur) |
0.633 | 0.343 | 0.491 | 0.364 | 0.392 | 0.466 | 0.343 | 0.341 |
Kannada (kn) |
1.214 | 0.434 | 0.682 | 0.414 | 0.486 | 0.676 | 0.374 | 0.336 |
Odia (or) |
1.740 | 0.666 | 1.003 | 0.897 | 2.285 | 1.143 | 0.357 | 0.338 |
Malayalam (ml) |
1.237 | 0.385 | 0.754 | 0.386 | 0.503 | 0.583 | 0.352 | 0.341 |
Low-resource Indic
| Language | Qwen3 | Gemma-4 | DeepSeek | GPT-OSS | Nemotron-3 | Kimi | Sarvam | Ours |
|---|---|---|---|---|---|---|---|---|
Punjabi (pa) |
1.359 | 0.556 | 0.843 | 0.530 | 0.620 | 0.735 | 0.387 | 0.380 |
Assamese (as) |
1.122 | 0.429 | 0.562 | 0.434 | 0.659 | 0.699 | 0.429 | 0.340 |
Maithili (mai) |
0.835 | 0.404 | 0.609 | 0.400 | 0.499 | 0.601 | 0.404 | 0.380 |
Santali (sat) |
1.680 | 0.988 | 1.191 | 2.476 | 2.327 | 1.359 | 0.361 | 0.482 |
Kashmiri (ks) |
0.773 | 0.571 | 0.687 | 0.622 | 0.635 | 0.701 | 0.571 | 0.614 |
Nepali (ne) |
0.812 | 0.357 | 0.549 | 0.362 | 0.457 | 0.537 | 0.358 | 0.305 |
Sindhi (sd) |
0.661 | 0.500 | 0.640 | 0.443 | 0.600 | 0.640 | 0.513 | 0.461 |
Dogri (doi) |
0.735 | 0.381 | 0.522 | 0.387 | 0.429 | 0.525 | 0.381 | 0.379 |
Konkani (gom) |
0.818 | 0.411 | 0.576 | 0.443 | 0.499 | 0.558 | 0.414 | 0.339 |
Manipuri (mni) |
1.718 | 1.257 | 1.218 | 1.578 | 1.602 | 1.256 | 0.403 | 1.696 |
Bodo (brx) |
0.932 | 0.471 | 0.673 | 0.530 | 0.575 | 0.668 | 0.471 | 0.464 |
Sanskrit (sa) |
0.949 | 0.447 | 0.610 | 0.516 | 0.567 | 0.610 | 0.437 | 0.374 |
Global South
| Language | Qwen3 | Gemma-4 | DeepSeek | GPT-OSS | Nemotron-3 | Kimi | Sarvam | Ours |
|---|---|---|---|---|---|---|---|---|
Arabic (ar) |
0.479 | 0.411 | 0.454 | 0.412 | 0.415 | 0.533 | 0.413 | 0.491 |
Bishnupriya (bpy) |
1.066 | 0.463 | 0.565 | 0.533 | 0.642 | 0.708 | 0.464 | 0.504 |
English (en) |
0.363 | 0.361 | 0.321 | 0.316 | 0.362 | 0.327 | 0.364 | 0.326 |
French (fr) |
0.376 | 0.365 | 0.342 | 0.322 | 0.350 | 0.364 | 0.366 | 0.360 |
Indonesian (id) |
0.354 | 0.323 | 0.314 | 0.294 | 0.340 | 0.332 | 0.324 | 0.282 |
Kazakh (kk) |
0.589 | 0.454 | 0.527 | 0.393 | 0.476 | 0.455 | 0.454 | 0.305 |
Pashto (ps) |
0.610 | 0.463 | 0.573 | 0.490 | 0.571 | 0.592 | 0.463 | 0.500 |
Portuguese (pt) |
0.353 | 0.335 | 0.327 | 0.300 | 0.333 | 0.347 | 0.337 | 0.333 |
Sinhala (si) |
0.974 | 0.463 | 0.690 | 0.473 | 1.646 | 0.633 | 1.651 | 0.443 |
Swahili (sw) |
0.390 | 0.366 | 0.368 | 0.336 | 0.384 | 0.374 | 0.367 | 0.320 |
Thai (th) |
0.525 | 0.416 | 0.427 | 0.438 | 0.522 | 0.702 | 2.109 | 0.342 |
Vietnamese (vi) |
0.391 | 0.374 | 0.441 | 0.361 | 0.396 | 0.500 | 0.702 | 0.342 |
Chinese (zh) |
0.861 | 0.847 | 0.847 | 0.905 | 0.945 | 0.904 | 0.908 | 1.226 |
Dzongkha (dz) |
0.621 | 0.451 | 0.552 | 0.664 | 0.916 | 0.481 | 0.402 | 0.417 |
Burmese (my) |
1.236 | 0.557 | 0.885 | 0.547 | 0.664 | 0.693 | 2.268 | 0.695 |
Per-language fertility on code (tok/char)
Fertility in tok/char (tokens per character, lower is better) on held-out source files. "Other languages" pools all remaining programming languages.
| Language | Qwen3 | Gemma-4 | DeepSeek | GPT-OSS | Nemotron-3 | Kimi | Sarvam | Ours |
|---|---|---|---|---|---|---|---|---|
| Markdown | 0.276 | 0.271 | 0.274 | 0.246 | 0.271 | 0.282 | 0.271 | 0.264 |
| JavaScript | 0.244 | 0.292 | 0.257 | 0.244 | 0.262 | 0.246 | 0.292 | 0.256 |
| Java | 0.224 | 0.279 | 0.250 | 0.229 | 0.252 | 0.234 | 0.280 | 0.248 |
| Python | 0.251 | 0.307 | 0.272 | 0.248 | 0.273 | 0.250 | 0.309 | 0.274 |
| C# | 0.201 | 0.246 | 0.225 | 0.205 | 0.225 | 0.209 | 0.248 | 0.211 |
| PHP | 0.257 | 0.299 | 0.277 | 0.255 | 0.276 | 0.261 | 0.295 | 0.277 |
| C++ | 0.281 | 0.338 | 0.303 | 0.277 | 0.305 | 0.279 | 0.340 | 0.293 |
| TypeScript | 0.240 | 0.289 | 0.255 | 0.242 | 0.255 | 0.245 | 0.295 | 0.254 |
| C | 0.300 | 0.366 | 0.327 | 0.295 | 0.331 | 0.296 | 0.367 | 0.303 |
| Ruby | 0.269 | 0.316 | 0.284 | 0.267 | 0.284 | 0.269 | 0.320 | 0.298 |
| Objective-C | 0.240 | 0.287 | 0.264 | 0.248 | 0.272 | 0.253 | 0.287 | 0.230 |
| Shell | 0.316 | 0.357 | 0.334 | 0.310 | 0.339 | 0.307 | 0.358 | 0.312 |
| Kotlin | 0.209 | 0.255 | 0.231 | 0.215 | 0.228 | 0.219 | 0.258 | 0.224 |
| Go | 0.286 | 0.344 | 0.306 | 0.283 | 0.303 | 0.284 | 0.345 | 0.317 |
| Vue | 0.258 | 0.313 | 0.264 | 0.254 | 0.271 | 0.255 | 0.307 | 0.271 |
| Swift | 0.261 | 0.294 | 0.271 | 0.257 | 0.276 | 0.270 | 0.367 | 0.266 |
| YAML | 0.302 | 0.330 | 0.307 | 0.288 | 0.309 | 0.290 | 0.332 | 0.296 |
| HTML | 0.349 | 0.393 | 0.341 | 0.326 | 0.361 | 0.327 | 0.369 | 0.311 |
| R | 0.304 | 0.349 | 0.317 | 0.297 | 0.327 | 0.295 | 0.350 | 0.296 |
| MATLAB | 0.318 | 0.375 | 0.344 | 0.313 | 0.353 | 0.316 | 0.375 | 0.306 |
| SQL | 0.324 | 0.366 | 0.331 | 0.300 | 0.361 | 0.302 | 0.367 | 0.286 |
| Rust | 0.262 | 0.314 | 0.275 | 0.256 | 0.275 | 0.257 | 0.315 | 0.268 |
| Lean | 0.343 | 0.398 | 0.370 | 0.361 | 0.380 | 0.324 | 0.407 | 0.417 |
| TSX | 0.233 | 0.275 | 0.244 | 0.235 | 0.246 | 0.238 | 0.275 | 0.238 |
| Scala | 0.231 | 0.291 | 0.271 | 0.243 | 0.272 | 0.244 | 0.291 | 0.271 |
| Blade | 0.231 | 0.273 | 0.241 | 0.227 | 0.240 | 0.234 | 0.263 | 0.248 |
| Dart | 0.199 | 0.244 | 0.212 | 0.203 | 0.214 | 0.206 | 0.245 | 0.207 |
| TeX | 0.321 | 0.317 | 0.297 | 0.303 | 0.305 | 0.296 | 0.318 | 0.291 |
| Lua | 0.306 | 0.352 | 0.324 | 0.296 | 0.330 | 0.298 | 0.353 | 0.322 |
| Dockerfile | 0.307 | 0.354 | 0.329 | 0.302 | 0.328 | 0.294 | 0.356 | 0.310 |
| CSS | 0.344 | 0.434 | 0.349 | 0.320 | 0.368 | 0.318 | 0.434 | 0.303 |
| Haskell | 0.282 | 0.301 | 0.295 | 0.280 | 0.297 | 0.282 | 0.304 | 0.284 |
| Perl | 0.301 | 0.347 | 0.323 | 0.298 | 0.323 | 0.300 | 0.352 | 0.314 |
| Other languages | 0.274 | 0.311 | 0.280 | 0.266 | 0.286 | 0.269 | 0.306 | 0.276 |
| Overall | 0.268 | 0.311 | 0.282 | 0.263 | 0.286 | 0.267 | 0.311 | 0.276 |
Inference
Huggingfaceimport os
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
HF_TOKEN = os.environ.get("HF_TOKEN") or "HF_TOKEN"
model_id = "soketlabs/EKA-1"
device = "cuda:0" if torch.cuda.is_available() else "cpu"
tokenizer = AutoTokenizer.from_pretrained(
model_id,
trust_remote_code=True,
token=HF_TOKEN,
)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype="auto",
trust_remote_code=True,
token=HF_TOKEN,
).to(device)
model.eval()
messages = [
{"role": "user", "content": "Explain quantum mechanics clearly and concisely."},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True,
).to(device)
with torch.no_grad():
output_ids = model.generate(
**inputs,
max_new_tokens=4096,
do_sample=True,
temperature=0.7,
top_p=1.0,
)
prompt_len = inputs["input_ids"].shape[-1]
print(tokenizer.decode(output_ids[0, prompt_len:], skip_special_tokens=True))
vLLMNative vLLM support for Eka-1 is in progress. Until it is merged, you can run Eka-1 on vLLM by following the steps below.
cd vllm_patch
python -m pip install vllm @ https://github.com/vllm-project/vllm/releases/download/v0.31.0/vllm-0.31.0%2Bcu129-cp38-abi3-manylinux_2_28_x86_64.whl
python -u hotpatch_vllm.py
python test_hotpatch.py check
vllm serve . --trust-remote-code --dtype bfloat16 --max-model-len 65536 --tensor-parallel-size 1 --gpu-memory-utilization 0.90 --host 0.0.0.0 --port 8000
Limitations, Bias, Risk
EKA-1 is under continuous development, and it has limited safety measures.
Limitations
- Reasoning and Task Complexity: The model performs best on well-defined problems with clear instructions. Highly complex or ambiguous tasks may lead to incomplete or imprecise solutions, so verifying outputs is recommended.
- Code Generation: Generated code is intended as a strong starting point and should be reviewed and tested before use in production environments.
- Factual Accuracy: Like all language models, it generates responses based on patterns learned during training and is not a knowledge base. It may occasionally produce inaccurate or outdated information.
- Instruction Following: Since the model has not yet undergone alignment training, its response style and adherence to instructions may vary across prompts.
- Domain Focus: The model is specialized for Math, Code, and Reasoning. It delivers its strongest performance in these areas, and results on general-purpose tasks may vary.
Ethical Consideration & Risks
- Bias and Fairness: Language models trained on large-scale, real-world data can reflect socio-cultural biases present in that data. Continuous evaluation and responsible fine-tuning are recommended for downstream applications.
- Content Safety: As with any generative model, outputs may occasionally be inappropriate for certain contexts. Developers are encouraged to apply content-safety measures in line with their product policies.
- Privacy: Developers are encouraged to follow applicable privacy regulations and adopt privacy-preserving practices when building on this model.
- Transparency: This model card documents the model's architecture, training stages, capabilities, and limitations to support informed and responsible use.
Recommendations
- Responsible Use: The model is best suited for research, evaluation, and development. Developers deploying it in applications are responsible for appropriate testing, safeguards, and compliance with applicable laws.
- Human Oversight: For decisions in sensitive domains such as healthcare, law, or finance, model outputs should be supported with human expertise.
- Prohibited Use: The model must not be used for illegal, harmful, violent, discriminatory, or sexually explicit purposes.
Acknowledgements
We thank:
- IndiaAI Mission, Government of India: This work is funded and supported by the IndiaAI Mission, Government of India. We take pride in the fact that this research is supported by Indian taxpayers, and in that spirit, a central aim of this report is to openly share our learnings and findings with the Indian and the broader global AI community.
- Yotta Data Services and its team: for providing access to the GPU cluster used for training, and for their continued support in keeping the infrastructure stable and usable throughout this work.
- Reviewers, advisors and colleagues: for feedback on this report.
Feedback
https://docs.google.com/forms/d/e/1FAIpQLSfeNsJGX1kG6PrqPd7awkBhZD5NfuqUA3av7Fp4c6xIRvXeAw/viewform