# @metolab/pi-auth-server

Pi package that keeps Pi's built-in `openai-codex` models and routes their transport/authentication through [metolab/pi-auth-server](https://github.com/metolab/pi-auth-server).

See the repository [README](https://github.com/metolab/pi-auth-server#pi-客户端) for installation and configuration. The package is public on npm and requires no registry configuration or npm token to install.

```bash
pi install npm:@metolab/pi-auth-server
export PI_AUTH_SERVER_URL=https://auth.example.com
export PI_AUTH_SERVER_TOKEN=pi_as_xxx
pi --model openai-codex/gpt-5.4
```
