Google: Gemini Embedding 2 Preview — AI model

Google: Gemini Embedding 2 Preview is a AI model from Google, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

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...

Specs

VendorGoogle
Typeembedding
Context window8,192 tokens
Pricing$0.20/M in · $0.00/M out
APIembeddings

Code example

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-embedding-2-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started

Related models