Skip to content

Google Vertex AI · embedding

text-embedding-004

vertex_ai/text-embedding-004

Input price
Not listed
Output price
Not listed
Context window
2K tokens
Lifecycle
deprecated

text-embedding-004 for OpenAI-compatible gateway routing

text-embedding-004 is a Google Vertex AI embedding model in the Ferro Labs live catalog with a 2K tokens context window, Not listed maximum output, and capabilities including Streaming.

Token pricing is listed as input price not listed and output price not listed. Route calls through the Ferro Labs AI Gateway by sending model as vertex_ai/text-embedding-004 to the OpenAI-compatible chat completions endpoint. The catalog marks this model as deprecated; plan a migration before routing new workloads.

OpenAI-compatible usage example

curl https://api.ferrolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "vertex_ai/text-embedding-004", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Google Vertex AI

Catalog prices may change. Verify current provider terms before purchasing.