Google · Embedding
gemini-embedding-2-preview API
gemini-embedding-2-preview is a model from Google that you can call through Ezkielyna API in the OpenAI-compatible format.
Google Gemini Embedding 2 (preview) — text embeddings for search, clustering and RAG. Endpoint /v1/embeddings.
Price
Standard price · per 1M input tokens
$0.419 ≈ Rp7,626
Standard ×1
- Input
- $0.419
Rp7,626
Rupiah is an estimate at the store's current rate (Rp18,182 per USD). The live price is always at api.ezkielyna.store/pricing.
Key group availability: Standard. Create your key in the Auto group (it covers Standard, Premium, Hemat and Media, but not Pro). A Standard key cannot call Premium, Pro or Media models.
Capabilities
- Type
- Embedding
- API formats
- POST /v1/embeddings
Code example
Base URL https://api.ezkielyna.store/v1. Replace YOUR_EZKIELYNA_API_KEY with your key.
curl https://api.ezkielyna.store/v1/embeddings \
-H "Authorization: Bearer $EZKIELYNA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-embedding-2-preview", "input": "how to make fried rice"}'Live status
Status is built from real requests, not synthetic tests.
View status · gemini-embedding-2-preview ↗Get started
FAQ
How much does the gemini-embedding-2-preview API cost per 1M tokens?
Standard: $0.419 per 1M input tokens (about Rp7,626). Prices follow the live catalog and can change; the rupiah figure is an estimate at the store's rate today. Full list: api.ezkielyna.store/pricing.
Which API key group can call gemini-embedding-2-preview?
gemini-embedding-2-preview is available in the Standard group(s). When you create a key at api.ezkielyna.store, pick the Auto group (it covers Standard, Premium, Hemat and Media, but not Pro) or a matching group. A Standard key cannot call Premium, Pro or Media models.
How do I use gemini-embedding-2-preview with the OpenAI SDK?
Set base_url to https://api.ezkielyna.store/v1, use your Ezkielyna key as api_key and call the model "gemini-embedding-2-preview". curl and Python examples are on this page.
How can I tell whether gemini-embedding-2-preview is working right now?
The status page at api.ezkielyna.store/status is built from real requests (not synthetic tests). Only server-side failures count, and models without traffic are shown as such.
How do I buy credit and pay?
Buy Ezkielyna API Credit in the store (QRIS, store balance, USDT or Binance Pay), redeem the code in Wallet at api.ezkielyna.store, then create a key under API Keys. The balance is charged per token used.