Text Embedding 004

Vertex AI text embedding model. Returns 768-dimensional vectors; supports the `dimensions` parameter (1–768) and native batching (up to 250 inputs per request).

text-embedding-004
Embedding modelSTABLEGet StartedView uptime
2,048 context
Released May 14, 2024
Starting at $0.02/M input tokens
Starting at $0.00/M output tokens
Embeddings
No ratings yetSign in to rate

Select Provider

All Providers for Text Embedding 004

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

Google Vertex AI
Context: 2.0k
Input
$0.025
/M tokens
Cache Read
/M tokens
Output
$0
/M tokens
Get Started

Frequently asked questions

What is Text Embedding 004?

Vertex AI text embedding model. Returns 768-dimensional vectors; supports the `dimensions` parameter (1–768) and native batching (up to 250 inputs per request). You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does Text Embedding 004 cost?

Pricing for Text Embedding 004 on LLM Gateway starts at $0.02 per million input tokens and $0.00 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of Text Embedding 004?

Text Embedding 004 supports a context window of up to 2,048 tokens on its largest provider deployment.

Which providers serve Text Embedding 004?

Text Embedding 004 is served by Google Vertex AI through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does Text Embedding 004 support tool calling and structured outputs?

No. Text Embedding 004 does not currently support tool calling or structured JSON outputs through LLM Gateway.

When was Text Embedding 004 released?

Text Embedding 004 was released on May 14, 2024.