AI Gateway

/

Command R+

Command R+ by Cohere

Command R+ is Cohere's newest large language model, optimized for conversational interaction and long-context tasks. It aims at being extremely performant, enabling companies to move beyond proof of concept and into production.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'cohere/command-r-plus',
prompt: 'Why is the sky blue?'
})