mirror of
https://github.com/zenlm/models.git
synced 2026-10-30 14:59:18 +00:00
main
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's dts build cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. 0 diagnostics before and after. tsup injects its own baseUrl into the compilerOptions it hands the dts build, which typescript 6 errors on (TS5101), so the dts build needs ignoreDeprecations: "6.0" in the tsconfig. Without it `build` fails. Co-authored-by: Hanzo Dev <[email protected]>
@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.
Languages
TypeScript
100%