Pricing - Python SDK
Pricing - Python SDK
Pricing method reference
Pricing - Python SDK
The Python SDK and docs are currently in beta. Report issues on GitHub.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
audio | Optional[str] | ➖ | N/A | 1000 |
audio_output | Optional[str] | ➖ | N/A | 1000 |
completion | str | ✔️ | N/A | 1000 |
discount | Optional[float] | ➖ | N/A | |
image | Optional[str] | ➖ | N/A | 1000 |
image_output | Optional[str] | ➖ | N/A | 1000 |
image_token | Optional[str] | ➖ | N/A | 1000 |
input_audio_cache | Optional[str] | ➖ | N/A | 1000 |
input_cache_read | Optional[str] | ➖ | N/A | 1000 |
input_cache_write | Optional[str] | ➖ | N/A | 1000 |
internal_reasoning | Optional[str] | ➖ | N/A | 1000 |
prompt | str | ✔️ | N/A | 1000 |
request | Optional[str] | ➖ | N/A | 1000 |
web_search | Optional[str] | ➖ | N/A | 1000 |