ai-toolkit vs unsloth

ai-toolkit and unsloth share 17 technologies: FastAPI, uvicorn, Hugging Face, React, matplotlib, sentencepiece, timm, transformers, safetensors, einops, accelerate, librosa, peft, av, Pydantic, Tailwind CSS, and Lucide. Both are written in Python.

Read it as markdown

What they share and what sets them apart

ostris

ai-toolkit

The ultimate training toolkit for finetuning diffusion models

Python12.6kRead on November 10, 2026, at commit 4a7f285What is ai-toolkit built with?

Only in ai-toolkit

In common

unslothai

unsloth

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Python79.2kRead on November 9, 2026, at commit 56a96adWhat is unsloth built with?

Only in unsloth

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ai-toolkit204,162 lines written663 code files
unsloth3,998,249 lines written3,626 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.
ai-toolkit0.2% of its commits signed by AIWith Codex, Cursor, and Claude Code
unsloth1% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ai-toolkitLast push November 10, 20261,578 commits12,609 stars
unslothLast push November 9, 202613,190 commits79,233 stars
TestsThe files that test the code, and the share of code files a test imports.
ai-toolkit12 test files4.5% of its code files have a test that imports them
unsloth5,927 test files61% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ai-toolkit or unsloth?
unsloth, with 3,998,249 lines written; ai-toolkit has 204,162.

The proof: unslothai/unsloth's code at commit 56a96ad

Which has more GitHub stars, ai-toolkit or unsloth?
unsloth, with 79,233 stars; ai-toolkit has 12,609.

The proof: unslothai/unsloth on GitHub

Which has more tests, ai-toolkit or unsloth?
unsloth, with 5,927 test files; ai-toolkit has 12.

The proof: unslothai/unsloth's code at commit 56a96ad

Which was updated more recently, ai-toolkit or unsloth?
ai-toolkit: its last push was on November 10, 2026, and unsloth's on November 9, 2026.

The proof: ostris/ai-toolkit's commits on GitHub

Which has more commits signed by AI, ai-toolkit or unsloth?
unsloth: an AI signed 1% of its commits, with Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot; in ai-toolkit, 0.2%.

The proof: the commits each tool signed in unslothai/unsloth

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 →