Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions general/google.json
Original file line number Diff line number Diff line change
Expand Up @@ -1567,5 +1567,117 @@
}
],
"type": { "primary": "chat", "supported": ["image", "pdf", "doc", "tools"] }
},
"gemini-3.1-pro-preview": {
"params": [
{ "key": "max_tokens", "maxValue": 65536 },
{
"key": "response_format",
"defaultValue": null,
"options": [
{
"value": null,
"name": "Text"
},
{
"value": "json_object",
"name": "JSON Object",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_object" }
}
}
},
{
"value": "json_schema",
"name": "JSON Schema",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_schema" },
"json_schema": { "type": "object" }
}
},
"params": { "key": "json_schema", "defaultValue": null, "type": "json", "skipValues": [null] }
}
],
"skipValues": [null],
"type": "string"
},
{
"key": "thinking",
"properties": {
"type": {
"type": "string",
"enum": ["enabled"]
},
"budget_tokens": {
"type": "number",
"minValue": 128,
"maxValue": 32768
}
},
"defaultValue": null,
"skipValues": [null]
}
],
"type": { "primary": "chat", "supported": ["image", "pdf", "doc", "tools"] }
},
"gemini-3.1-pro-preview-customtools": {
"params": [
{ "key": "max_tokens", "maxValue": 65536 },
{
"key": "response_format",
"defaultValue": null,
"options": [
{
"value": null,
"name": "Text"
},
{
"value": "json_object",
"name": "JSON Object",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_object" }
}
}
},
{
"value": "json_schema",
"name": "JSON Schema",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_schema" },
"json_schema": { "type": "object" }
}
},
"params": { "key": "json_schema", "defaultValue": null, "type": "json", "skipValues": [null] }
}
],
"skipValues": [null],
"type": "string"
},
{
"key": "thinking",
"properties": {
"type": {
"type": "string",
"enum": ["enabled"]
},
"budget_tokens": {
"type": "number",
"minValue": 128,
"maxValue": 32768
}
},
"defaultValue": null,
"skipValues": [null]
}
],
"type": { "primary": "chat", "supported": ["image", "pdf", "doc", "tools"] }
}
}
112 changes: 112 additions & 0 deletions general/vertex-ai.json
Original file line number Diff line number Diff line change
Expand Up @@ -1639,5 +1639,117 @@
"supported": ["image", "tools"]
},
"removeParams": ["temperature", "top_p"]
},
"gemini-3.1-pro-preview": {
"params": [
{ "key": "max_tokens", "maxValue": 65536 },
{
"key": "response_format",
"defaultValue": null,
"options": [
{
"value": null,
"name": "Text"
},
{
"value": "json_object",
"name": "JSON Object",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_object" }
}
}
},
{
"value": "json_schema",
"name": "JSON Schema",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_schema" },
"json_schema": { "type": "object" }
}
},
"params": { "key": "json_schema", "defaultValue": null, "type": "json", "skipValues": [null] }
}
],
"skipValues": [null],
"type": "string"
},
{
"key": "thinking",
"properties": {
"type": {
"type": "string",
"enum": ["enabled"]
},
"budget_tokens": {
"type": "number",
"minValue": 128,
"maxValue": 32768
}
},
"defaultValue": null,
"skipValues": [null]
}
],
"type": { "primary": "chat", "supported": ["image", "pdf", "doc", "tools"] }
},
"gemini-3.1-pro-preview-customtools": {
"params": [
{ "key": "max_tokens", "maxValue": 65536 },
{
"key": "response_format",
"defaultValue": null,
"options": [
{
"value": null,
"name": "Text"
},
{
"value": "json_object",
"name": "JSON Object",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_object" }
}
}
},
{
"value": "json_schema",
"name": "JSON Schema",
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "value": "json_schema" },
"json_schema": { "type": "object" }
}
},
"params": { "key": "json_schema", "defaultValue": null, "type": "json", "skipValues": [null] }
}
],
"skipValues": [null],
"type": "string"
},
{
"key": "thinking",
"properties": {
"type": {
"type": "string",
"enum": ["enabled"]
},
"budget_tokens": {
"type": "number",
"minValue": 128,
"maxValue": 32768
}
},
"defaultValue": null,
"skipValues": [null]
}
],
"type": { "primary": "chat", "supported": ["image", "pdf", "doc", "tools"] }
}
}
136 changes: 136 additions & 0 deletions pricing/google.json
Original file line number Diff line number Diff line change
Expand Up @@ -2094,5 +2094,141 @@
}
}
}
},
"gemini-3.1-pro-preview-lte-200k": {
"pricing_config": {
"pay_as_you_go": {
"request_token": {
"price": 0.0002
},
"response_token": {
"price": 0.0012
},
"cache_write_input_token": {
"price": 0.00002
},
"cache_read_input_token": {
"price": 0.00045
},
"additional_units": {
"web_search": {
"price": 3.5
},
"search": {
"price": 3.5
}
}
},
"batch_config": {
"request_token": {
"price": 0.0001
},
"response_token": {
"price": 0.0006
}
}
}
},
"gemini-3.1-pro-preview-gt-200k": {
"pricing_config": {
"pay_as_you_go": {
"request_token": {
"price": 0.0004
},
"response_token": {
"price": 0.0018
},
"cache_write_input_token": {
"price": 0.00004
},
"cache_read_input_token": {
"price": 0.00045
},
"additional_units": {
"web_search": {
"price": 3.5
},
"search": {
"price": 3.5
}
}
},
"batch_config": {
"request_token": {
"price": 0.0002
},
"response_token": {
"price": 0.0009
}
}
}
},
"gemini-3.1-pro-preview-customtools-lte-200k": {
"pricing_config": {
"pay_as_you_go": {
"request_token": {
"price": 0.0002
},
"response_token": {
"price": 0.0012
},
"cache_write_input_token": {
"price": 0.00002
},
"cache_read_input_token": {
"price": 0.00045
},
"additional_units": {
"web_search": {
"price": 3.5
},
"search": {
"price": 3.5
}
}
},
"batch_config": {
"request_token": {
"price": 0.0001
},
"response_token": {
"price": 0.0006
}
}
}
},
"gemini-3.1-pro-preview-customtools-gt-200k": {
"pricing_config": {
"pay_as_you_go": {
"request_token": {
"price": 0.0004
},
"response_token": {
"price": 0.0018
},
"cache_write_input_token": {
"price": 0.00004
},
"cache_read_input_token": {
"price": 0.00045
},
"additional_units": {
"web_search": {
"price": 3.5
},
"search": {
"price": 3.5
}
}
},
"batch_config": {
"request_token": {
"price": 0.0002
},
"response_token": {
"price": 0.0009
}
}
}
}
}
Loading