|
| 1 | +model: gemini-3.5-flash |
| 2 | +label: |
| 3 | + en_US: Gemini 3.5 Flash |
| 4 | +model_type: llm |
| 5 | +features: |
| 6 | + - tool-call |
| 7 | + - multi-tool-call |
| 8 | + - agent-thought |
| 9 | + - vision |
| 10 | + - stream-tool-call |
| 11 | + - document |
| 12 | + - video |
| 13 | + - audio |
| 14 | + - structured-output |
| 15 | +model_properties: |
| 16 | + mode: chat |
| 17 | + context_size: 1048576 |
| 18 | +parameter_rules: |
| 19 | + - name: include_thoughts |
| 20 | + type: boolean |
| 21 | + required: true |
| 22 | + default: false |
| 23 | + label: |
| 24 | + en_US: Include thoughts |
| 25 | + zh_Hans: 返回思考过程 |
| 26 | + help: |
| 27 | + en_US: Indicates whether to include thoughts in the response. If true, thoughts are returned only if the model supports thought and thoughts are available. Default is false. |
| 28 | + zh_Hans: 是否返回思考过程。若为 true 则只有模型支持思考且启动思考模式时才返回思考过程。默认为 false。 |
| 29 | + - name: media_resolution |
| 30 | + type: string |
| 31 | + required: true |
| 32 | + default: "Default" |
| 33 | + options: |
| 34 | + - Default |
| 35 | + - Low |
| 36 | + - Medium |
| 37 | + - High |
| 38 | + label: |
| 39 | + en_US: Media resolution |
| 40 | + zh_Hans: 媒体分辨率 |
| 41 | + help: |
| 42 | + en_US: | |
| 43 | + Gemini 3 introduces fine-grained control over multimodal visual processing via the `media_resolution` parameter. Higher resolution improves the model's ability to read small text or recognize fine details, but increases token usage and latency. |
| 44 | +
|
| 45 | + Recommended Settings: |
| 46 | + - Images: `media_resolution_high` (1120 tokens) - Recommended for most image analysis tasks to ensure best quality. |
| 47 | + - PDF: `media_resolution_medium` (560 tokens) - Great for document understanding; quality usually saturates at medium. |
| 48 | + - Video (Regular): `media_resolution_low` or `medium` (70 tokens/frame) - Sufficient for most action recognition and description tasks. |
| 49 | + - Video (Text-heavy): `media_resolution_high` (280 tokens/frame) - Needed only when use cases involve reading dense text (OCR) or tiny details in video frames. |
| 50 | +
|
| 51 | + Note: If not specified, the model uses the best default value based on the media type. |
| 52 | + zh_Hans: | |
| 53 | + Gemini 3 通过 `media_resolution` 参数引入了对多模态视觉处理的精细控制。分辨率越高,模型读取细小文本或识别细微细节的能力就越强,但会增加令牌用量和延迟时间。 |
| 54 | +
|
| 55 | + 推荐设置: |
| 56 | + - 图片:`media_resolution_high` (1120 tokens) - 建议用于大多数图片分析任务,以确保获得最佳质量。 |
| 57 | + - PDF:`media_resolution_medium` (560 tokens) - 非常适合文档理解;质量通常在 medium 时达到饱和。 |
| 58 | + - 视频(常规):`media_resolution_low` 或 `medium` (70 tokens/帧) - 对于大多数动作识别和描述任务来说已经足够。 |
| 59 | + - 视频(文字较多):`media_resolution_high` (280 tokens/帧) - 仅当用例涉及读取密集文本 (OCR) 或视频帧中的微小细节时才需要。 |
| 60 | +
|
| 61 | + 注意:如果不指定,模型会根据媒体类型使用最佳默认值。 |
| 62 | + - name: thinking_level |
| 63 | + type: string |
| 64 | + required: true |
| 65 | + default: "Medium" |
| 66 | + options: |
| 67 | + - Minimal |
| 68 | + - Low |
| 69 | + - Medium |
| 70 | + - High |
| 71 | + label: |
| 72 | + en_US: Thinking level |
| 73 | + zh_Hans: 思考层级 |
| 74 | + help: |
| 75 | + en_US: Indicates the thinking level. Default is Medium. |
| 76 | + zh_Hans: 思考层级。默认为 Medium。 |
| 77 | + - name: grounding |
| 78 | + type: boolean |
| 79 | + required: true |
| 80 | + default: false |
| 81 | + label: |
| 82 | + en_US: Grounding |
| 83 | + zh_Hans: 事实核查 |
| 84 | + ja_JP: 事実チェック |
| 85 | + help: |
| 86 | + en_US: Grounding with Google Search |
| 87 | + zh_Hans: Google 事实核查 |
| 88 | + ja_JP: Google 検索に基づいた応答をします。 |
| 89 | + - name: url_context |
| 90 | + type: boolean |
| 91 | + required: true |
| 92 | + default: false |
| 93 | + label: |
| 94 | + en_US: URL context |
| 95 | + zh_Hans: 链接详情 |
| 96 | + ja_JP: 網羅閲覧 |
| 97 | + help: |
| 98 | + en_US: Browse the url context |
| 99 | + zh_Hans: 获取并分析该链接的详细信息,为回答提供参考依据。 |
| 100 | + ja_JP: リンク先の詳細情報を取得し、文脈を理解します。 |
| 101 | + - name: code_execution |
| 102 | + type: boolean |
| 103 | + required: true |
| 104 | + default: false |
| 105 | + label: |
| 106 | + en_US: Code execution |
| 107 | + zh_Hans: 代码执行 |
| 108 | + ja_JP: コード実行 |
| 109 | + help: |
| 110 | + en_US: Lets Gemini use code to solve complex tasks |
| 111 | + zh_Hans: 让 Gemini 使用代码来解决复杂任务。 |
| 112 | + ja_JP: Gemini にコードを使って複雑なタスクを解決させましょう。 |
| 113 | + - name: use_inline_file |
| 114 | + type: boolean |
| 115 | + required: true |
| 116 | + default: false |
| 117 | + label: |
| 118 | + en_US: Use inline file mode |
| 119 | + zh_Hans: 使用内嵌文件模式 |
| 120 | + help: |
| 121 | + en_US: | |
| 122 | + When enabled, files will be embedded directly in the request (inline mode) for better performance. |
| 123 | + When disabled, files will be uploaded using the Files API. Default is disabled (Files API). |
| 124 | + zh_Hans: | |
| 125 | + 启用后,文件将直接内嵌在请求中(内联模式)以提高性能。 |
| 126 | + 禁用后,文件将使用 Files API 上传。默认为禁用(使用 Files API)。 |
| 127 | + - name: json_schema |
| 128 | + use_template: json_schema |
| 129 | +# https://ai.google.dev/gemini-api/docs/pricing#gemini-3-flash-preview |
| 130 | +pricing: |
| 131 | + input: "1.5" |
| 132 | + output: "9" |
| 133 | + unit: "0.000001" |
| 134 | + currency: USD |
0 commit comments