openai.internal.OaImagesUsage

`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

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 26502801

Fields

input_tokens

int | null

output_tokens

int | null

total_tokens

int | null