# `Omni.Providers.Anthropic`
[🔗](https://github.com/aaronrussell/omni/blob/v1.2.1/lib/omni/providers/anthropic.ex#L1)

Provider for the Anthropic API, using the `Omni.Dialects.AnthropicMessages`
dialect.

Loaded by default. Reads the API key from the `ANTHROPIC_API_KEY` environment
variable — no configuration is needed if the variable is set.

## Configuration

Override the default API key or base URL via application config:

    config :omni, Omni.Providers.Anthropic,
      api_key: {:system, "MY_ANTHROPIC_KEY"}

Any key from the provider's `config/0` can be overridden: `:api_key`,
`:base_url`, `:headers`. See `Omni.Provider` for details.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
