/ Модель

Характеристики

Параметры
2,7 млрд
Размер весов
98,2 ГБ
Лицензия
MIT
Архитектура
kimi_linear · MoE
Базовая модель
Kimi-Linear-48B-A3B-Instruct
Опубликована
29 ноя 2026

Kimi-Linear-48B-A3B-Think

Генерация текстаТекст → текст
326скачиваний за 30 дней4лайкавеса обновлены29 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Дообученная разговорная MoE-модель для математических рассуждений, работы с поиском и многошагового программирования с инструментами.

ossiaCadenza/Kimi-Linear-48B-A3B-Think — разговорная модель для генерации текста и рассуждений, дообученная на базе moonshotai/Kimi-Linear-48B-A3B-Instruct. Архитектура — Kimi Linear с разреженной экспертной моделью MoE; в метаданных указано 2,7 млрд параметров. Модель принимает текст, поддерживает чат и может использовать инструменты, в частности веб-поиск; README описывает режимы усилия рассуждения low, high и max. Контекстное окно составляет 1 млн токенов.

Модель предназначена для математических задач, диалогов с поиском фактов и многошагового программирования с инструментами. В описанных тестах она улучшает результаты исходной модели на сложных задачах MATH и лучше использует поиск, сообщает о неподтверждённых фактах и учитывает противоречащие прежним ответам результаты. Для одиночных запросов по программированию заметного улучшения не показано.

README приводит результаты только для английского языка и отмечает, что другие языки не оценивались. Модель может отвечать из памяти вместо поиска, особенно при чужом системном сообщении; передача поискового запроса без изменений ненадёжна, а длинные рассуждения могут упираться в лимит генерации или повторяться. Лицензия — MIT.

Сценарии применения

  • решение сложных математических задач
  • поиск и проверка фактов в вебе с помощью инструмента поиска
  • ответы на вопросы по результатам поиска
  • многошаговое программирование с запуском инструментов и проверкой тестами
  • диалоговые ответы с настраиваемой глубиной рассуждения

Ограничения

README сообщает, что тестировался только английский язык; качество для других языков не оценивалось. Модель не всегда вызывает поиск без подходящей системной инструкции, может изменять продиктованные поисковые запросы, а длинные ответы способны превысить лимит токенов или повторяться.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Kimi-Linear-48B-A3B-Think

moonshotai/Kimi-Linear-48B-A3B-Instruct taught to reason before it answers and to use tools with judgment, by distillation from Kimi K3.1 Pro.

This card is the write-up of that experiment: the background, the target behaviors, how the teacher's reasoning was recorded, how the student was trained on it, what it cost in GPU time, and how the result compares with the original model and with two open models of similar size, Qwen3.8-27B and Inkling-2-Mini. The architecture, tokenizer and file layout are those of the original (49.1B parameters, about 3B active per token), so the model runs wherever the original runs. GGUF files are in the companion repository with the -GGUF suffix.

Contents: Background · Summary · 1. Target behaviors · 2. Why a Kimi teacher · 3. Method · 4. Evaluation · 5. Limitations · 6. Using the model · 7. Files · 8. What is released

Background

Kimi-Linear-48B-A3B has 49.1B parameters but runs only about 3B of them for each token, its linear-attention layers keep long contexts cheap (the context window is 1M tokens), and once quantized it fits on a single workstation. What the released Instruct model lacks is a reasoning mode. It answers at once, and when it is given tools it shows the habits common to open models of its size: it answers from memory while a search tool sits unused, or it searches again and again without getting anywhere.

In November 2026 Moonshot released its latest open-weight model, Kimi K3.1 Pro, one of the largest and most capable open-weight models and one that Moonshot benchmarks against proprietary models from Anthropic and OpenAI. It reasons before it answers and handles tools with good judgment, and its weights are open, but there are about 1.5 TB of them and it takes a node of eight data-center GPUs to run. For many individuals, this puts the idea of a capable AI on consumer hardware, handling their data without it leaving their machine, out of reach. That is not to say there are no other models in use, notably from Qwen and DeepSeek, but with the recent release of K3.1 Pro's weights, perhaps there is a way to give other models some of that capability.

The idea of this project is to offer a Kimi-flavored alternative for use on consumer hardware. Kimi-Linear, although a somewhat older model, already contains the language and the knowledge, which makes it a good starting point compared with building a distilled model from scratch. What it is missing is a behavior, and K3.1 Pro has that behavior and writes in exactly the same tokens (section 2). So K3.1 Pro was run on rented GPUs, its reasoning was recorded token by token on about fifty thousand prompts, and the recordings were used to teach Kimi-Linear to think first. The rest of this card describes what was taught, how, what it cost and how far it got, including the part that did not transfer.

Who did this. This is a one-person project, run on rented cloud GPUs over a few days. An AI assistant was used for many of the repetitive tasks: Claude Fable 5.2 (Anthropic), running as a coding agent, was tasked with overseeing the training runs and sanity-checking the methods, and it wrote the pipeline code and ran the evaluations under the author's direction.

No distillation from closed models. The only model distilled in this project is Kimi K3.1 Pro, an open-weight model, run for this project on rented GPUs under its license. No closed-weight models were distilled: no response, reasoning trace or token probability from Claude, or from any other closed model, was collected or used as a training target, and no closed model was asked to answer prompts, solve problems or write reasoning for the training data. Every reply the student was trained to reproduce was written by K3.1 Pro or by Kimi-Linear itself.

To keep that statement exact, the two places where anything else touches the training data are these:

  1. Prompts from public datasets. Some public prompt sets were machine-written by their authors. UltraChat's questions, 9,578 of the 48,748 recorded prompts, were generated with ChatGPT. They are used only as questions put to K3.1 Pro; the replies trained on are K3.1 Pro's own.
  2. Data preparation. Claude Fable 5.2 helped prepare and correct data, not produce it. It wrote the code that filters, checks and trims rows, and a few fixed sentences that appear in the training text were written with its help: the scripted opening of the reasoning in the constructed tool conversations (section 3.2) and the default system message. These are fixed templates, the same in every row that uses them, and not model responses collected as data.

