Migrating from gemini-embedding-001 to gemini-embedding-2
What changes when you move from gemini-embedding-001 to gemini-embedding-2: context window 2,048 → 8,192 tokens.
- Status
- Deprecated
- Shutdown
- May 14, 2028 at the earliest
- Time left
- 577 days
- Status
- Active
- Shutdown
- none announced
- Time left
- —
Prices
USD per 1M tokens, standard tierNeither model has published per-token prices.
Limits
Tokens| Limit | gemini-embedding-001 | gemini-embedding-2 | Change |
|---|---|---|---|
| Context window | 2,048 tokensin place when tracking began (October 6, 2026) · source | 8,192 tokensin place when tracking began (October 6, 2026) · source | +300% |
| Max output tokens | Not published | Not published | — |
Features and parameters
Compare modelsNo feature is published for both models, so none can be compared.
Not published for gemini-embedding-001: Structured outputs, Function calling, Prompt caching, Batch API, Image input, PDF input, Reasoning / thinking, Fine-tuning, Built-in web search, temperature parameter, top_p parameter, logprobs, Max output tokens.
Not published for gemini-embedding-2: Structured outputs, Function calling, Prompt caching, Batch API, Reasoning / thinking, Fine-tuning, Built-in web search, temperature parameter, top_p parameter, logprobs, Max output tokens.
Aliases
All aliasesNo aliases point at either model.
Checklist
- Change the model string from
gemini-embedding-001togemini-embedding-2.
Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: gemini-embedding-001, gemini-embedding-2.