> ## Documentation Index
> Fetch the complete documentation index at: https://docs.asklethe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex CLI

> Add LETHE as a model provider in Codex CLI's config.toml.

```toml config.toml theme={null}
[model_providers.lethe]
name = "LETHE"
base_url = "https://asklethe.ai/v1"
env_key = "LETHE_API_KEY"

model = "lethe"
model_provider = "lethe"
```

Set `LETHE_API_KEY` in your environment. See [Authentication](/api-reference/authentication) for how to get one. This routes Codex CLI through LETHE's OpenAI-compatible [Chat Completions](/api-reference/chat-completions) endpoint.