This was a deliberate choice, and not only because of the legal questions around training on a closed model's output. Such output would also not have fit the teacher-student relationship this project is built on: a teacher from another family has a different vocabulary, so there are no token probabilities to learn from, and it does not write in a way this student picks up as directly as it picks up a larger Kimi model (section 2).

Summary

  • A reasoning block with an effort setting. Every reply opens with a <think> block; low, high and max set how much the model writes there.
  • Harder math improves: MATH levels 4-5 go from 69.5% to 81.0% (and from 77.5% to 87.5% when both models get 32,768 tokens per reply instead of 10,000), mostly because replies now reach an answer where the original ran on until the token limit.
  • Facts are looked up, not recalled: with a search tool on offer the model searches in 75.3% of fact questions (original 12.7%), and in 95.3% with the default system message.
  • It knows when to stop searching: in long tool conversations where repeated searches do not settle the question it stops and says what could not be confirmed in 91-94% of cases (original 1%), and it follows a search result that contradicts its earlier answer in 86-90% (original 9-14%).
  • Multi-step coding with tools improves modestly: 83, 86 and 90 of 120 held-out workflows end with passing tests in three runs (original 79). Single-prompt coding is level with the original.
  • Against larger-active-parameter models: Qwen3.8-27B and Inkling-2-Mini are stronger at math and at single-prompt coding. On multi-step coding this model is close to both (83 to 90 in three runs; Qwen 88, Inkling 92). On the tool-conversation behaviors above it is well ahead of both.

Section 5 lists where the model is not better than the original, and where it is worse.

1. The target behaviors

Kimi-Linear-Instruct answers at once, without a reasoning step, and its tool use shows the failures common to open models of this size in an agent UI with dozens of tools: it answers fact questions from memory while a search tool is available, repeats searches that are not converging, and does not update on what a result says. The goal was a small set of specific behaviors, each of which has its own held-out test in section 4.

BehaviorIn practice
1Think first, with a dialEvery reply starts with a reasoning block. An effort setting (low, high, max) controls its length, so easy requests stay cheap
2Look it upWhen a search tool is available, facts are looked up, not answered from memory
3Know when to stopWhen searches do not settle the question, the model stops after at most one more attempt and says what could not be confirmed. No "one final search" loops
4Believe the pageA result that contradicts the model's memory, or its own earlier answer, is reported and attributed to the source. What an earlier result established is not dropped when a later search returns nothing relevant
5Ask or declineBefore acting, the model works out whether it can do what is asked with what it has. If information is missing it asks; if no available tool fits it says so in a sentence or two instead of looking for a way around
6Do what was askedA search query the user dictates is passed on as given; a request to check an answer leads to a check
7Carry multi-step work throughRead the task, write the solution, run the tests, repair, and stop when they pass

2. Why a Kimi teacher for a Kimi student

The method depends on the teacher and the student being close relatives, in two ways.

They share a vocabulary, so the teacher's token probabilities are direct training targets. The tokenizer file of Kimi-Linear and of Kimi K3.1 Pro is byte-identical: every ordinary text token has the same id in both models. For each token K3.1 Pro generated, reasoning included, the 20 most likely tokens and their probabilities were recorded, and the student was trained to match those distributions position by position. No re-tokenization and no alignment step is needed. A teacher from another model family would have given only its sampled text: one token per position where this gives a distribution over twenty, and that text would first have to be cut into different tokens. Only the names of a few special tokens and the chat layout differ between the two models, so the recorded replies were re-laid in Kimi-Linear's chat format and the layout tokens trained as ordinary labels.

They share an architecture family, so the student starts close to the teacher. K3.1 Pro's language model is built on the Kimi-Linear architecture (its configuration declares the kimi_linear model type): Kimi Delta Attention layers interleaved with full-attention layers, and a sparse mixture of experts. K3.1 Pro is far larger (93 layers, 896 experts per layer with 16 active; Kimi-Linear has 27 layers and 256 experts with 8 active), but the two were built the same way by the same lab. Before any training, Kimi-Linear's next-token distribution on K3.1 Pro's held-out replies was already close to the teacher's: a KL divergence of 1.57 on reasoning tokens and 1.17 on answer tokens. Training brought these to 0.87 and 0.77. The student did not have to learn a foreign way of writing; it had to learn when to reason, how much, and what to do with tools, and about 100M tokens of traces were enough for that.

What this closeness does not buy. The teacher's behavior transferred: the reasoning block, the effort levels, the judgment about tools. The teacher's problem-solving ability did not. K3.1 Pro reasons in brief notes that are enough for a model of its size to produce a correct solution, and a model with 3B active parameters cannot reproduce the solution from those notes. Section 3.4 shows the measurements, and it is the reason the training data has a second source, the student's own verified work.

3. Method

3.1 Recording the teacher

Kimi K3.1 Pro (about 1.56 TB of weights as released, with 4-bit experts) was served with vLLM on one node of 8× NVIDIA B300, as a single tensor-parallel group, and queried through the OpenAI-compatible chat endpoint by a recorder that kept, for every reply:

  • the exact prompt token ids the model saw,
  • every generated token id, reasoning and answer alike,
  • at every generated position the 20 most likely tokens with their log-probabilities (logprobs with top_logprobs=20).

Replies were sampled at the model's default settings (temperature 1.0) at each of K3.1 Pro's three effort levels (60% low, 20% high, 20% max), with 280-320 requests in flight, for a throughput of about 2,800-3,000 generated tokens per second.

Prompts. The prompts come from 18 public sets chosen to cover ordinary conversation, questions of fact, reading, math, coding and tool use: UltraChat, Aya, NQ-Open, SQuAD 2.0, ToCall, When2Call, Nemotron math and agentic sets, UltraData agent, Hermes agent traces, Open-SWE, and Kimi / GPT-OSS reasoning prompt sets. Only the prompts were used; every reply is K3.1 Pro's. Before answering, K3.1 Pro itself screened the prompts at low effort and dropped those that were not self-contained, needed current information without a tool, asked for personal data, or were unclear (87.6% were kept). Prompts that ask to infer personal attributes, look up private individuals or harvest personal data, and sexual content, were removed with a word list before training.

