BazaarLinkBazaarLink
Sign in

Gemini Embedding 2 Preview

Gemini Embedding 2 Preview is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It...

Pricing

Input Price
$0.2000
/ 1M tokens
NT$ 6
Output Price
Free
/ 1M tokens
Context Window
8K
tokens

💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22

ProviderGoogle
Released2026年4月
Model IDgoogle/gemini-embedding-2-preview

Technical specifications

Context window
8K tokens
Reasoning
No
Input
TextImageFileAudioVideo
Output
Not specified

Quick Start

Use Gemini Embedding 2 Preview via BazaarLink API — just change the base_url:

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://bazaarlink.ai/api/v1",
    api_key="sk-bl-YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemini-embedding-2-preview",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
TypeScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://bazaarlink.ai/api/v1",
  apiKey: "sk-bl-YOUR_API_KEY",
});

const response = await client.chat.completions.create({
  model: "google/gemini-embedding-2-preview",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Why use Gemini Embedding 2 Preview via BazaarLink?

  • USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
  • OpenAI-compatible API — zero code changes required
  • Automatic failover — multi-provider redundancy for the same model
  • Chinese-language support — local team, instant help
Try Now← All Models

Frequently Asked Questions

What is Gemini Embedding 2 Preview?

Gemini Embedding 2 Preview is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It...

How much does the Gemini Embedding 2 Preview API cost?

Gemini Embedding 2 Preview costs $0.2000 per 1K input tokens and $0.0000 per 1K output tokens when accessed through BazaarLink.

How do I use Gemini Embedding 2 Preview with the OpenAI SDK?

Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "google/gemini-embedding-2-preview". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.

What is the context window for Gemini Embedding 2 Preview?

Gemini Embedding 2 Preview supports a context window of 8,192 tokens.

Is Gemini Embedding 2 Preview available for free?

Gemini Embedding 2 Preview is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.

中轉站誠信檢測 · BazaarLink 獨家

尚無此模型的檢測資料

BazaarLink Probe 對聲稱提供此模型的 endpoint 進行家族指紋驗證與 V3 子模型對照。 如發現行為與真貨基準不符,會列入異常案例。

查看完整檢測報告 →

Related Models & Links

More from Google

Gemma 3 27b ItGemini 3.1 Flash Image PreviewGemini 2.5 ProGemma 2 27b ItGemini 3.1 Flash Lite PreviewGemma 3 4b It
All ModelsAPI DocumentationAPI Latency Probe
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.