---
slug: "riccardopll-pi-openai-usage"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/riccardopll/pi-openai-usage@main/README.md"
repo: "https://github.com/riccardopll/pi-openai-usage"
source_file: "README.md"
branch: "main"
---
# pi-openai-usage

A minimal [Pi](https://pi.dev) extension that adds `/usage` for OpenAI weekly usage.

## Install

```bash
pi install npm:@riccardopll/pi-openai-usage
```

Log in to OpenAI then run:

```text
/usage
```

> The usage endpoint is used by the official Codex CLI but is not a documented public API so it may change.
