BaseModel is an open-source AI model intelligence platform. It discovers, validates, normalizes, stores, analyzes, and publishes structured knowledge about AI models.
BaseModel is not an inference runtime, model host, chatbot, coding assistant, or end-user application. It is the data layer that other systems consume.
packages/schema- Canonical Zod schemas and TypeScript types.packages/registry- Registry storage, validation, and merge utilities.packages/collectors- Provider and gateway collectors.packages/intelligence- Derived rankings, search, and recommendations.packages/publisher- Dataset generation fordist/.packages/cli- Command-line interface for querying intelligence.packages/mcp- Model Context Protocol server for agent-native access.
Canonical records live in data/registry/. Generated datasets are written to
dist/ and include:
providers.jsonmodels.jsoncapabilities.jsonlicenses.jsonapis.jsonbenchmarks.jsonpricing.jsonintelligence.jsonv2/models.json,v2/offerings.json,v2/intelligence.json,v2/models.csv— canonical models vs per-provider offerings with benchmark quality scores and the Pareto frontierchanges.json— change feed versus the previous snapshotmanifest.json— SHA-256 checksums for snapshot integrity
- Vision
- Philosophy
- Architecture
- Pipeline
- Data Model
- Roadmap
- Developer Access
- Gateway Plugin Security
- Model vs Offering (v2 Data Model)
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm generateUseful package-level commands:
pnpm --filter @basemodel/collectors run collectpnpm --filter @basemodel/collectors run verify packages/collectors/src/gateways/openai.tspnpm --filter @basemodel/cli dev -- best --max-cost 2— best quality per budgetpnpm --filter @basemodel/collectors reclassify -- --dry-run— repair legacy classifications