# `LLMProxy.ProviderUsage.Source`
[🔗](https://github.com/elixir-vibe/llm_proxy/blob/v0.3.1/lib/llm_proxy/provider_usage/source.ex#L1)

Resolves provider-token records to qualified live usage sources.

Codex is a built-in source. GLM sources come from named providers that use a
Z.AI adapter or explicitly set `usage_adapter: "glm"`.

# `t`

```elixir
@type t() :: %LLMProxy.ProviderUsage.Source{
  account_label: String.t(),
  adapter: module(),
  auth_scheme: :raw | :bearer | nil,
  base_url: String.t() | nil,
  config_error: String.t() | nil,
  provider_label: String.t(),
  stored_token: LLMProxy.Schemas.ProviderToken.t(),
  token_id: integer(),
  usage_paths: [String.t()]
}
```

# `accounts`

```elixir
@spec accounts() :: [t()]
```

# `supported_account?`

```elixir
@spec supported_account?(integer()) :: boolean()
```

---

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