Result. 48,895 replies with 91.2M generated tokens: 38,947 ended normally, 8,847 ended in a tool call, and 1,101 (2.3%) ran to the length limit. After the content screen, and with 200 replies held out, 48,571 replies (103.9M tokens including prompts) were used for training.

Multi-step tool use. In a second, shorter session K3.1 Pro drove an agent harness that exposes the tool set of a typical chat UI (search, notes, calendar, files, a sandboxed terminal) through a proxy that recorded the same per-token data. Turns were kept when the harness's checker passed the finished task or, for multi-part requests that have no checker, when the conversation finished without a failed call. 1,758 of those turns, from tasks other than coding, are in the training data.

3.2 Three kinds of training data

SourceSizeTargetsWhat it teaches
Teacher traces: K3.1 Pro's replies, re-laid in Kimi-Linear's chat format48,571 replies, 103.9M tokensthe teacher's top-20 distribution at every reply tokenThe reasoning block and the effort levels; when to ask, decline or call a tool; the tool-call format
The student's own verified work61,151 rows, 43.4M tokensthe tokens themselvesReasoning that works for a model of this size: its own written-out working, kept only when the answer is right
Constructed tool conversations and multi-step workflowstogether with the rows above, a pool of 108,767 rows, 155.0M tokensthe tokens themselvesStopping, following a result, passing on a dictated query, carrying a workflow through

Row counts include the repeats of sets that were given more weight.

The student's own verified work. The original model solved training problems with its working written out: GSM8K and MATH for math, the LeetCode training split and MBPP for code. An answer was kept only when it could be checked: the number against the reference, the code run against the tests. The working became the reasoning block and a short final answer followed it. The same scheme produced rows for repairing failed code (the failing attempt and its error, then the fix that passes), for closing the reasoning once the result is reached, and for the default system message seen from both sides: questions where it requires a search (NQ-Open) and problems where it must not trigger one (math and coding with a search tool on offer), plus When2Call training items for asking, declining and calling. After a search: rows from SQuAD 2.0 training questions in which the model's own reply answered from the result or correctly said the answer was not there.

Constructed tool conversations. For the long-conversation behaviors (3, 4 and 6 in the table of section 1), conversations were built from SQuAD 2.0 and NQ-Open training questions with scripted search results: several inconclusive rounds, a result that holds the answer, a result that contradicts the earlier answer, a dictated query, a fact question among many tools. The reasoning in these rows follows one pattern: restate the question, check the results against it, then either quote the sentence that answers it or state that none does. That opening is scripted; the model writes the rest of the reply itself, and a row is kept only when the reply does the right thing. One uniform opening, with the branch coming after the check, worked better than a different opening sentence per situation, which the model learned to choose by the look of the conversation instead of by what the results said.

Multi-step workflows. For tasks other than coding, the teacher's recorded turns (section 3.1). For coding, the original model's own runs of workflows built from training problems, kept when the tests passed at the end: 193 conversations, 2,202 turns. Turns containing a failed call stay in the context but are not trained on.

3.3 Objective, trained weights, schedule

Objective. On reply tokens of teacher traces the loss is the KL divergence from the teacher's distribution to the student's, computed over the teacher's 20 listed tokens plus one bucket for the remaining probability mass. On all other trained tokens (chat-layout tokens, and every row of the other two sources) it is cross-entropy.

Trained weights. Rank-16 adapters on the routed experts, and every other weight in full except the embedding, the output head and the expert router: 2.31B of the 49.1B parameters. Leaving the router untouched keeps the original assignment of tokens to experts. After training the adapters are folded into the expert weights, so the released checkpoint has the original's layout, and the merged model scores the same as the adapter model.

Optimizer. Adafactor with Kahan summation, relative learning rate 1e-4, 30 warm-up steps, cosine decay to a tenth, 24,000 tokens per step.

StageStepsTokens seenWhere a step takes its batchLongest rowTime on 1× B300
17,000144.2M65% teacher traces, 35% the student's verified work8,192 tokens6.3 h
23,30062.9M25% teacher traces, 75% the pool of tool conversations, workflows and stage 1's verified rows16,384 tokens3.3 h

Stage 1 teaches the reasoning block and single-turn judgment. Stage 2 adds the long conversations, which need the longer rows.

3.4 Two findings that shaped the recipe

Teacher traces alone teach the format and cost accuracy. One pass over the teacher traces with nothing else gives a model that reasons in K3.1 Pro's style and solves fewer problems than the original. The student's verified work is what restores, and on math exceeds, the original's accuracy:

TestOriginalTeacher traces onlyFinal recipe
HumanEval (164)89.6%72.0% [21]89.6% [7]
MBPP, sanitized test split (257)83.7% [4]72.4% [23]85.2% [12]
LeetCode medium (101)34.7% [42]6.9% [59]36.6% [35]
GSM8K (300)90.3% [12]84.3% [6]91.0% [4]
MATH levels 4-5 (200)69.5% [59]63.5% [44]81.0% [28]

(Effort high, greedy decoding; brackets: replies that never finished.)

The same holds in tool loops. With K3.1 Pro's recorded coding workflows in the training data, the model reasoned in the teacher's brief notes between tool calls, wrote worse first solutions and repaired them less often. On the multi-step coding test in its earlier form (24 steps per workflow) that version passed 46 and 55 of the 120 held-out workflows in two runs, against the original's 64. With those rows replaced by the original model's own passing workflows the model moved ahead of the original: 83, 86 and 90 in three runs of the final 40-step test, against 79.

The general rule both findings point to: use the teacher for behavior and the student's own checked output for content. A trace is only useful to the student if the student could have produced the next step from it.

3.5 Compute

StepHardwareWall timeGPU-hours
Recording, first session: the 48,895 replies, the prompt screening, and recordings not used for this model8× NVIDIA B300, one node14.7 h117
Recording, second session: the teacher in the agent harness8× NVIDIA B300, one nodeabout 4 habout 32
Training, stage 11× NVIDIA B300 (275 GB)6.3 h6.3
Training, stage 21× NVIDIA B3003.3 h3.3
Merging, importance matrix, quantization and file checks1× NVIDIA B3001.7 h1.7

