Skip to main content
This reference is for developers customizing providers, models, and API compatibility in models.json. It lists every supported field and default; for setup examples and file locations (normally ~/.atomic/agent/models.json), see Configure custom models. 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, and any other ID adds a provider (which needs baseUrl and an api at provider or model level). The following table lists the provider fields:

Models

Each models entry adds a model to the provider, replacing any existing model with the same id. The following table lists the model fields:

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. The following table lists the model override fields:

Input limits

See Image input limits for sizing guidance. The following table lists the inputLimits fields:

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

The following table lists the compat fields for openai-completions:

openai-responses

Also applies to azure-openai-responses and openai-codex-responses. The following table lists the compat fields for openai-responses:

anthropic-messages

The following table lists the compat fields for anthropic-messages:

bedrock-converse-stream

The following table lists the compat fields for bedrock-converse-stream:

mistral-conversations

The following table lists the compat fields for mistral-conversations:

typesafe-system-one

Also applies to cloudflare-workers-ai-system-one. The following table lists the compat fields for typesafe-system-one:

Atomic compatibility aliases

The following table lists Atomic’s compatibility field aliases: