Introduction
Cohere Embed v5 Fast encodes inputs up to 128,000 tokens into 2,048-dimensional vectors with low latency for high-throughput retrieval.
| Field | Value |
|---|---|
| Input | Text |
| Output | Structured data |
| Dimensions | 2048 |
| Context window | 128,000 tokens |
| Batch limits | 128 items · 300K tokens |
Key features & highlights
Dense 2048-dimensional representations
Cohere Embed v5 Fast from Cohere outputs floating-point vectors of 2048 dimensions ready for cosine similarity search, clustering, and reranking pipelines.
Single-text or homogeneous batch requests
Send Cohere Embed v5 Fast one passage or a batch of up to 128 strings or token arrays synchronously, preserving each vector's original input index.
Request parameters
| Parameter | Required | Description |
|---|---|---|
embedding_input | Yes | Pass a single string, a batch of up to 128 strings, or token ID arrays for Cohere Embed v5 Fast; each returned vector keeps its input index. |
Pricing
$0.0000776 / 1M input tokens
Cohere Embed v5 Fast is billed by measured input tokens.
Use cases
Semantic search and RAG indexing
Index knowledge bases and technical collections with Cohere Embed v5 Fast to retrieve relevant passages before passing context to a generation model.
Clustering and duplicate detection
Compare 2048-dimensional vectors from Cohere Embed v5 Fast to group similar tickets, articles, or code snippets.
Prompt guide & pro tips
Prompt guide & Pro tips
Use Cohere Embed v5 Fast for both document indexing and query embedding, keeping each Cohere Embed v5 Fast call within 128 items and 300,000 tokens and re-embedding when text changes.
Introduction
Cohere Embed v5 Fast encodes inputs up to 128,000 tokens into 2,048-dimensional vectors with low latency for high-throughput retrieval.
Key features
Cohere Embed v5 Fast from Cohere outputs floating-point vectors of 2048 dimensions ready for cosine similarity search, clustering, and reranking pipelines.
Send Cohere Embed v5 Fast one passage or a batch of up to 128 strings or token arrays synchronously, preserving each vector's original input index.
Use cases
Index knowledge bases and technical collections with Cohere Embed v5 Fast to retrieve relevant passages before passing context to a generation model.
Compare 2048-dimensional vectors from Cohere Embed v5 Fast to group similar tickets, articles, or code snippets.
Usage tips
Use Cohere Embed v5 Fast for both document indexing and query embedding, keeping each Cohere Embed v5 Fast call within 128 items and 300,000 tokens and re-embedding when text changes.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "cohere/embed-v5-fast/embedding",
"input": {
"embedding_input": "The customer asks for a refund after being billed twice."
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.



