mirror of
https://github.com/zenlm/models.git
synced 2026-10-30 14:59:18 +00:00
npm 1.0.3 was published from a working tree that never reached git. main still held the zen4-era catalog — 55 entries, a tier union of pro/ultra, params typed non-null — while every consumer resolves 1.0.3 and gets 45 entries across zen5, zen3 and the foundation line. hanzo.ai renders the published one, so the file in this repo was documentation of a catalog nobody imports, and editing it would have changed nothing anyone sees. Recovered verbatim from the sourcemaps tsup ships inside the published package, which carry the original TypeScript. types.ts is rebuilt from the emitted declarations, since a type-only module leaves no sourcesContent behind. The rebuilt allModels and families are byte-identical to the shipped artifact. Co-authored-by: Hanzo Dev <[email protected]>
1.2 KiB
1.2 KiB
@zenlm/models
The canonical Zen LM model catalog — specs, pricing, and families for the complete Zen model family.
Install
npm install @zenlm/models
Usage
import { allModels, families } from '@zenlm/models'
import type { ZenModel } from '@zenlm/models'
// Get all available models
const available = allModels.filter(m => m.status === 'available')
// Find a specific model
const zen5 = allModels.find(m => m.id === 'zen5')
// Browse by family
console.log(families.map(f => f.name))
API
allModels: ZenModel[]
Every Zen model, in one array.
families: ModelFamily[]
Model families grouped by generation and capability.
Types
ZenModel— complete model definitionModelSpec— architecture and parameter specModelPricing— input/output cost per 1M tokensModelStatus—available(open weights on HuggingFace) orcloud-only(served via API)
Links
Each entry carries up to three: huggingface (weights), github (code), paper
(technical report). A link is present only when it resolves; anything unpublished
is null rather than a guess.