ktransformers vs llama_index

ktransformers and llama_index share 14 technologies: pyarrow, AIOHTTP, Rich, einops, LangChain, OpenAI, sentencepiece, tiktoken, torch, transformers, peft, datasets, nltk, and psutil. Both are written in Python.

Read it as markdown

What they share and what sets them apart

kvcache-ai

ktransformers

A Flexible Framework for Experiencing Heterogeneous LLM Inference/Fine-tune Optimizations

Python19.7kRead on November 5, 2026, at commit c987331What is ktransformers built with?

Only in ktransformers

In common

run-llama

llama_index

LlamaIndex is the document processing platform for AI

Python52.8kRead on November 5, 2026, at commit 444fdf0What is llama_index built with?

Only in llama_index

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ktransformers202,519 lines written376 code files
llama_index473,236 lines written2,055 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ktransformers2.2% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, and GitHub Copilot
llama_index0.2% of its commits signed by AIWith Claude Code, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ktransformersLast push October 28, 2026939 commits19,660 stars
llama_indexLast push November 5, 20267,963 commits52,820 stars
TestsThe files that test the code, and the share of code files a test imports.
ktransformers178 test files6.9% of its code files have a test that imports them
llama_index1,607 test files46.5% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ktransformers or llama_index?
llama_index, with 473,236 lines written; ktransformers has 202,519.

The proof: run-llama/llama_index's code at commit 444fdf0

Which has more GitHub stars, ktransformers or llama_index?
llama_index, with 52,820 stars; ktransformers has 19,660.

The proof: run-llama/llama_index on GitHub

Which has more tests, ktransformers or llama_index?
llama_index, with 1,607 test files; ktransformers has 178.

The proof: run-llama/llama_index's code at commit 444fdf0

Which was updated more recently, ktransformers or llama_index?
llama_index: its last push was on November 5, 2026, and ktransformers's on October 28, 2026.

The proof: run-llama/llama_index's commits on GitHub

Which has more commits signed by AI, ktransformers or llama_index?
ktransformers: an AI signed 2.2% of its commits, with Claude Code, Gemini CLI, Cursor, and GitHub Copilot; in llama_index, 0.2%.

The proof: the commits each tool signed in kvcache-ai/ktransformers

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →