diff --git a/models/google/gemini-pro-latest.yaml b/models/google/gemini-pro-latest.yaml new file mode 100644 index 0000000..762a428 --- /dev/null +++ b/models/google/gemini-pro-latest.yaml @@ -0,0 +1,67 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: google +authType: api_key +model: gemini-pro-latest +params: + - path: generationConfig.maxOutputTokens + type: integer + label: Max output tokens + description: Maximum number of tokens to include in a response candidate. + range: + min: 1 + max: 65536 + group: generation_length + - path: generationConfig.temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + default: 1 + range: + min: 0 + max: 2 + step: 0.1 + group: sampling + - path: generationConfig.topP + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: generationConfig.topK + type: integer + label: Top K + description: Limits token sampling to the top K most likely next tokens. + default: 64 + range: + min: 0 + group: sampling + - path: generationConfig.seed + type: integer + label: Seed + description: Optional seed used for decoding when reproducible sampling is desired. + group: sampling + - path: generationConfig.thinkingConfig.thinkingBudget + type: integer + label: Thinking budget + description: Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. + default: 0 + group: reasoning + - path: generationConfig.thinkingConfig.includeThoughts + type: boolean + label: Include thoughts + description: Controls whether Gemini returns available thought summaries in the response parts. + default: false + group: reasoning + - path: generationConfig.responseMimeType + type: enum + label: Response MIME type + description: MIME type for generated text candidates. + default: text/plain + values: + - text/plain + - application/json + group: output_format diff --git a/packages/modelparams/src/generated/data.ts b/packages/modelparams/src/generated/data.ts index 0154c36..d49e75e 100644 --- a/packages/modelparams/src/generated/data.ts +++ b/packages/modelparams/src/generated/data.ts @@ -7369,6 +7369,96 @@ export const CATALOG = [ } ] }, + { + "provider": "google", + "authType": "api_key", + "model": "gemini-pro-latest", + "params": [ + { + "path": "generationConfig.maxOutputTokens", + "label": "Max output tokens", + "description": "Maximum number of tokens to include in a response candidate.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1, + "max": 65536 + } + }, + { + "path": "generationConfig.temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0, + "max": 2, + "step": 0.1 + } + }, + { + "path": "generationConfig.topP", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "default": 0.95, + "range": { + "min": 0, + "max": 1, + "step": 0.01 + } + }, + { + "path": "generationConfig.topK", + "label": "Top K", + "description": "Limits token sampling to the top K most likely next tokens.", + "group": "sampling", + "type": "integer", + "default": 64, + "range": { + "min": 0 + } + }, + { + "path": "generationConfig.seed", + "label": "Seed", + "description": "Optional seed used for decoding when reproducible sampling is desired.", + "group": "sampling", + "type": "integer" + }, + { + "path": "generationConfig.thinkingConfig.thinkingBudget", + "label": "Thinking budget", + "description": "Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens.", + "group": "reasoning", + "type": "integer", + "default": 0 + }, + { + "path": "generationConfig.thinkingConfig.includeThoughts", + "label": "Include thoughts", + "description": "Controls whether Gemini returns available thought summaries in the response parts.", + "group": "reasoning", + "type": "boolean", + "default": false + }, + { + "path": "generationConfig.responseMimeType", + "label": "Response MIME type", + "description": "MIME type for generated text candidates.", + "group": "output_format", + "type": "enum", + "default": "text/plain", + "values": [ + "text/plain", + "application/json" + ] + } + ] + }, { "provider": "google", "authType": "api_key", diff --git a/packages/modelparams/src/generated/defaults.ts b/packages/modelparams/src/generated/defaults.ts index f66ed5c..f3e8e67 100644 --- a/packages/modelparams/src/generated/defaults.ts +++ b/packages/modelparams/src/generated/defaults.ts @@ -541,6 +541,14 @@ export const DEFAULTS = { "generationConfig.thinkingConfig.includeThoughts": false, "generationConfig.responseMimeType": "text/plain", }, + "google/gemini-pro-latest": { + "generationConfig.temperature": 1, + "generationConfig.topP": 0.95, + "generationConfig.topK": 64, + "generationConfig.thinkingConfig.thinkingBudget": 0, + "generationConfig.thinkingConfig.includeThoughts": false, + "generationConfig.responseMimeType": "text/plain", + }, "google/gemma-4-26b-a4b-it": { "generationConfig.temperature": 1, "generationConfig.topP": 0.95, diff --git a/packages/modelparams/src/generated/model-ids.ts b/packages/modelparams/src/generated/model-ids.ts index d645590..c131216 100644 --- a/packages/modelparams/src/generated/model-ids.ts +++ b/packages/modelparams/src/generated/model-ids.ts @@ -73,6 +73,7 @@ export const MODEL_IDS = [ "google/gemini-3.1-pro-preview-subscription", "google/gemini-3.5-flash", "google/gemini-flash-latest", + "google/gemini-pro-latest", "google/gemma-4-26b-a4b-it", "google/gemma-4-31b-it", "meta/Llama-3.3-70B-Instruct", diff --git a/packages/modelparams/src/generated/params-by-id.ts b/packages/modelparams/src/generated/params-by-id.ts index 67d6ed0..2d82cd2 100644 --- a/packages/modelparams/src/generated/params-by-id.ts +++ b/packages/modelparams/src/generated/params-by-id.ts @@ -626,6 +626,16 @@ export type ParamsById = { "generationConfig.thinkingConfig.includeThoughts": boolean; "generationConfig.responseMimeType": "text/plain" | "application/json"; }; + "google/gemini-pro-latest": { + "generationConfig.maxOutputTokens": number; + "generationConfig.temperature": number; + "generationConfig.topP": number; + "generationConfig.topK": number; + "generationConfig.seed": number; + "generationConfig.thinkingConfig.thinkingBudget": number; + "generationConfig.thinkingConfig.includeThoughts": boolean; + "generationConfig.responseMimeType": "text/plain" | "application/json"; + }; "google/gemma-4-26b-a4b-it": { "generationConfig.maxOutputTokens": number; "generationConfig.temperature": number;