Skip to content

Cohere

Overview

Cohere builds enterprise-focused language models with strong retrieval-augmented generation (RAG) capabilities. Floopy proxies requests to Cohere’s v2 chat API.

Supported Models

ModelContext WindowNotes
command-r-plus128KMost capable Cohere model
command-r128KBalanced performance and cost
command-r-plus-08-2024128KAugust 2024 snapshot
command-r-08-2024128KAugust 2024 snapshot

Setup

  1. Go to Settings > Providers in the dashboard.
  2. Click Add provider and select Cohere.
  3. Paste your Cohere API key and click Save.

Usage

import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.floopy.ai/v1",
apiKey: process.env.FLOOPY_API_KEY,
});
const response = await client.chat.completions.create({
model: "command-r-plus",
messages: [{ role: "user", content: "Explain quantum computing." }],
});

Provider-Specific Features

  • RAG-optimized — Cohere models are designed for retrieval-augmented generation workloads.
  • Enterprise focus — Strong data privacy and compliance guarantees.
  • Multilingual — Command R models support 10+ languages natively.