Skip to content

Commit 29d1d04

Browse files
committed
[Feature] Add Gemini 3.1 Flash Image Preview input and output cost details
1 parent dcfd25e commit 29d1d04

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

model_prices_and_context_window.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16422,22 +16422,25 @@
1642216422
"supports_web_search": true
1642316423
},
1642416424
"gemini/gemini-3.1-flash-image-preview": {
16425-
"input_cost_per_image": 0.0001375,
1642616425
"input_cost_per_token": 2.5e-07,
16426+
"input_cost_per_token_batches": 1.25e-07,
1642716427
"litellm_provider": "gemini",
1642816428
"max_input_tokens": 65536,
1642916429
"max_output_tokens": 32768,
1643016430
"max_tokens": 32768,
1643116431
"mode": "image_generation",
1643216432
"output_cost_per_image": 0.045,
1643316433
"output_cost_per_image_token": 6e-05,
16434+
"output_cost_per_image_token_batches": 3e-05,
1643416435
"output_cost_per_token": 1.5e-06,
16436+
"output_cost_per_token_batches": 7.5e-07,
1643516437
"rpm": 1000,
1643616438
"tpm": 4000000,
1643716439
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-3.1-flash-image-preview",
1643816440
"supported_endpoints": [
1643916441
"/v1/chat/completions",
16440-
"/v1/completions"
16442+
"/v1/completions",
16443+
"/v1/batch"
1644116444
],
1644216445
"supported_modalities": [
1644316446
"text",

0 commit comments

Comments
 (0)