Skip to content

Gemini Embedding 001

Gemini Embedding 001 is Google's generally available text embedding model, with a strong position on the Massive Text Embedding Benchmark (MTEB) Multilingual leaderboard across retrieval, classification, and other tasks, with Matryoshka-based dimension flexibility and support for over 100 languages.

index.ts
import { embed } from 'ai';
const result = await embed({
model: 'google/gemini-embedding-001',
value: 'Sunny day at the beach',
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Google
Legal:Terms
Privacy
$0.15/M
05/20/2025
Google Vertex AI
Legal:Terms
Privacy
$0.15/M
05/20/2025