API Reference — LLM DB v2026.11.4
API Reference LLM DB v#2026.11.4 Copy Markdown View Source Modules LLMDB Fast, persistent_term-backed LLM model metadata catalog. LLMDB. Application Deprecated compatibility shim for callers that invoked start/2 directly. LLMDB. Config Configuration reading and normalization for LLMDB. LLMDB. Dotenv Deprecated compatibility facade for maintainer dotenv loading. LLMDB. Engine Pure ETL pipeline for BUILD-TIME LLM model catalog generation.
LLMDB. Enrich Lightweight, deterministic enrichment of model data. LLMDB. Enrich. AzureWireProtocol Wire protocol enrichment using Azure AI Foundry inference task metadata. LLMDB. ExecutionContract Deterministic runtime-contract enrichment for packaged provider and model data. LLMDB. Generated. ValidModalities Auto-generated module containing all valid modality atoms. LLMDB. History Read-only runtime access to generated model history artifacts.
LLMDB. History. Backfill Backfills model history by diffing committed provider snapshots across git history. LLMDB. History. Bundle Snapshot-store helpers for local history bundles. LLMDB. History. Migrator One-time migration from Git-tracked metadata history into snapshot-store artifacts. LLMDB. History. Rebuilder Rebuilds snapshot-based history artifacts from an ordered snapshot observation chain. LLMDB. LoadError Raised when lazy catalog initialization fails on the first public query.
LLMDB. Loader Handles loading and merging of packaged snapshots with runtime customization. LLMDB. Merge Precedence-aware merging with exclude handling for LLM model data. LLMDB. Model Model struct with Zoi schema validation. LLMDB. Normalize Complete normalization utilities for raw data into consistent formats. LLMDB. Packaged Provides access to the packaged base snapshot. LLMDB. Pricing Pricing pipeline for converting legacy cost data and applying provider defaults.
LLMDB. Provider Provider struct with Zoi schema validation. LLMDB. Query Query functions for selecting models by capability, architecture, and size. LLMDB. Runtime Runtime configuration compilation for consumer applications. LLMDB. Snapshot Canonical snapshot artifact helpers. LLMDB. Snapshot. Builder Builds canonical snapshot artifacts from configured sources. LLMDB. Snapshot. ReleaseStore GitHub Releases-backed snapshot artifact store.
LLMDB. Source Unified data source interface for LLMDB. LLMDB. Sources. Anthropic Remote source for Anthropic models ( https://api.anthropic.com/v1/models ). LLMDB. Sources. Google Remote source for Google Gemini models ( https://generativelanguage.googleapis.com/v1beta/models ). LLMDB. Sources. InferenceNet Public Inference.net model catalog source. LLMDB. Sources. LLMAPI Public LLM API catalog source ( https://api.llmapi.ai/v1/models ).
LLMDB. Sources. Llmfit Sidecar source for llmfit open-weight metadata. LLMDB. Sources. Local Loads model metadata from local TOML files in a directory structure. LLMDB. Sources. Meta Cached source for the Meta Model API registry. LLMDB. Sources. ModelsDev Remote source for models.dev metadata ( https://models.dev/api.json ). LLMDB. Sources. OpenAI Remote source for OpenAI models ( https://api.openai.com/v1/models ). LLMDB.
Sources. OpenRouter Remote source for OpenRouter metadata ( https://openrouter.ai/api/v1/models?output_modalities=all ). LLMDB. Sources. Superlinked Cached source for the Superlinked Inference Engine model catalog. LLMDB. Sources. XAI Remote source for xAI (Grok) models ( https://api.x.ai/v1/models ). LLMDB. Sources. Zenmux Remote source for Zenmux models ( https://zenmux.ai/api/v1/models ). LLMDB. Spec Canonical "provider:model" spec parsing and resolution.
LLMDB. Store Manages persistent_term storage for LLM model snapshots with atomic swaps. LLMDB. Validate Validation functions for providers and models using Zoi schemas. Mix Tasks mix llm_db. build Builds a canonical snapshot.json from configured sources. mix llm_db. history. backfill mix llm_db. history. check Checks whether the local installed history bundle matches the published history metadata in the snapshot store. mix llm_db. history. migrate_git Performs the one-time migration from legacy Git-tracked metadata commits into content-addressed snapshots plus snapshot-based history artifacts. mix llm_db. history. rebuild Rebuilds local history artifacts from the published snapshot observation chain, then bundles the result and optionally publishes history.tar.gz plus history-meta.json to one immutable history-latest-<generation> release. mix llm_db. history. sync Downloads the published history bundle from the snapshot store and extracts it into the local history directory. mix llm_db. install Install and configure LLM DB for use in an application. mix llm_db. models Lists all models from the LLMDB catalog with lifecycle status and aliases. mix llm_db. npm. export Exports the canonical packaged snapshot into provider shards for the NPM workspace. mix llm_db. pull Pulls latest model metadata from all configured remote sources and caches locally. mix llm_db. snapshot. build Alias for mix llm_db.build . mix llm_db. snapshot. fetch Fetches a published snapshot from GitHub Releases. mix llm_db. snapshot. publish Builds and publishes a canonical snapshot to GitHub Releases. mix llm_db. version Updates the version in mix.exs to CalVer format (YYYY.M.PATCH).