27 * `id` (string, required) — Model ID. Obtainable from \<https://console.x.ai/team/default/models> or \<https://docs.x.ai/docs/models>.27 * `id` (string, required) — Model ID. Obtainable from \<https://console.x.ai/team/default/models> or \<https://docs.x.ai/docs/models>.
28 28
29 * `image_price` (integer | null) — Price per image in USD cents (image generation models).29 * `image_price` (integer | null) — Price per image in USD cents (image generation models).
30 The default tier: medium quality at the default (1k) resolution. See
31 \`pricing\` for the full quality/resolution matrix.
30 32
31 * `long_context_threshold` (integer | null) — Token count at or above which the long context prices apply.33 * `long_context_threshold` (integer | null) — Token count at or above which the long context prices apply.
32 34
34 36
35 * `owned_by` (string, required) — Owner of the model.37 * `owned_by` (string, required) — Owner of the model.
36 38
39 * `pricing` (array\<object>) — Per-image prices by (quality, resolution) tier (image generation
40 models). Omitted when the model prices all qualities identically
41 (see \`image\_price\`).
42
43 * `price_per_image` (integer, required) — Price per generated image, in 1/100,000,000ths of a USD cent.
44
45 * `quality` (string, required) — Quality tier this price applies to: \`"low"\`, \`"medium"\`, or \`"high"\`.
46 Medium is the default quality a request serves at when it leaves
47 \`quality\` unset.
48
49 * `resolution` (string, required) — Output resolution this price applies to: \`"1k"\` or \`"2k"\`. 1k is the
50 default when a request leaves \`resolution\` unset.
51
37 * `prompt_image_token_price` (integer | null) — Price of the prompt image token in USD cents per 100 million tokens.52 * `prompt_image_token_price` (integer | null) — Price of the prompt image token in USD cents per 100 million tokens.
38 53
39 * `prompt_text_token_price` (integer | null) — Price of the prompt text token in USD cents per 100 million tokens.54 * `prompt_text_token_price` (integer | null) — Price of the prompt text token in USD cents per 100 million tokens.
117* `id` (string, required) — Model ID. Obtainable from \<https://console.x.ai/team/default/models> or \<https://docs.x.ai/docs/models>.132* `id` (string, required) — Model ID. Obtainable from \<https://console.x.ai/team/default/models> or \<https://docs.x.ai/docs/models>.
118 133
119* `image_price` (integer | null) — Price per image in USD cents (image generation models).134* `image_price` (integer | null) — Price per image in USD cents (image generation models).
135 The default tier: medium quality at the default (1k) resolution. See
136 \`pricing\` for the full quality/resolution matrix.
120 137
121* `long_context_threshold` (integer | null) — Token count at or above which the long context prices apply.138* `long_context_threshold` (integer | null) — Token count at or above which the long context prices apply.
122 139
124 141
125* `owned_by` (string, required) — Owner of the model.142* `owned_by` (string, required) — Owner of the model.
126 143
144* `pricing` (array\<object>) — Per-image prices by (quality, resolution) tier (image generation
145 models). Omitted when the model prices all qualities identically
146 (see \`image\_price\`).
147
148 * `price_per_image` (integer, required) — Price per generated image, in 1/100,000,000ths of a USD cent.
149
150 * `quality` (string, required) — Quality tier this price applies to: \`"low"\`, \`"medium"\`, or \`"high"\`.
151 Medium is the default quality a request serves at when it leaves
152 \`quality\` unset.
153
154 * `resolution` (string, required) — Output resolution this price applies to: \`"1k"\` or \`"2k"\`. 1k is the
155 default when a request leaves \`resolution\` unset.
156
127* `prompt_image_token_price` (integer | null) — Price of the prompt image token in USD cents per 100 million tokens.157* `prompt_image_token_price` (integer | null) — Price of the prompt image token in USD cents per 100 million tokens.
128 158
129* `prompt_text_token_price` (integer | null) — Price of the prompt text token in USD cents per 100 million tokens.159* `prompt_text_token_price` (integer | null) — Price of the prompt text token in USD cents per 100 million tokens.
354 * `id` (string, required) — Model ID.384 * `id` (string, required) — Model ID.
355 385
356 * `image_price` (integer, required) — Price of a single image in USD cents.386 * `image_price` (integer, required) — Price of a single image in USD cents.
387 The default tier: medium quality at the default (1k) resolution. See
388 \`pricing\` for the full quality/resolution matrix.
357 389
358 * `input_modalities` (array\<string>, required) — The input modalities supported by the model.390 * `input_modalities` (array\<string>, required) — The input modalities supported by the model.
359 391
365 397
366 * `owned_by` (string, required) — Owner of the model.398 * `owned_by` (string, required) — Owner of the model.
367 399
400 * `pricing` (array\<object>) — Per-image prices by (quality, resolution) tier. One entry per
401 combination the model serves; omitted when the model prices all
402 qualities identically (see \`image\_price\`).
403
404 * `price_per_image` (integer, required) — Price per generated image, in 1/100,000,000ths of a USD cent.
405
406 * `quality` (string, required) — Quality tier this price applies to: \`"low"\`, \`"medium"\`, or \`"high"\`.
407 Medium is the default quality a request serves at when it leaves
408 \`quality\` unset.
409
410 * `resolution` (string, required) — Output resolution this price applies to: \`"1k"\` or \`"2k"\`. 1k is the
411 default when a request leaves \`resolution\` unset.
412
368 * `version` (string, required) — Version of the model.413 * `version` (string, required) — Version of the model.
369 414
370\*\*Response example:\*\*415\*\*Response example:\*\*
410* `id` (string, required) — Model ID.455* `id` (string, required) — Model ID.
411 456
412* `image_price` (integer, required) — Price of a single image in USD cents.457* `image_price` (integer, required) — Price of a single image in USD cents.
458 The default tier: medium quality at the default (1k) resolution. See
459 \`pricing\` for the full quality/resolution matrix.
413 460
414* `input_modalities` (array\<string>, required) — The input modalities supported by the model.461* `input_modalities` (array\<string>, required) — The input modalities supported by the model.
415 462
421 468
422* `owned_by` (string, required) — Owner of the model.469* `owned_by` (string, required) — Owner of the model.
423 470
471* `pricing` (array\<object>) — Per-image prices by (quality, resolution) tier. One entry per
472 combination the model serves; omitted when the model prices all
473 qualities identically (see \`image\_price\`).
474
475 * `price_per_image` (integer, required) — Price per generated image, in 1/100,000,000ths of a USD cent.
476
477 * `quality` (string, required) — Quality tier this price applies to: \`"low"\`, \`"medium"\`, or \`"high"\`.
478 Medium is the default quality a request serves at when it leaves
479 \`quality\` unset.
480
481 * `resolution` (string, required) — Output resolution this price applies to: \`"1k"\` or \`"2k"\`. 1k is the
482 default when a request leaves \`resolution\` unset.
483
424* `version` (string, required) — Version of the model.484* `version` (string, required) — Version of the model.
425 485
426\*\*Response example:\*\*486\*\*Response example:\*\*