diff --git a/general/x-ai.json b/general/x-ai.json index b5159128..b8e3139d 100644 --- a/general/x-ai.json +++ b/general/x-ai.json @@ -276,12 +276,24 @@ }, "disablePlayground": true }, - "grok-imagine-image-pro": { + "grok-imagine-image-quality": { "type": { "primary": "image_generation" }, "disablePlayground": true }, + "grok-imagine-video": { + "type": { + "primary": "video" + }, + "disablePlayground": true + }, + "grok-imagine-video-1.5": { + "type": { + "primary": "video" + }, + "disablePlayground": true + }, "grok-4.20-reasoning-latest": { "type": { "primary": "chat", diff --git a/pricing/x-ai.json b/pricing/x-ai.json index db817d0e..b2d87a63 100644 --- a/pricing/x-ai.json +++ b/pricing/x-ai.json @@ -580,24 +580,64 @@ }, "grok-imagine-image": { "pricing_config": { + "currency": "USD", "pay_as_you_go": { - "request_token": { - "price": 0 - }, - "response_token": { - "price": 0 + "image": { + "default": { + "default": { + "price": 2 + } + } } + }, + "calculate": { + "request": { "operation": "multiply", "operands": [{ "value": "0" }, { "value": "input_tokens" }] }, + "response": { "operation": "multiply", "operands": [{ "value": "1" }, { "value": "rates.image" }] } } } }, - "grok-imagine-image-pro": { + "grok-imagine-image-quality": { "pricing_config": { + "currency": "USD", "pay_as_you_go": { - "request_token": { - "price": 0 - }, - "response_token": { - "price": 0 + "image": { + "default": { + "default": { + "price": 5 + } + } + } + }, + "calculate": { + "request": { "operation": "multiply", "operands": [{ "value": "0" }, { "value": "input_tokens" }] }, + "response": { "operation": "multiply", "operands": [{ "value": "1" }, { "value": "rates.image" }] } + } + } + }, + "grok-imagine-video": { + "pricing_config": { + "currency": "USD", + "pay_as_you_go": { + "request_token": { "price": 0 }, + "response_token": { "price": 0 }, + "additional_units": { + "video_seconds": { + "price": 5 + } + } + } + } + }, + "grok-imagine-video-1.5": { + "pricing_config": { + "currency": "USD", + "pay_as_you_go": { + "request_token": { "price": 0 }, + "response_token": { "price": 0 }, + "additional_units": { + "video_seconds": { + "price": 8 + } } } }