Skip to content

Commit 28b312f

Browse files
authored
Merge pull request BerriAI#22382 from davidvpe/add-gemini-3.1-flash-image-preview
[Feature] Add Gemini 3.1 Flash Image Preview pricing details
2 parents 160e2d9 + 29d1d04 commit 28b312f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

model_prices_and_context_window.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16799,6 +16799,42 @@
1679916799
"supports_vision": true,
1680016800
"supports_web_search": true
1680116801
},
16802+
"gemini/gemini-3.1-flash-image-preview": {
16803+
"input_cost_per_token": 2.5e-07,
16804+
"input_cost_per_token_batches": 1.25e-07,
16805+
"litellm_provider": "gemini",
16806+
"max_input_tokens": 65536,
16807+
"max_output_tokens": 32768,
16808+
"max_tokens": 32768,
16809+
"mode": "image_generation",
16810+
"output_cost_per_image": 0.045,
16811+
"output_cost_per_image_token": 6e-05,
16812+
"output_cost_per_image_token_batches": 3e-05,
16813+
"output_cost_per_token": 1.5e-06,
16814+
"output_cost_per_token_batches": 7.5e-07,
16815+
"rpm": 1000,
16816+
"tpm": 4000000,
16817+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-3.1-flash-image-preview",
16818+
"supported_endpoints": [
16819+
"/v1/chat/completions",
16820+
"/v1/completions",
16821+
"/v1/batch"
16822+
],
16823+
"supported_modalities": [
16824+
"text",
16825+
"image"
16826+
],
16827+
"supported_output_modalities": [
16828+
"text",
16829+
"image"
16830+
],
16831+
"supports_function_calling": false,
16832+
"supports_prompt_caching": true,
16833+
"supports_response_schema": true,
16834+
"supports_system_messages": true,
16835+
"supports_vision": true,
16836+
"supports_web_search": true
16837+
},
1680216838
"gemini/deep-research-pro-preview-12-2025": {
1680316839
"input_cost_per_image": 0.0011,
1680416840
"input_cost_per_token": 2e-06,

0 commit comments

Comments
 (0)