Skip to content
GoogleEmbeddingstext-embedding-004

Text Embedding 004

Text Embedding 004 for Embeddings.

Explore Text Embedding 004 for Embeddings through the unified API. Supported interfaces and current availability are shown below.

  • Embeddings

Model details

Context window
2K tokens
Max output
—
Input
Text
Output
Embeddings
Capabilities
—
Interfaces
Embeddings

Pricing

Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.

Text Embedding 004 pricing.
MetricPrice
/ 1M input tokens$0.025

Why teams pick it

  • Text Embedding 004 for Embeddings.

Call Text Embedding 004

Text Embedding 004 answers on the API below — pick the one your code already speaks and just swap in your Inferray key.

/v1/embeddingsEmbeddings · openai SDK or plain HTTP
curl https://api.inferray.com/v1/embeddings \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "text-embedding-004",
  "input": [
    "A sample document"
  ]
}'

More from Google

Questions about this model

Is there a free tier for Text Embedding 004?
No. You add credit and pay Text Embedding 004's list rate for each request — seats, projects, and API keys are free, and pay-as-you-go credit never expires.
Am I charged for failed requests?
No. A request that fails without returning a result is not billed. If a response fails part-way, the tokens already processed before the failure are charged.
Is Text Embedding 004 included in Token Plans?
No. Text Embedding 004 is pay-as-you-go only; Token Plans cover the other text models in the catalog.
Does Text Embedding 004 support tool calling and vision?
Text Embedding 004 takes text in and returns text.
Is it the real Text Embedding 004?
Yes. A request for text-embedding-004 is answered by Text Embedding 004 from Google, billed at its published list price. Inferray never substitutes a different or smaller model.