mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-10 12:20:36 +08:00
docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: "ImageGenerationUsagePromptTokensDetails"
|
||||
---
|
||||
|
||||
Breakdown of tokens used in the prompt.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
|
||||
| `audio_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | Tokens used for input audio. |
|
||||
| `cache_write_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | Tokens written to cache. Only returned for models with explicit caching and cache write pricing. |
|
||||
| `cached_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | Tokens cached by the endpoint. |
|
||||
| `file_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | Tokens used for input files/documents. |
|
||||
| `video_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | Tokens used for input video. |
|
||||
Reference in New Issue
Block a user