openai.* slots
2 slots, each with its own page and JSON declaration. See how this reference is built.
| Slot | Description |
|---|---|
openai.tokenize |
Counts how many OpenAI tokens the given text consumes; useful for estimating cost or staying under context limits. Pass [model] to count with that model’s exact encoding - defaults to o200k_base, the GPT-4o/GPT-5 family encoding. |
openai.whisper |
Transcribes audio content using OpenAI Whisper. |