[ Google ]
Gemini Embedding 2 Preview
Gemini Embedding 2 Preview from Google: an embedding model that turns text into vectors for search and retrieval. Routed to the cheapest provider. At or below list. Pay per token in USDF, with no subscription and no minimum. Requests go to /v1/embeddings.
Input
$0.20
per 1M tokens
Context window
8,192
tokens
- Model ID
- gemini-embedding-2-preview
- Modality
- embedding
- Unit
- USD per 1M tokens
- Endpoints
- /v1/embeddings
- Saving vs list
- 4.76%
Data policy
Retains dataNo training
Make your first request
Responses include a receipt with the exact cost. No key yet? Create one.
No account: send the same request to /x402/v1/embeddings without credentials and the gateway answers 402 with the quote. Pay per request.
curl https://api.usdf.fi/v1/embeddings \
-H "Authorization: Bearer $USDF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-embedding-2-preview", "input": "text"}'