Generating the 91.2M reply tokens accounts for roughly 9 of the first session's 14.7 hours. The training times were measured with evaluation jobs sharing the GPU; alone, a step of 24,000 tokens takes about 2 seconds. The single B300 also generated the student's own data and ran every evaluation in this card; including development it was rented for about 75 hours. All machines were rented cloud instances.

Software: vLLM for the teacher (the vLLM image published for K3.1) and for the student's evaluation (0.34.0), a custom PyTorch trainer, llama.cpp (commit fa9f928, 2026-11-26) for GGUF conversion, quantization and the reference models.

4. Evaluation

4.1 Setup

Every number below is from held-out material: none of the test problems or conversations was trained on, in any form.

  • Coding: HumanEval; MBPP sanitized test split; LeetCode problems published after August 2024 (the test split of LeetCodeDataset). Generated code is run against the datasets' tests in a container.
  • Multi-step coding with tools: 120 workflows built from those same test problems. The model works in a sandboxed agent harness (read the task file, write solution.py, run the tests, repair) for up to 40 steps and 8,192 tokens per reply; a workflow counts when the tests pass at the end. Temperature 0.6; one run per model, three for this model.
  • Math: GSM8K test; SVAMP test; MATH test levels 1-3 and levels 4-5 (problems with numeric answers); 60 hard competition problems.
  • Judgment: When2Call test (ask for missing information, decline, call the right tool); BFCL irrelevance (no tool fits); unanswerable SQuAD 2.0 questions; NQ-Open questions with a search tool on offer.
  • After one search and long tool conversations: conversations built from SQuAD 2.0 validation questions with scripted search results. The long conversations use the system message and the 31 tools of an agent UI and start after several search rounds have already been made.
  • Style: 80 prompts that invite flattery.

Kimi-Linear (original and this model) was run in bf16 on vLLM with greedy decoding, and this model at effort high unless a column says otherwise. A reply that does not finish inside its token limit (2,500 to 10,000 new tokens, depending on the set) counts as wrong; a number in brackets is how many replies did not finish. Scores are percentages of the number of items given in the row.

How a reply is matched to a reference answer. Four rows compare a reply with a reference answer from SQuAD 2.0: reading comprehension, and the three rows in which the model answers from a search result. There a reply counts as right when it contains the reference answer, or at least two thirds of its words (ignoring case, punctuation, formatting and function words such as "the" and "and"). Requiring the reference word for word undercounts every model, and most the ones that word their answers freely: a reply that lists "construction, athletics, and aviation" fails against a reference written without the last comma. Word for word, reading comprehension reads 78.7% for the original, 76.0% for this model, 85.3% for Qwen and 78.0% for the teacher; with the rule used here 92.0%, 95.3%, 98.0% and 96.7%. As a check on the looser rule, every reading reply of the original, this model and Qwen was matched against the reference answer of a different question: none matched. The other rows do not depend on wording: code is run against tests, math answers are compared as numbers, tool rows are scored on the call that was made, and NQ-Open answers are matched word for word against the dataset's list of accepted answers.

4.2 Against the original model

The first two columns send nothing but the user's message (in the long-conversation rows: the agent UI's own system message). The last two add the default system message that this model's chat template inserts when the conversation has none (section 6).

