Skip to main content

Models Configuration

This reference lists the fields of models.json. See Custom Models for examples and the file location (normally ~/.atomic/agent/models.json). Add "$schema": "https://raw.githubusercontent.com/bastani-inc/atomic/main/packages/coding-agent/schemas/models.schema.json" to models.json for editor validation and completion.

Providers

Each key under providers is a provider ID. A built-in provider ID changes that provider. Any other ID adds a provider, which needs baseUrl and an api at provider or model level.

Models

Each models entry adds a model to the provider. An entry whose id matches an existing model replaces it.

Model overrides

Each modelOverrides key is the ID of a built-in or extension model. Unknown IDs are ignored. Object fields, such as cost, merge with the model’s value field by field; other fields replace it.

Input limits

See Image Input Limits.

Compatibility

compat describes verified differences from an API’s standard request and response behavior. Model values override provider values per field. The fields that apply depend on the model’s api.

openai-completions

openai-responses

Also applies to azure-openai-responses and openai-codex-responses.

anthropic-messages

bedrock-converse-stream

mistral-conversations

Atomic compatibility aliases