All repositoriesAAPL / Private community AI
Local Intelligence.
Estimate model weight and KV-cache memory for a local community assistant. Compare context lengths and quantization choices before selecting devices.
INSIDE THE REPOSITORY
A complete place to start.
- Weight and KV cache accounting
- Context sensitivity table
- Device memory headroom
- Exact token contract and pair inspection
- Bounded ERC-20 transfer activity explorer
- Local community funding scenario planner
- Evidence export with SHA-256 verification
- Nine automated checks and GitHub CI
- MIT license, method, architecture and API docs
Run locally
npm test npm start
Open localhost:3000. The technology runs with no API key. Live chain and DNS reads use public providers.
Deploy in your account
Extract the archive and upload its contents to a GitHub repository you control. Import that repository into Vercel, or run npx vercel --prod in the extracted folder. The included configuration sets the output directory and tests.
Return to the Deploy studio to publish your project, token pair and repository on the public build board.
29 SOURCE FILES / V1.0.0
Inspect everything.
.env.example.github/workflows/check.yml.gitignoreLICENSEREADME.mdSECURITY.mdapi/activity.mjsapi/dns.mjsapi/health.mjsapi/token.mjsdev.mjsdocs/API.mddocs/ARCHITECTURE.mddocs/METHOD.mdexamples/inputs.jsonpackage.jsonpublic/app.mjspublic/config.mjspublic/core/engine.mjspublic/core/math.mjspublic/favicon.svgpublic/index.htmlpublic/styles.cssserver/api.mjsserver/handler.mjstests/api.test.mjstests/engine.test.mjstools/verify-evidence.mjsvercel.jsonThis download contains only this standalone project. It includes no account credentials.
METHOD
What it calculates.
Weights = parameters·bits/8. KV bytes = 2·layers·KV heads·head dimension·context·bytes per element·concurrent sessions. Runtime overhead is supplied explicitly.
LIMITS
What the evidence means.
A memory model, not a model download, Apple benchmark or performance guarantee. GQA configuration must match the actual model.
The funding planner does not transfer tokens or route rewards. Deploying this repository does not imply company endorsement or investment value.
Inputs you control.
| Input | Type | Units |
|---|---|---|
| Parameters | Bounded number | billion |
| Weight precision | Bounded number | bits |
| Layers | Bounded number | — |
| KV heads | Bounded number | — |
| Head dimension | Bounded number | — |
| Context tokens | Bounded number | — |
| Concurrent sessions | Bounded number | — |
| Usable device memory | Bounded number | GB |
| Runtime overhead | Bounded number | GB |