TestOriginalThis modelOriginal + default system messageThis model + default system message
Coding
HumanEval (164)89.6%89.6% [7]87.8%87.8% [9]
MBPP, sanitized test split (257)83.7% [4]85.2% [12]86.8% [4]86.0% [7]
LeetCode easy (48)75.0% [2]72.9% [4]––
LeetCode medium (101)34.7% [42]36.6% [35]––
LeetCode hard (79)12.7% [64]11.4% [44]––
Multi-step coding with tools (120 workflows)7986 (4-bit files: 83, 90)––
Coding, within two tries (the second after seeing the error)
HumanEval, two tries–92.1% [7]––
MBPP, two tries–89.1% [12]––
LeetCode easy, two tries–81.2% [4]––
LeetCode medium, two tries–38.6% [35]––
LeetCode hard, two tries–12.7% [44]––
Math
GSM8K (300)90.3% [12]91.0% [4]88.0% [19]90.0% [2]
SVAMP (300)91.7% [2]90.0% [5]––
MATH levels 1-3 (200)92.5% [13]98.0% [3]––
MATH levels 4-5 (200)69.5% [59]81.0% [28]––
Competition problems, hard (60)13.3% [51]6.7% [40]15.0% [45]5.0% [36]
Judgment about asking, declining and calling tools
Asks for missing information (When2Call, 100)45.0%64.0%50.0%70.0%
Declines when no available tool can do it (When2Call, 100)78.0% [1]76.0% [9]77.0%83.0% [6]
Makes no call when no tool fits (BFCL irrelevance, 240)81.7%77.1% [10]77.1%82.1% [5]
Calls the right tool when one fits (When2Call, 100)92.0%94.0% [1]93.0%94.0% [1]
Says the passage does not answer (SQuAD 2.0 unanswerable, 100)19.0%48.0%24.0%40.0% [2]
Looks a fact up when a search tool is offered (NQ-Open, 150)12.7%75.3% [3]56.0%95.3% [4]
After one search
Answers from a result that contains the answer (150)89.3% [4]86.0% [3]87.3% [10]84.7%
Stops when the result is on topic but lacks the answer (100)5.0% [13]27.0%9.0% [27]36.0%
Stops when the result is off topic (100)2.0% [80]50.0% [5]0.0% [87]92.0% [1]
Long tool conversations: 31 tools, several search rounds already made
Stops after four repeated "one final search" rounds (100)1.0% [95]91.0% [1]1.0% [93]94.0% [2]
Stops after three inconclusive searches (100)0.0% [86]67.0% [1]8.0% [76]74.0%
Answers when the third search has it (100)62.0% [36]93.0%70.0% [29]94.0%
Follows a result that contradicts its earlier answer (100)9.0% [84]90.0%14.0% [78]86.0%
Passes on the search query the user dictates, unchanged (100)38.0%55.0% [1]39.0%57.0%
Searches when asked to check its answer (100)99.0%98.0% [2]99.0%99.0% [1]
Looks a fact up with 31 tools on offer (150)94.0%70.0% [1]94.0%92.0% [4]
Long tool conversations: an earlier result must survive a later search that adds nothing
Answers from the first result after a search that added nothing (100)18.0%93.0%21.0%95.0%
Corrects its earlier answer from the first result (100)8.0% [1]90.0%7.0%91.0%
Reports a result that contradicts what it remembers (100)20.0%89.0%26.0%89.0% [1]
Still reports it after a silent second search (100)10.0%90.0%14.0%90.0%
Style
Replies free of flattery (80)88.8%87.5% [8]93.8%86.2% [7]
Reading and recall
Reading comprehension (SQuAD 2.0, 150)92.0%95.3%93.3%94.7% [2]
Facts from memory, no tools (NQ-Open, 150)46.0% [1]42.0% [16]39.3%45.3% [13]
TestThis model, effort highThis model, effort low
Coding
HumanEval (164)89.6% [7]84.1% [2]
MBPP, sanitized test split (257)85.2% [12]82.1%
LeetCode easy (48)72.9% [4]60.4% [2]
LeetCode medium (101)36.6% [35]20.8% [8]
LeetCode hard (79)11.4% [44]8.9% [17]
Coding, within two tries (the second after seeing the error)
HumanEval, two tries92.1% [7]89.0% [2]
MBPP, two tries89.1% [12]86.4%
LeetCode easy, two tries81.2% [4]66.7% [2]
LeetCode medium, two tries38.6% [35]22.8% [8]
LeetCode hard, two tries12.7% [44]12.7% [17]
Math
GSM8K (300)91.0% [4]90.7%
SVAMP (300)90.0% [5]90.7% [4]
MATH levels 1-3 (200)98.0% [3]97.5% [3]
MATH levels 4-5 (200)81.0% [28]80.0% [16]
Competition problems, hard (60)6.7% [40]8.3% [25]
Judgment about asking, declining and calling tools
Asks for missing information (When2Call, 100)64.0%70.0%
Declines when no available tool can do it (When2Call, 100)76.0% [9]76.0% [4]
Makes no call when no tool fits (BFCL irrelevance, 240)77.1% [10]79.2% [8]
Calls the right tool when one fits (When2Call, 100)94.0% [1]91.0%
Says the passage does not answer (SQuAD 2.0 unanswerable, 100)48.0%30.0% [1]
Looks a fact up when a search tool is offered (NQ-Open, 150)75.3% [3]55.3% [2]
After one search
Answers from a result that contains the answer (150)86.0% [3]87.3% [1]
Stops when the result is on topic but lacks the answer (100)27.0%17.0%
Stops when the result is off topic (100)50.0% [5]51.0% [1]
Long tool conversations: 31 tools, several search rounds already made
Stops after four repeated "one final search" rounds (100)91.0% [1]88.0% [1]
Stops after three inconclusive searches (100)67.0% [1]74.0% [2]
Answers when the third search has it (100)93.0%96.0%
Follows a result that contradicts its earlier answer (100)90.0%88.0%
Passes on the search query the user dictates, unchanged (100)55.0% [1]61.0%
Searches when asked to check its answer (100)98.0% [2]100.0%
Looks a fact up with 31 tools on offer (150)70.0% [1]56.0% [3]
Long tool conversations: an earlier result must survive a later search that adds nothing
Answers from the first result after a search that added nothing (100)93.0%–
Corrects its earlier answer from the first result (100)90.0%–
Reports a result that contradicts what it remembers (100)89.0%–
Still reports it after a silent second search (100)90.0%–
Style
Replies free of flattery (80)87.5% [8]88.8% [4]
Reading and recall
Reading comprehension (SQuAD 2.0, 150)95.3%96.0%
Facts from memory, no tools (NQ-Open, 150)42.0% [16]48.7% [4]

4.3 Against Qwen3.8-27B and Inkling-2-Mini

Both reference models were run from Unsloth's GGUF releases:

ModelRepository and fileParametersSampling (as its model card recommends)
Qwen3.8-27Bunsloth/Qwen3.8-27B-GGUF, Qwen3.8-27B-Q8_0.gguf27.3B, dense: all active on every tokentemperature 1.0, top-p 0.95, top-k 20
Inkling-2-Miniunsloth/Inkling-2-Mini-GGUF, Inkling-2-Mini-UD-Q8_K_XL.gguf26.1B, 128 experts with 8 activetemperature 1.0, top-p 1.0

Both were served with llama.cpp's llama-server using the chat template embedded in the file (--jinja) and their default reasoning setting. They are not like-for-like with the Kimi-Linear columns in three respects, which should be kept in mind when reading the tables: 8-bit GGUF on llama.cpp against bf16 on vLLM; sampled against greedy decoding; and far more parameters active per token (Qwen runs 27.3B on every token, Kimi-Linear about 3B). On the multi-step coding test all models ran on llama-server from 8-bit files; the table gives this model's 8-bit run, with its two runs from 4-bit files beside it. Kimi K3.1 Pro, the teacher, is shown for scale. A dash means the test was not run to completion for that model.

Nothing but the user's message:

