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

llm-mini-bench

v0.1.0

Published

A standalone model evaluation workspace with an optional Magpie integration.

Readme

LLM Mini Bench

English

用较少的题目和费用,快速了解一个语言模型的能力。

跑 12 道针对性题目,横向对比不同模型、账号和 Thinking 设置,同时保留完整回答、工具轨迹与估算费用。支持在 Magpie 中作为插件使用,也可独立运行。

测什么

| 维度 | 题目内容(共 12 题) | | --- | --- | | 知识 | HTTP 条件缓存优先级、IEEE 754 浮点与 SQL 三值逻辑 | | 推理 | 上下文代数同态归纳、上下文守恒律与状态追踪 | | 代码语义 | 异步生成器 finally 覆盖、MVCC 保存点与可串行化快照 | | 材料整合 | 多轨审计对账、紧预算条件文档核查 | | 指令遵从 | 多代理 DAG 调度规则、多义词上下文翻译核查 | | 工具操作 | 自适应故障诊断、委托授权释放 |

题库刻意保持小规模,用于快速初筛而非综合排行榜。所有题目均通过固定工具提交答案并只作数据处理,绝不执行模型代码,也不触碰外部系统。

在 Magpie 中开始

在 Magpie 的插件页面,任选以下一种来源安装:

  • npm:npm:llm-mini-bench
  • GitHub:github:FibonaAI/llm-mini-bench

安装后打开模型评测即可使用。Magpie 会自动管理运行环境、连接本地服务并加载模型目录,无需手动配置端口或 token。

跑一次对照

  1. 打开任务,选择一个或多个模型与 Thinking 设置。
  2. 快速初测可选 1 轮(12 个样本),观察稳定性可保留默认的 3 轮(36 个样本)。
  3. 确认样本数与超时设置,点击开始评测。
  4. 打开分析,对照得分与费用、token 或耗时,点击数据点查看逐题回答与调用详情。

随时可以取消单个运行或整个任务,也可以在任务记录中手动重试失败、超时、已中断或已取消的样本(已完成结果保留不重跑)。如需指定本机账号而非自动分配,见账号绑定。

怎么看结果

图表将全部 12 题的等权均分(百分制)与每轮估算费用、总 token 或耗时对照展示。圆点表示普通运行、方块表示基线,实心为最新、空心为历史。

  • 入图条件:仅完整覆盖 12 题及全部计划轮次的运行会入图。API 失败不补零;含超时或用量不完整的记录会标注异常角标,不参与帕累托前沿。
  • 可比性:对照时请保持题库与执行设置一致。账号和模型标签仅反映请求路由,不代表已独立核验的上游身份。
  • 基线:工作区初始为空,可将完整且可评分的运行保存为基线,用于后续对照。

图表交互、判分细节、重试策略与命令行用法,见题目与评分说明和执行指南。

不通过 Magpie 使用

需要 Bun 1.4.0 及以上版本。拉取仓库并配置上游路由后启动服务:

git clone https://github.com/FibonaAI/llm-mini-bench.git
cd llm-mini-bench
export MAGPIE_BENCH_TOKEN="$(openssl rand -hex 32)"
bun benchmark/bench.ts serve

在浏览器打开 http://127.0.0.1:3481/#token=YOUR_TOKEN(替换为你的 MAGPIE_BENCH_TOKEN)。启动服务本身不会发起任何模型请求。

费用与隐私

  • 计费与上限:模型请求可能收费,界面费用仅为估算而非账单;新任务只设单题总超时(默认 600 秒)。
  • 隐私:题目与回答会经由所选上游发送;个人记录(含完整对话与工具轨迹)默认保存在 ~/.local/share/magpie-mini-bench/,分享前请先检查。
  • 安全:服务仅监听本机 loopback,不要暴露端口或泄露认证 token。

更多文档见文档索引。