Skip to content
Dashboard

Gemini Embedding 2

Gemini Embedding 2 is Google's first natively multimodal embedding model, mapping text, images, video, audio, and documents into a single unified embedding space with support for interleaved multi-modal inputs and over 100 languages. Your use subject to Google's Terms & Privacy Policies.

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

More models by Google

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
1M
1.1s
380tps
$0.30/M
$2.50/M
Read:$0.03/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
07/21/2026
1M
3.1s
168tps
$1.50/M
$7.50/M
Read:$0.15/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
07/21/2026
1M
2.0s
258tps
$1.50/M
$9/M
Read:$0.15/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
05/19/2026
1M
0.6s
231tps
$0.25/M
$1.50/M
Read:$0.03/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
05/07/2026
1M
0.8s
183tps
$0.50/M+1 more
$3/M+1 more
Read:
$0.05/M+1 more
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
12/17/2025
1M
0.3s
296tps
$0.10/M
$0.40/M
Read:$0.01/M
Write:
$35/K+1 more
+ input costs
+3
google logo
vertex logo
06/17/2025