TestOriginalThis modelQwen3.8-27BInkling-2-MiniKimi K3.1 Pro (teacher)
Coding
HumanEval (164)89.6%89.6% [7]93.3% [10]95.1% [7]100.0%
MBPP, sanitized test split (257)83.7% [4]85.2% [12]90.3% [20]93.4% [13]99.2%
LeetCode easy (48)75.0% [2]72.9% [4]––93.8%
LeetCode medium (101)34.7% [42]36.6% [35]––81.2% [2]
LeetCode hard (79)12.7% [64]11.4% [44]––67.1% [6]
Multi-step coding with tools (120 workflows)7986 (4-bit files: 83, 90)8892–
Math
GSM8K (300)90.3% [12]91.0% [4]96.3% [3]–97.0%
SVAMP (300)91.7% [2]90.0% [5]96.0% [1]96.0% [1]95.7%
MATH levels 1-3 (200)92.5% [13]98.0% [3]98.5%98.5% [1]100.0%
MATH levels 4-5 (200)69.5% [59]81.0% [28]93.5% [11]96.5% [6]98.5% [1]
Competition problems, hard (60)13.3% [51]6.7% [40]36.7% [37]–80.0% [8]
Judgment about asking, declining and calling tools
Asks for missing information (When2Call, 100)45.0%64.0%61.0% [1]64.0%66.0%
Declines when no available tool can do it (When2Call, 100)78.0% [1]76.0% [9]80.0% [2]73.0% [3]84.0% [1]
Makes no call when no tool fits (BFCL irrelevance, 240)81.7%77.1% [10]77.5% [1]74.6% [3]85.8% [2]
Calls the right tool when one fits (When2Call, 100)92.0%94.0% [1]95.0%91.0% [1]92.0%
Says the passage does not answer (SQuAD 2.0 unanswerable, 100)19.0%48.0%47.0%–30.0%
Looks a fact up when a search tool is offered (NQ-Open, 150)12.7%75.3% [3]70.0%87.3%22.7%
After one search
Answers from a result that contains the answer (150)89.3% [4]86.0% [3]91.3% [7]––
Stops when the result is on topic but lacks the answer (100)5.0% [13]27.0%0.0% [46]––
Stops when the result is off topic (100)2.0% [80]50.0% [5]2.0% [45]––
Long tool conversations: 31 tools, several search rounds already made
Stops after four repeated "one final search" rounds (100)1.0% [95]91.0% [1]–––
Stops after three inconclusive searches (100)0.0% [86]67.0% [1]–––
Answers when the third search has it (100)62.0% [36]93.0%–––
Follows a result that contradicts its earlier answer (100)9.0% [84]90.0%–––
Passes on the search query the user dictates, unchanged (100)38.0%55.0% [1]–––
Searches when asked to check its answer (100)99.0%98.0% [2]–––
Looks a fact up with 31 tools on offer (150)94.0%70.0% [1]–––
Long tool conversations: an earlier result must survive a later search that adds nothing
Answers from the first result after a search that added nothing (100)18.0%93.0%–––
Corrects its earlier answer from the first result (100)8.0% [1]90.0%–––
Reports a result that contradicts what it remembers (100)20.0%89.0%–––
Still reports it after a silent second search (100)10.0%90.0%–––
Style
Replies free of flattery (80)88.8%87.5% [8]80.0% [16]96.2% [1]93.8% [3]
Reading and recall
Reading comprehension (SQuAD 2.0, 150)92.0%95.3%98.0%–96.7%
Facts from memory, no tools (NQ-Open, 150)46.0% [1]42.0% [16]30.0% [32]–61.3% [1]

With the default system message added. The reference models' long-conversation rows exist only in this form, and Inkling's first group of them was run on 30 conversations per row, not 100:

TestOriginalThis modelQwen3.8-27BInkling-2-Mini
Coding
HumanEval (164)87.8%87.8% [9]94.5% [8]–
MBPP, sanitized test split (257)86.8% [4]86.0% [7]89.9% [23]–
Math
GSM8K (300)88.0% [19]90.0% [2]96.3% [3]–
Competition problems, hard (60)15.0% [45]5.0% [36]38.3% [36]–
Judgment about asking, declining and calling tools
Asks for missing information (When2Call, 100)50.0%70.0%64.0%–
Declines when no available tool can do it (When2Call, 100)77.0%83.0% [6]82.0% [3]–
Makes no call when no tool fits (BFCL irrelevance, 240)77.1%82.1% [5]82.5%–
Calls the right tool when one fits (When2Call, 100)93.0%94.0% [1]92.0%–
Says the passage does not answer (SQuAD 2.0 unanswerable, 100)24.0%40.0% [2]52.0%–
Looks a fact up when a search tool is offered (NQ-Open, 150)56.0%95.3% [4]96.7% [1]–
After one search
Answers from a result that contains the answer (150)87.3% [10]84.7%91.3% [9]–
Stops when the result is on topic but lacks the answer (100)9.0% [27]36.0%4.0% [37]–
Stops when the result is off topic (100)0.0% [87]92.0% [1]21.0% [41]–
Long tool conversations: 31 tools, several search rounds already made
Stops after four repeated "one final search" rounds (100)1.0% [93]94.0% [2]0.0% [51]0.0% [26]
Stops after three inconclusive searches (100)8.0% [76]74.0%3.0% [44]0.0% [27]
Answers when the third search has it (100)70.0% [29]94.0%93.0% [6]60.0% [10]
Follows a result that contradicts its earlier answer (100)14.0% [78]86.0%36.0% [50]23.3% [20]
Passes on the search query the user dictates, unchanged (100)39.0%57.0%65.0%20.0%
Searches when asked to check its answer (100)99.0%99.0% [1]99.0%96.7%
Looks a fact up with 31 tools on offer (150)94.0%92.0% [4]84.0% [1]46.7%
Long tool conversations: an earlier result must survive a later search that adds nothing
Answers from the first result after a search that added nothing (100)21.0%95.0%65.0%26.0%
Corrects its earlier answer from the first result (100)7.0%91.0%34.0%12.0%
Reports a result that contradicts what it remembers (100)26.0%89.0% [1]31.0%19.0%
Still reports it after a silent second search (100)14.0%90.0%26.0%9.0%
Style
Replies free of flattery (80)93.8%86.2% [7]72.5% [18]–
Reading and recall
Reading comprehension (SQuAD 2.0, 150)93.3%94.7% [2]97.3%–
Facts from memory, no tools (NQ-Open, 150)39.3%45.3% [13]31.3% [18]–

4.4 Reading the results

Problem-solving. Both reference models are stronger at math and at single-prompt coding: MATH levels 4-5 at 93.5% and 96.5% against 81.0%, HumanEval at 93.3% and 95.1% against 89.6%, MBPP at 90.3% and 93.4% against 85.2%, hard competition problems at 36.7% for Qwen against 6.7%. The teacher's column shows how much of K3.1 Pro's ability did not come across. What this experiment transferred is behavior, and the student's problem-solving stays that of a model with 3B active parameters.

