Skip to content

AI21

Overview

AI21 Labs builds the Jamba family of models, featuring a hybrid SSM-Transformer architecture optimized for long-context and enterprise workloads. Floopy proxies requests to AI21’s OpenAI-compatible API.

Supported Models

ModelContext WindowNotes
jamba-1.5-large256KLargest Jamba model
jamba-1.5-mini256KFast, cost-efficient Jamba

Setup

  1. Go to Settings > Providers in the dashboard.
  2. Click Add provider and select AI21.
  3. Paste your AI21 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: "jamba-1.5-large",
messages: [{ role: "user", content: "Explain quantum computing." }],
});

Provider-Specific Features

  • 256K context window — Jamba models support extremely long contexts, ideal for document processing.
  • Hybrid architecture — SSM-Transformer design offers efficient inference on long sequences.
  • Enterprise-grade — AI21 offers strong enterprise support and data privacy guarantees.