Gemini Embedding 001

Google
google/gemini-embedding-001Closed API

Embedding model for semantic search, retrieval, clustering, and ranking pipelines

Benchmark Pricing$0.15 / 1M in$0.00 / 1M out
Context: 2,048 tokens•Max Output: 1 tokens•Knowledge: 2025-05•Released: 2025-05-20

TECHNICAL SPECIFICATIONS

Context Window2,0482K tokens
Max Output11 tokens
LicenseProprietaryCloud API only
Input Modalities
Text
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ Gemini Embedding 001 does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 2,048 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.

API CALL INVOCATION EXAMPLE

// Example: Calling Gemini Embedding 001 via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.GOOGLE_API_KEY,
});

const response = await client.chat.completions.create({
  model: "google/gemini-embedding-001",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

4 providers
Googlegemini-embedding-001
$0.15 / $0.00
Tempr Gatewaygoogle/gemini-embedding-001
$0.15 / $0.00
Merge Gatewaygoogle/gemini-embedding-001
$0.15 / $0.00
Vertexgemini-embedding-001
$0.15 / $0.00

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

MODEL RESOURCES