Using Cohere Embed 5 Fast on Vercel AI Gateway
Implementation guide · Cohere Embed · Cohere
Vercel AI Gateway exposes Cohere Embed 5 Fast through model ID cohere/embed-v5.0-fast. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-10-21. Next refresh: weekly.
Quick Start
- 1
- 2Use the Vercel AI Gateway SDK or REST API to call
cohere/embed-v5.0-fast— see the documentation for request format. - 3
Code Examples
pip install openaiAI_GATEWAY_API_KEYcohere/embed-v5.0-fastcreator/model-name e.g. kwaipilot/kat-coder-pro-v2
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],
base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
model="cohere/embed-v5.0-fast",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Vercel AI Gateway
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.08 |
Capabilities
About Cohere Embed 5 Fast
Cohere Embed 5 Fast is the faster, lighter tier of Cohere's Embed 5 embedding family, released September 30, 2026. It embeds text, images and mixed documents such as PDFs with a 128K-token context and output dimensions from 256 to 2,048, and Pro and Fast share one embedding space so a corpus indexed with Pro can be queried with Fast. The Cohere API serves it as embed-v5.0-fast at $0.08 per 1M tokens.