openai.internal.OaImagesUsage$stream

`ImageGenUsage` — GPT image models only, absent for dall-e. Every field is optional here: an envelope that omits one must not fail the whole decode.

Reference version

Signature

class openai.internal.OaImagesUsage$stream

ImageGenUsage — GPT image models only, absent for dall-e. Every field is optional here: an envelope that omits one must not fail the whole decode.

Source:<builtin>/openai/ns_internal/images.bamlbytes 0–0

Fields

input_tokens

int | null

output_tokens

int | null

total_tokens

int | null