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
Возможности:ЗрениеАудио-входВидео-вход

Цены

ТипЦена
Входные токены$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])

Часто задаваемые вопросы

Google: Gemini Embedding 2 Preview на Ofox.ai стоит $0.2/M за миллион входных токенов и $0 за миллион выходных токенов. Оплата по потреблению, без абонплаты.

Discord

Присоединяйтесь к Discord-серверу

Discord