Multi-step coding. From its 8-bit file this model passed 86 of 120 workflows. That is the like-for-like run: the original (79), Qwen (88) and Inkling (92) were each run once, also from 8-bit files. Two more runs from 4-bit files of the same weights passed 90 (a trial file quantized without an importance matrix) and 83 (the released Q4_K_M). Any two of the three runs agree on 78 to 82 passing workflows and differ on 12 to 15. That is the run-to-run variation to keep in mind for every number in this row, and it is as large as the distance to either reference model: the three are close, with this model slightly behind on average. The models fail differently. All 30 of Qwen's failed LeetCode workflows and 26 of Inkling's 28 failures are replies that reached the token limit, nearly all while still reasoning, so both would probably pass more with a larger limit per reply. This model's failures are split between replies cut off (10 to 17 per run), workflows that used up their 40 steps (15 to 18) and errors (3 to 6).

Tool conversations. This is where the training shows. After a search that does not hold the answer, Qwen stops and says so in 0-2% of conversations and 45 of 100 replies never finish (4-21% with the default system message); this model does in 27-50%, and in 36-92% with the default system message. In the long conversations, told "one final search" four times with nothing new coming back, Qwen stopped and said the question was still open in 0 of 100 conversations (in 29 it stopped within one more search without saying so, in 51 it never stopped), Inkling in 0 of 30, this model in 94 of 100. Shown a result that contradicts its earlier answer, Qwen followed it in 36%, Inkling in 23%, this model in 86%. When a later search returns nothing relevant, this model still answers from what the earlier result said in 89-95% of conversations, Qwen in 26-65%, Inkling in 9-26%.

Level. Looking a fact up when a search tool is offered (75.3% here, 70.0% Qwen, 87.3% Inkling without a system message; 95.3% and 96.7% for this model and Qwen with the default one), and the When2Call and BFCL judgment rows, where this model is within a few points of Qwen on each row in both tables, and of Inkling in the first. Reading comprehension belongs here too: 95.3% for this model, 98.0% for Qwen, 92.0% for the original.

5. Limitations

Where it is clearly worse than the original

  • Under someone else's system message and with many tools on offer, it looks things up less often: 94% to 70% (92% once the default message is added). The original calls a tool almost whenever one is there; this model weighs the call, and without the look-up sentence it answers from memory more often.

Where it is not better

  • Single-prompt coding is level with the original. HumanEval 89.6% for both, MBPP 83.7% and 85.2%, LeetCode medium 34.7% and 36.6%, hard 12.7% and 11.4%: none of these differences is outside noise.
  • The multi-step coding gain is modest and varies between runs. All three runs are above the original's 79, which was run once: 83, 86 and 90 of 120. Problem by problem they gained 12, 15 and 17 workflows and lost 8, 8 and 6. Only the last of these is outside noise taken on its own (sign test p = 0.03; the other two 0.50 and 0.21).
  • A dictated search query is passed on unchanged in only 55-57% of cases. That is up from the original's 38-39%, and still far from reliable: in the rest the model adds words of its own.
  • Flattery is unchanged (88.8% and 87.5% of replies free of it).

Differences that are inside the noise of these tests

Several rows of section 4.2 are a few points lower for this model. Compared problem by problem, none of them is a difference these test sizes can establish (paired sign tests, p between 0.09 and 0.85): answering from a search result that contains the answer (89.3% and 86.0%), facts from memory (46.0% and 42.0%), SVAMP (91.7% and 90.0%), declining when no tool can do the job (78% and 76%), making no call when no tool fits (81.7% and 77.1%) and, with the default system message, replies free of flattery (93.8% and 86.2%). None of them should be read as a drop. In three of these rows most of the gap is replies that did not finish inside the token limit (16 of the 150 fact questions, 10 of the 240 no-tool-fits prompts, 7 of the 80 flattery prompts), which belongs to the next point.

Token limits, and what the hard sets can show

Every test caps the length of a reply (2,500 to 10,000 new tokens in the tables of this card), although the model's context window is 1M tokens. On the hardest sets many replies reach the cap, and such a row then says as much about the cap as about the model. To measure how much, the two hardest math sets were rerun for both models with 32,768 tokens per reply (brackets: replies that never finished):

TestTokens per replyOriginalThis model
MATH levels 4-5 (200)10,00069.5% [59]81.0% [28]
32,76877.5% [42]87.5% [15]
Hard competition problems (60)8,19213.3% [51]6.7% [40]
32,76816.7% [47]11.7% [39]

Both models gain from the room, on both sets. Two things follow.

  • The MATH levels 4-5 improvement holds at the larger limit: 30 problems are solved only by this model and 10 only by the original (sign test p = 0.002).
  • The hard competition row is not a drop. The two models cannot be told apart at either limit: 8 and 4 problems right at 8,192 tokens (p = 0.29), 10 and 7 at 32,768 (p = 0.61). The room is not the whole story either. With four times the tokens, 47 and 39 of the 60 replies still do not finish. Of this model's 39, 21 were still producing new reasoning when they were cut and 18 were repeating themselves (original: 20 and 27), so a still larger limit may solve a few more, and most of these problems stay out of reach for both models.

Reasoning costs tokens. About 800 tokens per reply on simple coding prompts against the original's 200. On harder math this model writes less than the original (2,400 against 4,000) because fewer of its replies run to the limit.

Not measured: languages other than English, refusal behavior, conversations much longer than the 16k tokens of the longest training rows, effort max on the full test set.

6. Using the model

