Gemini

Google: Gemini Embedding 2 Preview

Embedding
google/gemini-embedding-2-preview

Gemini Embeddings is a multimodal embedding technique that converts text, audio, video, and image data into numerical vectors that can be processed by machine learning algorithms, especially large models. These vector representations are designed to capture the semantic meaning and context of the data they represent.

8K コンテキストウィンドウ
8K 最大出力トークン
リリース日: 2026-03-10
対応プロトコル:Geminigemini
利用可能なプロバイダー:GoogleCloudVertex
機能:Vision音声入力動画入力

料金

タイプ料金
入力トークン$0.2/M
出力トークン$0/M
画像入力$0.45/M
音声入力$6.5/M
動画入力$12/M

コード例

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},
)
response = client.models.embed_content(
model="google/gemini-embedding-2-preview",
contents="Hello, world!",
)
print(response.embeddings[0].values[:5])

よくある質問

Ofox.aiでのGoogle: Gemini Embedding 2 Previewの料金は、入力100万トークンあたり$0.2/M、出力100万トークンあたり$0です。従量課金制、月額料金なし。

Discord

Discordサーバーに参加

Discord