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
Context
2,048
tokens
Input from
$0.02
per 1M tokens
Output from
$0.00
per 1M tokens
Providers
1
one route
Released
May 14, 2024
No ratings yetSign in to rate

Providers for Text Embedding 004

Compare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.

1 provider

ProviderActions
2.0k$0.025

Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.

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.