Home / TokenGate
token-gate-llms/TokenGate
Process all your context faster with LLMs that can skim and selectively read what matters
PythonCategories: Coding agents
Our summary
TokenGate is a drop-in neural network component that extends existing trained language models with learnable token selection. A gate module at an early layer scores context tokens and keeps the top-K, so that only the kept tokens are processed by the layers above it. The project reports up to 11.3x faster prefill and 3.4x lower memory with no accuracy loss.
Who it is for: Researchers and developers who want faster prefill on long-context language model inputs
What the README claims
- Reports up to 11.3x faster prefill with 3.4x lower memory at no accuracy degradation
up to **11.3x faster** prefill with **3.4x lower memory** at **no accuracy degradation**
Not checked - Keeps only the top-K scored context tokens for processing above the gate layer
keeps the top-*K*. The layers above *L* process only
Not checked - Trains with standard PEFT-style recipes using a config object and trainer
Training with TokenGate is as simple and efficient as standard PEFT training.
Too broad to verify - Runs on Python 3.10 or later with CUDA PyTorch 2.9 or later
Python ≥ 3.10, CUDA PyTorch ≥ 2.9
Not checked - Released checkpoints for Qwen3 and Qwen3.5 models on Hugging Face
liana313/tokengate-niah-qwen3-1.7b
Not checked
Written by AI from the project's README on 2026-11-14. It does not affect the verdict.
Watching: no other rule matched yet.
7-day star gain 1, down from 3 the week before.
Gaining 1 stars this week. Last push 1 day ago.
Verdict
REAL scored 51m ago
- Hype
- 80
- Reality
- 65
- Hype Gap
- +16
- Momentum
- -
- Confidence
- 60%
- Responsive moves Reality +8 points.
- Maintained moves Reality -2 points.
Rule verdict-2.0, scoring score-2.0. How we score. Backtest.
Repository on GitHub Project homepage
Maintained by
Maintained by 1 primary developer, 3 external contributors in the last 90 days.
- token-gate-llms is a GitHub organization.
- GitHub account created October 2026.
- Top contributors by commits: liana313 57%, luis-gasparschroeder 32%, cesiumstaar 8%.
Why now 1% of its stars arrived in the last 7 days. No Hacker News posts in the last 7 days.
- Stars StarsThe number of GitHub stars on the repository at our latest reading.
- 118
- Gain 7d Gain 7dStars gained since our latest reading from at least 7 days ago.
- +1
- Pace Velocity (Nx usual pace)This week's star gain divided by the project's usual weekly gain. The usual gain is the average weekly gain over the 4 weeks before (days 8 to 35 ago), counted as at least 10 stars. 2.0x means twice the usual pace. Without a reading from 35 days ago, the ranking assumes 2% of the stars the project had 7 days ago as its usual weekly gain. More on the methodology page
- 0.1x
- HN points HN pointsHacker News points added up across posts that mention the project, published in the last 7 days.
- 0 7 days
- Downloads DownloadsDownloads per day of the project's package, as the registry (npm or PyPI) reports them.
- n/a
- Contributors Contributors, all timePeople and anonymous contributors who have ever committed to the repository, as GitHub counts them. A small number is context, not a flaw: many solid projects are kept by one or two people.
- 4
- Last release Latest releaseDays since the latest GitHub release was published.
- 31 days ago
Gain 24h Gain 24hStars gained since our latest reading from at least 24 hours ago. 0. Forks ForksThe number of GitHub forks of the repository at our latest reading. 8. Open issues Open issuesThe number of open issues on the repository at our latest reading, as GitHub counts them. 1. Days since push Days since pushDays since the last push to the repository. 1 day. Archived ArchivedWhether the owner has archived the repository on GitHub. An archived repository is read-only. no. Hacker News posts in 7 days Hacker News postsThe number of Hacker News posts that mention the project, published in the last 7 days.: 0. Watchers WatchersThe number of GitHub users watching the repository for notifications, at our latest reading. 0.
Facts
- License
- Apache-2.0 source, checked 20 Nov 2026
- Language
- Python source, checked 20 Nov 2026
- Homepage
- https://arxiv.org/abs/2610.26754 source, checked 20 Nov 2026
- Last release
- v0.1.0, 21 Oct 2026 source, checked 20 Nov 2026
- Releases
- 1 source, checked 20 Nov 2026
- Contributors
- 4 source, checked 20 Nov 2026
- Archived
- no source, checked 20 Nov 2026
Nerd stuff
Python
- Stack
- PyTorch >=2.9 (detected), Transformers >=5.5,<6 (detected)
- Runs on
- Python >=3.10 (detected)
- Docs
- examples/ folder (detected)
- License
- Apache-2.0 (detected)
- Package ecosystem
- Python packaging (detected)
The Receipts
| Source | Evidence | Date |
|---|---|---|
| Hacker News | Thread, 1 points, 1 comments | 26 Oct 2026 |
| Newsletter or feed | [AINews] Anthropic ends Coding Interviews: "Hunger beats tenure" | 28 Oct 2026 |
What changed recently
GitHub release dates we stored. We do not track license changes yet.
Cite this
TokenGate is a GitHub project at https://github.com/token-gate-llms/TokenGate written mainly in Python, described there as "Process all your context faster with LLMs that can skim and selectively read what matters".
Source: https://midorreal.com/project/token-gate-llms-tokengate, checked 22 November 2026. The same facts as JSON: /project/token-gate-llms-tokengate.json.
Rank history
Peak day: +4 stars on 30 Oct 2026, 23 days ago.
Stars
Events in this window
- Feed mention: [AINews] Anthropic ends Coding Interviews: "Hunger beats tenure"
- Hacker News post, 1 points
Dated items we stored, last 30 days. They sit near the chart, they do not explain it.
Packages
- We checked npm, PyPI, Docker Hub, crates.io and Homebrew and found no package that links to this repository.
Signals
| Source | What we measured | Checked |
|---|---|---|
| GitHub | 118 stars, 1 gained in 7 days | 17 Nov 2026 |
| Hacker News | 1 post stored, 0 points in the last 7 days | 2 Nov 2026 |
| Feed mentions | 1 mention in tracked newsletters and blogs | 28 Oct 2026 |
| npm | No linked package found | - |
| PyPI | No linked package found | - |
| Docker Hub | No linked package found | - |
| crates.io | No linked package found | - |
| Homebrew | No linked package found | - |
| deps.dev | Not tracked yet | - |
| Hugging Face | Not tracked yet | - |
| Bluesky | Not tracked yet | - |
| Stack Exchange | Not tracked yet | - |
| YouTube | Not tracked yet | - |
Attention vs adoption
Attention: above 25% of tracked projects
Star velocity against all tracked projects
Adoption: not enough data to rank
Downloads, dependents and pulls
Not enough comparable data yet to set attention against adoption. This describes the numbers; it is not a verdict.
Compared with Coding agents
| Measure | This project | Category median |
|---|---|---|
| Star velocity | 0.1 | 0.4 |
| Days since release | 30.9 | 4.5 |
| Contributors, all time | 4 | 2 |
| Median time to first reply on issues | 5 hours | 14 hours |
| Commits in the last 30 days | 63 | 48 |
Star velocity: above 32% of Coding agents projects
Days since release: above 89% of Coding agents projects
Contributors, all time: above 57% of Coding agents projects
Median time to first reply on issues: above 30% of Coding agents projects
Commits in the last 30 days: above 62% of Coding agents projects
Compared with the project's first category only. A percentile line appears only where at least 30 projects in the category have the measure. This describes the numbers; it is not a verdict.
Compare with
Hacker News
| Post | Points PointsThe points the post has on Hacker News. | Comments CommentsThe number of comments on the post on Hacker News. | Date |
|---|---|---|---|
| Hacker News post | 1 | 1 | 26 Oct 2026 |
Repo health
- Languages LanguagesShare of the repository's code by bytes, as GitHub's language detection reports it. The five biggest languages are named and the rest are grouped as Other.Python 94%, Shell 6%
- License LicenseThe SPDX license id GitHub detects, and a class: Open source (OSI) if the license is on the Open Source Initiative approved list, Source-available if the code is readable but the license limits use, Unclear if GitHub cannot match a known license, No license detected if it finds none. A public repository without a license is not open source.Apache-2.0, Open source (OSI)
- Repository age Repository ageTime since the repository was created on GitHub. This is the repository, not necessarily the project, which may have existed elsewhere before.33 days, created 19 Oct 2026
- Release dates Release datesThe date of the first and the latest GitHub release, and the latest release tag. Projects that ship without GitHub releases show none.First release 21 Oct 2026, current version v0.1.0 (21 Oct 2026)
Development
- Commits in the last 7 days Commits in the last 7 daysCommits to the repository in the last 7 days, as GitHub counts them.8
- Commits in the last 30 days Commits in the last 30 daysCommits to the repository in the last 30 days, as GitHub counts them.63
- Commits in the last 90 days Commits in the last 90 daysCommits to the repository in the last 90 days, as GitHub counts them.72
- Contributors, all time Contributors, all timePeople and anonymous contributors who have ever committed to the repository, as GitHub counts them. A small number is context, not a flaw: many solid projects are kept by one or two people.4
- Releases ReleasesThe number of GitHub releases, and how many days ago the latest one was published.1, latest release 31 days ago
- Releases in the last 90 days Releases in the last 90 daysHow many GitHub releases were published in the last 90 days.1
- Issues in the last 30 days Issues in the last 30 daysIssues opened and issues closed in the last 30 days, as GitHub search counts them.0 opened, 0 closed
- Pull requests merged in the last 30 days Pull requests merged in the last 30 daysPull requests merged in the last 30 days, as GitHub search counts them.7
Maintenance
- Median time to first reply on issues Median time to first reply on issuesMedian time between an issue being opened and the first comment from someone other than its author, over a sample of the last 30 closed issues. Issues with no reply are left out of the median and counted separately.5 hours
- Median time to close issues Median time to close issuesMedian time from opening to closing, over a sample of the last 30 closed issues.5 hours
- Sampled issues with no reply Sampled issues with no replyHow many of the sampled closed issues never got a comment from someone other than their author.0 of 1
- Stale open issues Stale open issuesOpen issues with no update in the last 90 days, as GitHub search counts them.0
- Open pull requests Open pull requestsPull requests open now, as GitHub search counts them.1
Hygiene
- Automated tests or builds (CI) Automated tests or builds (CI)Whether the repository has at least one GitHub Actions workflow file in .github/workflows.Yes
- A tests folder A tests folderWhether the repository has a top-level folder named tests, test, __tests__ or spec.Yes
- A license A licenseWhether GitHub detects a license file in the repository.Yes
- Contributing guide Contributing guideWhether the repository has a contributing guide.Yes
- Code of conduct Code of conductWhether GitHub finds a code of conduct in the repository.No
- CODEOWNERS file CODEOWNERS fileWhether the repository has a CODEOWNERS file, which names who reviews changes to which files.No
- A Dockerfile A DockerfileWhether the repository has a Dockerfile at its top level.No
Security
- Security policy Security policyWhether the repository has a SECURITY.md or SECURITY.rst file.Yes
- Unpatched high or critical advisories Unpatched high or critical advisoriesPublished GitHub security advisories rated high or critical on this repository that list a vulnerable version with no patched version.0
- Signed latest release Signed latest releaseWhether the latest GitHub release has an attached signature file (.sig, .asc or .sigstore).No
Badge
For maintainers: one measured fact, no verdict.
Markdown
[](https://midorreal.com/project/token-gate-llms-tokengate)
HTML
<a href="https://midorreal.com/project/token-gate-llms-tokengate"><img src="https://midorreal.com/badge/token-gate-llms-tokengate.svg" alt="Mid or Real"></a>
Verdict badge: It shows the verdict as this page shows it today.
Markdown
[](https://midorreal.com/project/token-gate-llms-tokengate)
HTML
<a href="https://midorreal.com/project/token-gate-llms-tokengate"><img src="https://midorreal.com/badge/token-gate-llms-tokengate.svg?style=verdict" alt="Mid or Real: REAL"></a>
Passport
Copy these facts into a post, a README or a page. Cite as "Source: Mid or Real". Full record: JSON.
First tracked 28 Oct 2026 at 97 stars.
- GitHub data 34 h old
- Hacker News data 20 d old
Is this your project? Claim it
Figures by method 1.0