Expand description
models.json: custom providers, models and overrides.
Mirrors the TypeBox schema in packages/coding-agent/src/core/model-config.ts in
pi v1.0.0. pi reads this file but never writes it. Provider compat options
stay raw JSON until the wire APIs that use them exist.
Structs§
- Cost
Tier - Image
Limits - Image
Resize - Input
Limits - Model
Cost - US dollars per million tokens.
- Model
Definition - Model
Options - Fields shared by model definitions and overrides.
- Model
Override - Changes to a built-in model; every field is optional.
- Models
Config - Prompt
Cache - Prompt cache retention, in seconds.
- Provider
Config - A new provider, or overrides for a built-in one.
apiKeyand header values use the same$VARand!commandforms asauth.json.