Google · Embedding generation
Official input $0.200 and output $— per 1M tokens. No seller quote in stock right now.
| Billing unit | Per million tokens |
| Official input | $0.200 / 1M tokens |
| Official output | — |
| Our input | — |
| Our output | — |
Sellers set their own ask as a discount off the official list price, capped at 50%. The figure above is the deepest ask currently in force.
All prices are shown in US dollars; billing and settlement are in CNY.
| Context window | 8.2K tokens |
| Max output | not published |
| Input modalities | text, image, file, audio, video |
| Output modalities | embeddings |
| Modality signature | text+image+file+audio+video->embeddings |
| Best OpenRouter rank | #271 |
| Usage level | Monthly volume (example) | At list price | At our price | You save |
|---|---|---|---|---|
| Prototyping | 2M in + 0M out tokens | $0.40 | — | — |
| Small product | 20M in + 5M out tokens | $4.00 | — | — |
| Mid-size service | 200M in + 50M out tokens | $40.00 | — | — |
Example volumes are for scale reference only — billing is per call, pay for what you use. Unit: USD per 1M tokens.
| Model | Vendor | List price ($ per 1M input tokens) | Our price | Discount |
|---|---|---|---|---|
| gemini-embedding-2 | $0.200 | $0.200 | 0.0% off | |
| gemini-embedding-001 | $0.150 | $0.150 | 0.0% off | |
| voyage-4-large | Voyage AI | $0.120 | $0.120 | 0.0% off |
| voyage-multimodal-3.5 | Voyage AI | $0.120 | $0.120 | 0.0% off |
| voyage-code-4 | Voyage AI | $0.120 | $0.120 | 0.0% off |
| hunyuan-embedding | Tencent Hunyuan | $0.105 | $0.105 | 0.0% off |
| Mistral Embed 2312 | Mistral | $0.100 | $0.100 | 0.0% off |
| Kinfra-VL-Embedding-8b | Kinfra | $0.090 | $0.090 | 0.0% off |
The eight models nearest in list price on the same billing unit — the quickest way to judge whether this one is expensive at its tier. See live pricing for the full list.
curl https://ai.dijinlong.com/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-embedding-2-preview","input":["first passage","second passage"]}'
from openai import OpenAI
client = OpenAI(base_url="https://ai.dijinlong.com/v1", api_key="YOUR_API_KEY")
resp = client.embeddings.create(model="gemini-embedding-2-preview", input=["first passage", "second passage"])
print(len(resp.data[0].embedding), "dims")
input accepts a single string or an array of strings; batching is much faster and cheaper than many single calls.
The official price is $0.200 for input per 1M tokens. Prices are billed in CNY.
gemini-embedding-2-preview supports a context window of 8.2K tokens.