AI Gateway

All Models/

Embed v4.0

Embed v4.0 by Cohere

A model that allows for text, images, or mixed content to be classified or turned into embeddings.

index.ts
import { embed } from 'ai';
const result = await embed({
model: 'cohere/embed-v4.0',
value: 'Sunny day at the beach',
})