usage_summary
Summarize Codex token usage and estimated API-equivalent costs for a selected period, including totals, cache hit rate, and top models and projects.
Instructions
Codex token usage and its API-equivalent dollar value for a period: totals, cache hit rate, and the top models and projects. Dollar figures are estimates at OpenAI API prices; tokens of models with no published price are counted separately.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "usage_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | today, the last 7 or 30 days, this calendar month, or all history | today |