model

package
v0.68.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package model groups everything about which LLM runs, what it costs, and what it embeds. It holds no code of its own; each concern is a subpackage: catalog (the models.dev snapshot, local overrides, and the effective-model merge of provider override plus discovery over that metadata), usage (per-turn token and cost accounting), and embedding (embedding providers, indexing, and storage).

Directories

Path Synopsis
Package catalog provides the embedded and optionally synchronized models.dev provider/model directory.
Package catalog provides the embedded and optionally synchronized models.dev provider/model directory.
Package embedding turns text into vectors for semantic search.
Package embedding turns text into vectors for semantic search.
Package usage persists provider-reported LLM usage outside the turn path.
Package usage persists provider-reported LLM usage outside the turn path.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL