Discovery
The live model catalog and your account state. Neither counts against your quota.
Model catalog
Every model, its parameter surface and its current credit cost, grouped by
media type. This is the authoritative source for pricing and for the legal
values of aspect_ratio, duration, quality and model_level — read it
at startup rather than hard-coding the tables in this document. How
/images/ treats an aspect_ratio outside the list is described under
Image models on the overview.
Video pricing is returned as credits_min / credits_max plus a
credits_by_level_duration_quality grid keyed level/duration/quality
(the level/ segment is absent for models without levels).
kling-motion, genjutsu and lipsync take their length from the input,
so their grid prices a nominal 5-second output (keys such as 2.6/5/720
or v3/5/auto) and the real charge scales per second. The flat price of
gemini-omni-video with a video input is not in the grid.
Model catalog › Responses
The catalog.
Model id → capability object. Every entry carries name and
pricing; the other keys describe the parameter surface and vary by
model: aspect_ratios, durations, qualities, default_quality,
model_levels, mode_model_levels, modes, defaults, sync_modes,
output_formats, max_prompt_chars, max_input_images,
image_input, video_input, audio_input, requires_video_input,
requires_audio_input, has_audio and notes. The
chatgpt-image-2.5-* models add levels, default_level and
backgrounds, and their pricing adds held_credits_by_level
(level → quality → aspect ratio) and held_credits_per_input_image;
nano-banana-2-1 pricing adds credits_per_input_image and
rounding. Music models add max_prompt_chars_simple_mode and
max_style_chars; speech models add max_lines, min_characters,
max_unique_voices, voices and languages.
Credit balance
Your current balance and the per-minute write quota this key is subject to. It does not count against your quota, so it is safe to call before every batch.
Credit balance › Responses
Account state.
creditsCredits currently available.
rate_limit_per_minuteGeneration submissions allowed per minute across all your keys.