Googleは17日、コストパフォーマンスに優れた推論対応のAIモデル「Gemini 2.5 Flash」のプレビュー版を提供開始した。API経由で「Google AI Studio」と「Vertex AI」で利用できるほか、GeminiのWebやアプリのドロップダウンメニューからも選択可能。
【この記事に関する別の画像を見る】
Gemini 2.5 Flashでは、即座に出力を生成する代わりに、推論による「思考」プロセスを実行し、プロンプトをより理解して、タスクを分解、応答を計画する。コストパフォーマンスに優れるだけでなく、Google初の完全ハイブリッド推論モデルとなっており、開発者は、推論のオン/オフを切り替できるほか、“推論予算”(thinking budgets)を設定し、どれくらい推論を行なうかの配分も可能となる。
コストと遅延を最小限に抑えたい場合、Google AI Studioなどで推論予算を0に設定。多くの推論が必要な場合は、推論予算を増やす。予算は0から24,576トークンまで設定できる。
例えば、「ありがとうをスペイン語で」、「カナダには何つの州がありますか?」といったシンプルな質問で最適な答えを得るためには、推論予算はほぼ必要ないが、「2つのサイコロを振ったとき、合計が7になる確率は?」といった質問は推論能力が必要とされる。
さらに、「長さL=3mのカンチレバービームは、長方形断面(幅b=0.1m、高さh=0.2m)で鋼製(弾性率E=200 GPa)です。ビーム全体に均一に分布した荷重w=5 kN/mが作用し、自由端に点荷重P=10 kNが作用しています。最大曲げ応力(σ_max)を計算してください。」といった複雑な質問には推論予算を多く割り当てる必要がある。このように、用途に応じて推論予算を設定でいるのが、2.5 Flashの特徴となる。
また、推論モデルをオフにしても、2.0 Flash相当の速度を維持しつつ、パフォーマンスを向上できるという。Geminiアプリでは、ドキュメントやコードの生成結果を確認しながら作業できる「Canvas」などの機能も利用可能。2.5 Flashはプレビュー版として公開しながら、近日中に機能追加して一般公開する。
# | 言葉 | 意味 |
---|---|---|
14 | 推論 | すいろん (推論) : inference; deduction; induction; reasoning |
7 | 予算 | よさん (予算) : estimate; budget |
4 | 設定 | せってい (設定) : 1. establishment; creation; posing (a problem); setting (movie, novel, etc.); scene 2. options setting; preference settings; configuration; setup |
3 | いう | ゆう (結う) : 1. to do up (hair); to dress; to arrange 2. to tie; to bind; to fasten; to make (a fence) |
2 | 優れる | すぐれる (優れる) : to surpass; to outstrip; to excel |
2 | 版 | はん (版) : 1. edition; version; printing; impression; implementation (e.g. software) 2. plate; block; cast |
2 | 可能 | かのう (可能) : possible; potential; practicable; feasible |
2 | 生成 | せいせい (生成) : creation; generation; formation; derivation |
2 | 多く | おおく (多く) : 1. many; much; plenty; a lot 2. majority (of); greater part (of) |
2 | 荷重 | かじゅう (荷重) : load; loading; weight (of a load) |
2 | 作用 | さよう (作用) : action; operation; effect; function |
2 | 機能 | きのう (機能) : function; facility; faculty; feature |
1 | 対応 | たいおう (対応) : 1. correspondence (to); equivalence 2. suitability; coordination; matching; being appropriate (for) |
1 | 提供 | ていきょう (提供) : 1. offer; tender; providing; supplying; making available; donating (blood, organs, etc.) 2. sponsoring (a TV program) |
1 | 開始 | かいし (開始) : start; commencement; beginning; initiation |
1 | 経由 | けいゆ (経由) : going through; going via; going by way of |
1 | 選択 | せんたく (選択) : selection; choice; option |
1 | 記事 | きじ (記事) : article; news story; report; account |
1 | 関する | かんする (関する) : to concern; to be related |
1 | 画像 | がぞう (画像) : image; picture; portrait |
1 | 即座 | そくざ (即座) : immediate; right there on the spot; impromptu; instant; instantaneous |
1 | 出力 | しゅつりょく (出力) : output (electrical, signal, etc.) |
1 | 思考 | しこう (思考) : thought; consideration; thinking |
1 | 実行 | じっこう (実行) : execution (e.g. of a plan); carrying out; practice; action; implementation; fulfillment; realization |
1 | 理解 | りかい (理解) : understanding; comprehension; appreciation; sympathy |
1 | 分解 | ぶんかい (分解) : 1. disassembly; dismantling; disaggregating; analysis; disintegrating; decomposing; degrading 2. factorization |
1 | 応答 | おうとう (応答) : reply; answer; response |
1 | 初 | はつ (初) : first; new |
1 | 完全 | かんぜん (完全) : perfect; complete |
1 | 開発者 | かいはつしゃ (開発者) : developer |
1 | 行なう | おこなう (行う) : to perform; to do; to conduct oneself; to carry out |
1 | 配分 | はいぶん (配分) : distribution; allotment |
1 | 遅延 | ちえん (遅延) : delay; latency |
1 | 最小限 | さいしょうげん (最小限) : minimum; lowest; minimal; least |
1 | 抑える | おさえる (抑える) : 1. to keep within limits (e.g. spending); to restrain (e.g. emotions); to control; to curb; to hold in check 2. to hold back (e.g. an enemy); to check; to curb; to contain; to quell; to subdue; to suppress; to repress |
1 | 増やす | ふやす (増やす) : to increase; to add to; to augment |
1 | ありがとう | ありがとう (有り難う) : thank you; thanks |
1 | スペイン語 | スペインご (スペイン語) : Spanish (language) |
1 | 州 | しゅう (州) : 1. state (US, Australia, India, Germany, etc.); province (e.g. Canada); canton (e.g. Switzerland); oblast (e.g. Russia); department (e.g. ancient China) 2. continent |
1 | 最適 | さいてき (最適) : most suitable; optimum; optimal; best |
1 | 答え | こたえ (答え) : answer; reply; response; solution |
1 | ほぼ | ほぼ (略) : almost; roughly; approximately |
1 | 振る | ふる (振る) : 1. to wave; to shake; to swing 2. to sprinkle; to throw (dice) |
1 | 合計 | ごうけい (合計) : sum total; total amount |
1 | 確率 | かくりつ (確率) : probability; likelihood; chances |
1 | 能力 | のうりょく (能力) : ability; faculty |
1 | さらに | さらに (更に) : furthermore; again; after all; more and more; moreover; even more |
1 | 方形 | ほうけい (方形) : square |
1 | 断面 | だんめん (断面) : section; cross section; profile |
1 | 幅 | はば (幅) : 1. width; breadth 2. freedom (e.g. of thought); latitude |
1 | 鋼製 | こうせい (鋼製) : made of steel |
1 | 弾性率 | だんせいりつ (弾性率) : modulus of elasticity |
1 | 全体 | ぜんたい (全体) : whole; entirety; whatever (is the matter) |
1 | 均一 | きんいつ (均一) : uniformity; equality |
1 | 分布 | ぶんぷ (分布) : distribution; allocation |
1 | 端 | そば (側) : 1. near; close; beside; vicinity; proximity; besides; while 2. third person |
1 | 最大 | さいだい (最大) : biggest; greatest; largest; maximum |
1 | 曲げ | まげ (曲げ) : flexure; bending |
1 | 応力 | おうりょく (応力) : stress (e.g. on a mechanical part); tension |
1 | σ | シグマ (Σ) : sigma |
1 | 計算 | けいさん (計算) : 1. calculation; reckoning; count 2. forecast |
1 | 割り当てる | わりあてる (割り当てる) : to assign; to allot; to allocate; to divide among; to distribute; to prorate; to apportion |
1 | 用途 | ようと (用途) : use; service; purpose |
1 | 応ずる | おうずる (応ずる) : 1. to answer; to respond; to meet 2. to satisfy; to accept |
1 | 特徴 | とくちょう (特徴) : feature; trait; characteristic; peculiarity; distinction |
1 | 相当 | そうとう (相当) : 1. corresponding to (in meaning, function, etc.); being equivalent to 2. appropriate; suitable; befitting; proportionate |
1 | 速度 | そくど (速度) : 1. speed; velocity; pace; rate 2. velocity |
1 | 維持 | いじ (維持) : maintenance; preservation; improvement |
1 | 向上 | こうじょう (向上) : elevation; rise; improvement; advancement; progress |
1 | 結果 | けっか (結果) : 1. result; consequence; outcome; effect 2. coming to fruition; bearing fruit |
1 | 確認 | かくにん (確認) : confirmation; verification; validation; review; check; affirmation; identification |
1 | 作業 | さぎょう (作業) : work; operation; manufacturing; fatigue duty |
1 | 利用可能 | りようかのう (利用可能) : available; usable (e.g. bandwidth) |
1 | 公開 | こうかい (公開) : opening to the public; making available to the public; putting on display; exhibiting; showing (play, movie, etc.); holding (interview, etc.); open; public |
1 | 近日 | きんじつ (近日) : soon; in a few days |
1 | 追加 | ついか (追加) : addition; supplement; appending; appendix |
1 | 一般公開 | いっぱんこうかい (一般公開) : 1. opening to the public (e.g. garden, etc.) 2. read permission: anybody |