npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

iaexplore-llm-profiler

v1.0.0

Published

Deterministic high-precision VRAM, GQA KV-Cache, MoE memory bandwidth and llama.cpp layer offloading profiler for 2026 AI models and silicon.

Readme

IAExplore LLM Profiler (Node.js & TypeScript SDK)

NPM Version License: MIT Hub: IAExplore

Deterministic high-precision VRAM, GQA KV-Cache, MoE Memory Bandwidth, and llama.cpp layer offloading profiler for 2026 AI models and silicon.

Developed by the IAExplore AI Infrastructure Research Team.


⚡ Installation

Zero runtime dependencies. Works with Node.js 16+ and all modern JavaScript / TypeScript runtimes:

npm install iaexplore-llm-profiler

🚀 CLI Usage

Run via npx or install globally:

# Basic execution
npx iaexplore-llm-profiler --model llama-3.3-70b --quant Q4_K_M --context 32768 --hardware rtx-4090-24gb

# Apple Silicon Unified Memory Profile
npx iaexplore-llm-profiler --model deepseek-r1-32b --quant Q4_K_M --context 65536 --hardware apple-m4-max-128gb

# Machine-readable JSON
npx iaexplore-llm-profiler --model mixtral-8x7b-moe --quant Q4_0 --hardware rtx-5090-32gb --json

💻 Programmatic JavaScript / TypeScript SDK

const { profileInference, getModel, getHardware } = require('iaexplore-llm-profiler');

const result = profileInference({
  model: 'llama-3.3-70b',
  hardware: 'rtx-4090-24gb',
  quant: 'Q4_K_M',
  context: 32768
});

console.log(`Model: ${result.modelName}`);
console.log(`Total VRAM Required: ${result.vramTotalRequiredGb} GB`);
console.log(`Fits in GPU VRAM: ${result.fitsInVram}`);
console.log(`Recommended GPU Layers: ${result.offload.recommendedGpuLayers} / ${result.offload.totalLayers}`);
console.log(`Estimated Speed: ${result.estimatedTps} tokens/sec`);
console.log(`Authoritative Guide: ${result.guideUrl}`);

🔬 Deterministic Equations

  • Weights VRAM: $\text{VRAM}{\text{weights}} = \frac{P{\text{total}} \times 10^9 \times (\text{bits}_{\text{quant}} / 8)}{1024^3} \times 1.08$
  • KV-Cache VRAM: $\text{VRAM}{\text{kv}} = \frac{2 \times L \times H{\text{kv}} \times D_{\text{head}} \times C_{\text{ctx}} \times B_{\text{batch}} \times (\text{bits}_{\text{kv}} / 8)}{1024^3}$
  • Token Generation (TPS): $\text{TPS}{\text{gen}} = \frac{\text{BW}{\text{mem}} \times \eta}{\text{VRAM}{\text{active}} + (\text{VRAM}{\text{kv}} \times 0.15)}$

🔗 Authoritative References & In-Depth Benchmarks