# Google Text Embedding 004 — deprecation status

> Yes — Text Embedding 004 is retired. Google shut it down on January 14, 2026; API requests to it now fail. The recommended replacement is Gemini Embedding 2.

Google's pre-Gemini-branded embedding model from April 2024, and the id most early Vertex and AI Studio RAG stacks were built on. It shut down on 14 January 2026 after a twenty-one month run. Embedding retirements are the expensive kind: the vectors it produced are not comparable with any successor's, so migrating means re-embedding the whole corpus.

## Facts

| Field | Value |
| --- | --- |
| Provider | Google |
| Model id | `text-embedding-004` |
| Status | Retired |
| Released | April 9, 2024 |
| Shutdown | January 14, 2026 (201 days ago) |
| Last verified | August 3, 2026 |

## Replacement

- **Gemini Embedding 2** (`gemini-embedding-2`) · recommended — https://modeldeprecations.dev/google/gemini-embedding-2
  - Parameters it accepts: https://modelparams.dev/models/google/gemini-embedding-2

```diff
- "model": "text-embedding-004"
+ "model": "gemini-embedding-2"
```

## FAQ

### When did Google Text Embedding 004 shut down?

Google Text Embedding 004 shut down on January 14, 2026. API requests to it fail from that date onward.

### What replaces Google Text Embedding 004?

Google recommends Gemini Embedding 2 (`gemini-embedding-2`) as the replacement for Google Text Embedding 004.

### Is Google Text Embedding 004 still available?

No. Google Text Embedding 004 is retired and no longer served — it was shut down on January 14, 2026. Calls to it return an error.

### How do I migrate from Google Text Embedding 004 to gemini-embedding-2?

Swap the model id in your API call: replace "text-embedding-004" with "gemini-embedding-2". Keep the rest of the request the same, then re-check the parameters the new model accepts before you ship.

## Sources

- [Gemini API deprecations](https://ai.google.dev/gemini-api/docs/deprecations) — accessed 2026-08-03

---

Canonical page: https://modeldeprecations.dev/google/text-embedding-004
JSON: https://modeldeprecations.dev/api/v1/models/google/text-embedding-004.json