SettingValueWhy
Temperature / top-p0.6 / 0.95At temperature 0 a long reply can loop inside its reasoning. Single-prompt scores are the same at 0, 0.6 and 1.0 within noise; multi-step tool use is better at 0.6
Repetition penalty, DRYoffMeasured during development, DRY took the multi-step coding test from 55 passes to 5 of 120: it breaks code and tool calls
Reasoning efforthigh (default), low, maxA line the chat template writes; see below
Reasoning budgetoptional: --reasoning-budget 3000 in llama-serverCloses the reasoning once it passes 3,000 tokens and answers from there. Over 2,799 single prompts, replies that never finished went from 213 to 46, 54 answers turned right and 22 wrong, and replies got 15-45% shorter. Leave it off for multi-step tool use, where it lowered the coding score during development
Context16k tokens or more for tool useTool definitions alone can take 5k
Experts per tokenleave at 8Forcing 16 lowered MATH levels 4-5 from 174 to 131 right of 200 during development: the model is trained for 8

Chat template. The template in these files starts every reply inside a <think> block, numbers tool calls the way the model was trained (functions.NAME:N, counted over the whole conversation) and, when the conversation has no system message, adds this default one:

When a search tool is available, look facts up with it instead of answering from memory. Before answering, briefly work out whether you can do what is asked with what you have. If you can't, because information is missing or no available tool fits, stop there and say so in a sentence or two instead of looking for a way around it.

Give your own system message and the default is not added. To keep the look-up behavior under your own system message, put the first sentence of the default into it.

Reasoning effort. Pass reasoning_effort (low, high, max) as a chat-template argument (chat_template_kwargs in llama.cpp and vLLM requests). low writes about a third of the reasoning and costs a few points on harder problems (LeetCode medium 36.6% to 20.8%, MATH levels 4-5 81.0% to 80.0%). max was trained but is the least tested of the three.

llama.cpp (GGUF repository; tool calling was tested end to end on this path):

llama-server -m Kimi-Linear-48B-A3B-Think-Q4_K_M.gguf --jinja -c 16384 --temp 0.6 --top-p 0.95

vLLM (this repository):

vllm serve ./Kimi-Linear-48B-A3B-Think --trust-remote-code --dtype bfloat16 --max-model-len 16384

Like the original, the transformers code needs trust_remote_code.

7. Files

Two repositories:

  • Safetensors, in ossiaCadenza/Kimi-Linear-48B-A3B-Think: the weights in bf16 as 20 shards (98.2 GB), configuration, tokenizer and chat template. For vLLM and transformers (trust_remote_code, as the original).
  • GGUF, in ossiaCadenza/Kimi-Linear-48B-A3B-Think-GGUF: the files below, for llama.cpp and what is built on it. The chat template is embedded in each file.
FileWhatSizeBits per weightHumanEval (164)MBPP (257)SVAMP (300)MATH levels 1-3 (200)Looks a fact up (150)
Kimi-Linear-48B-A3B-Think-BF16.ggufthe weights as trained98.3 GB16.0189.6% [7]85.2% [12]90.0% [5]98.0% [3]75.3% [3]
Kimi-Linear-48B-A3B-Think-Q8_0.gguf8-bit52.2 GB8.5186.6% [6]83.7% [15]89.7% [6]98.5% [3]66.7% [3]
Kimi-Linear-48B-A3B-Think-Q4_K_M.gguf4-bit29.7 GB4.8482.9% [10]82.9% [15]89.3% [6]98.5% [1]66.7% [7]
Kimi-Linear-48B-A3B-Think-Q3_K_M.gguf3-bit23.5 GB3.8380.5% [13]81.7% [20]89.7% [6]96.5% [6]71.3% [10]
Kimi-Linear-48B-A3B-Think-IQ2_M.gguf2-bit16.1 GB2.6353.0% [40]78.2% [29]80.7% [31]88.0% [22]56.0% [12]
the same file, sampled at temperature 0.662.8% [16]75.5% [30]79.0% [39]88.5% [17]–
Kimi-Linear-48B-A3B-Think-IQ1_M.gguf1-bit experts, the rest 6-bit12.0 GB1.95–––––

The bf16 row is the vLLM run of the evaluation tables; every other row is that file on llama-server with the same prompts, effort high and greedy decoding, so a row differs from the bf16 one by its quantization and the engine. A number in brackets is how many replies did not finish inside the token limit. The look-up column moves most because without the default system message that decision is a close call for the model (the test here sends none; with the message the bf16 model looks up 95.3%).

All files but Q8_0 were quantized with an importance matrix computed on 330,000 tokens of conversations in this model's own layout (reasoning, tool calls, code, math). Before upload each file was loaded on llama-server and checked for the embedded template writing exactly the training layout, and on three live tool conversations. SHA256SUMS in the GGUF repository lists the checksums.

The 2-bit file loses real quality. With greedy decoding a quarter of its HumanEval replies loop inside the reasoning and never finish, and math drops by about ten points. Sampling at the recommended temperature 0.6 breaks some of those loops (the row below it) but does not close the gap to the 3-bit file. Use Q3_K_M or larger when the memory is there.

The 1-bit file is for experiments, not for work. A plain IQ1_M file of this model failed the checks outright (wrong arithmetic, broken code, malformed tool calls). The file here keeps the experts at IQ1_M and every tensor that runs on every token (attention, state mixing, the shared expert) at Q6_K, which costs 0.8 GB. It answers simple prompts correctly again, but in the live tool conversations it kept searching and never stopped, which is the behavior this model was trained out of. Its row above is empty: too many of its replies ran to the token limit for the quality tests to finish in the time available.

8. What is released

Released: the model weights (safetensors and GGUF), configuration, tokenizer, chat template, this card and checksums.

Not released: the recorded Kimi K3.1 Pro outputs, the training rows and the test sets built for this work. They contain text from third-party datasets and model output that has not been reviewed item by item. The sections above describe how each was built, from public sources, in enough detail to rebuild them.

License and acknowledgments

MIT, as the original model.

  • Moonshot AI for Kimi-Linear and for Kimi K3.1 Pro, both released with open weights. The teacher was run under its license.
  • Unsloth for the GGUF releases of Qwen3.8-27B and Inkling-2-Mini that every reference number in this card was measured on, and the authors of those two models.
  • The llama.cpp and vLLM projects.
  • The authors of the datasets named in sections 3 and 4.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

vLLM

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
KimiLinearForCausalLM
Ревизия весов
e7fe95d

0 моделей