FreeToken: open-source software to run big AI models on company computers
ShiniFrontiers · Source: FlashML
What problem does it solve?
FreeToken is free, open-source software that runs a large AI model on a company's own computer. It was built by researchers at UC Berkeley and the University of Texas.
A. Claude Code without sending code out — for developers and technical leads
Problem: Claude Code is an AI coding assistant that, out of the box, uses Anthropic's Claude model on Anthropic's servers. So the company's code leaves the building, and every request is paid for.
What it does: Claude Code can use a different AI model, such as Qwen. FreeToken runs that model on a company computer and switches Claude Code over to it with one command. The code stays inside, with no fee per request.
Note: Answers are only as good as the free model chosen; Claude itself is not one of FreeToken's models.
B. A big AI model on an ordinary PC — for heads of IT
Problem: The best free AI models are too large for a normal computer's graphics card. So companies settle for smaller, weaker models or pay for cloud servers.
What it does: FreeToken keeps the model in the computer's main memory and moves only the pieces it needs to the graphics card. This lets a gaming PC run a much bigger model.
Note: Big models still need 180 GB or more of main memory, so start with a mid-sized model, which ran on a laptop with 32 GB.
an AI tool that reads, runs and changes code on a developer's behalf
An AI coding assistant, also called a coding agent, is an AI assistant that works inside a codebase. It reads files, runs commands and tests, and edits code to finish a task the developer describes. Each step is a request to an AI model, so one task can mean many requests. Well-known examples include Claude Code and Codex.
THINK OF IT ASA junior developer who works through a ticket on their own, checking in only with the finished change.
Read the lesson →A program that has learned patterns from examples, so it can make predictions on new input.
An AI model is software that learned a skill from many examples instead of being given step-by-step rules. Shown millions of emails marked spam or not spam, it learns the patterns that separate them. Afterwards it can judge a new email it has never seen. The model itself is a large file of numbers that captures those learned patterns.
THINK OF IT ASLike an apprentice who has watched thousands of repairs. Nobody wrote them a rulebook, but they can now look at a new fault and make a good guess.
Read the lesson →See the difference
| The job | Today | With FreeToken |
|---|---|---|
| Claude Code without sending code outA developer asks Claude Code to fix a bug | The code goes to Anthropic, and the request is paid for | The code stays on a company computer, with no fee |
| Claude Code without sending code outA long coding task with many steps | Other local tools took over 2.5 minutes on some steps | Every step started within 44 seconds |
| A big AI model on an ordinary PCAn engineer has a gaming laptop | Only small, weak models fit | A mid-sized model runs, faster than a typical cloud assistant |
| A big AI model on an ordinary PCThe company wants one of the biggest free models | It needs data-centre servers or the cloud | It runs on one workstation computer |
Examples based on the makers' own tests. A typical cloud assistant writes 33 tokens a second, the figure the paper cites for Codex.
- What it saves
Fees per request for AI coding, with the code kept inside.
- What it costs
The software is free. It needs an NVIDIA graphics card, enough main memory, and a developer to set it up.
- How ready
- Working in the real world
Ready to install, with a desktop app. The speed figures are the makers' own and not yet checked by anyone else.
Join free to unlock: how it works, a step-by-step setup with its costs, what you gain, and where it falls short, for every Friday idea.
Join free to read it all →