AI21 Labs website screenshot

AI21 Labs

AI21 Labs is an enterprise foundation-model company best known for the Jamba family of open-weight hybrid Mamba/Transformer models and AI21 Maestro, a dynamic planning system that orchestrates tools, retrieval, and validated output during inference. The platform exposes a Bearer-token REST API at api.ai21.com covering chat completions, conversational RAG over a managed file library, batch processing, fine-tuning, and function calling. Official Python and TypeScript SDKs wrap the API with sync and async clients and integrate natively into LangChain and LlamaIndex. Jamba weights are also published on Hugging Face for self-hosted vLLM deployment.

AI21 Labs publishes 4 APIs on the APIs.io network, including AI21 Jamba Chat Completions API, Chat API, Library API, and 1 more. Tagged areas include AI, Foundation Models, LLM, Jamba, and Mamba.

The AI21 Labs catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.

AI21 Labs’ developer surface includes authentication, documentation, API reference, engineering blog, pricing, changelog, and 8 more developer resources.

47.1/100 developing ▬ flat Agent 36/100 agent ready Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreeSelf serve⚡ Free to try
11 APIs
AIFoundation ModelsLLMJambaMambaRAGAgentsMaestroInferenceEnterprise AIFine-Tuning

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 47.1/100 · developing
Contract Quality 15.7 / 25
Developer Ergonomics 5.7 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 5.5 / 13
Governance 5.0 / 12
Discoverability 7.4 / 10
Agent readiness — 36/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 6 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/ai21-labs: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 11

Individual APIs this provider publishes, each with its own machine-readable definition.

AI21 Jamba Chat Completions API

Conversational completions endpoint backed by the Jamba family of hybrid Mamba/Transformer models (Jamba 1.5 Mini, Jamba 1.5 Large, Jamba 1.6). Accepts a message array, system p...

AI21 Maestro API

Dynamic planning system that, at inference time, determines the optimal sequence of actions to solve a task. Exposes run creation and retrieval endpoints, supports validated out...

AI21 File Library API

Managed file storage for RAG workflows. Upload, list, retrieve, update, and delete documents that Maestro and Jamba endpoints can ground on at inference time.

AI21 Batch API

Asynchronous batch processing for large volumes of Jamba completions. Submit a batch job, poll for status, and download results when the run completes.

AI21 Fine-Tuning API

Fine-tuning service for Jamba models supporting full, LoRA, and QLoRA strategies. Create training jobs from uploaded datasets and deploy the resulting model variants behind the ...

AI21 Python SDK

Official Python SDK (ai21 on PyPI) wrapping the AI21 Studio REST API with sync and async clients, streaming support, LangChain / LlamaIndex integrations, and helpers for chat, M...

AI21 TypeScript / JavaScript SDK

Official TypeScript and JavaScript client for the AI21 Studio API, with typed request and response models and streaming helpers for browser and Node.js runtimes.

AI21 Jamba on Hugging Face

Open-weight releases of the Jamba family on Hugging Face for self-hosted inference via vLLM, Transformers, and other runtimes.

AI21 Labs Chat API

The Chat API from AI21 Labs — 1 operation(s) for chat.

AI21 Labs Library API

The Library API from AI21 Labs — 1 operation(s) for library.

AI21 Labs Maestro API

The Maestro API from AI21 Labs — 2 operation(s) for maestro.

Scroll for all 11

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

AI21 Studio API

OPEN COLLECTION

GraphQL 1

GraphQL schemas published by this provider.

AI21 Labs GraphQL Schema

This conceptual GraphQL schema maps the AI21 Labs REST API surface — covering the Jamba chat completion, Maestro agentic planning, conversational RAG file library, batch process...

GRAPHQL

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Ai21 Labs Rate Limits

2 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

AI21 Studio Streaming API

AsyncAPI description of AI21 Labs' documented streaming surface. The AI21 Studio Jamba chat completions endpoint streams partial responses over HTTP using Server-Sent Events (SS...

ASYNCAPI

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

AI21 Labs API Rules

8 rules · 1 errors 7 warnings

SPECTRAL

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Ai21 Labs Authentication

http · 1 scheme

SECURITY

Ai21 Labs Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Ai21 Labs Agentic Access

5 operations · 3 acting

5 operations · 3 acting

AGENTIC

Resources

Documentation 2

Reference material describing how the API behaves

Agent Surfaces 2

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 2

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: ai21-labs
name: AI21 Labs
description: AI21 Labs is an enterprise foundation-model company best known for the Jamba family of open-weight hybrid Mamba/Transformer
  models and AI21 Maestro, a dynamic planning system that orchestrates tools, retrieval, and validated output during inference.
  The platform exposes a Bearer-token REST API at api.ai21.com covering chat completions, conversational RAG over a managed
  file library, batch processing, fine-tuning, and function calling. Official Python and TypeScript SDKs wrap the API with
  sync and async clients and integrate natively into LangChain and LlamaIndex. Jamba weights are also published on Hugging
  Face for self-hosted vLLM deployment.
type: Index
accessModel:
  pricing: free
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Free · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
position: Provider
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/ai21-labs.png
tags:
- AI
- Foundation Models
- LLM
- Jamba
- Mamba
- RAG
- Agents
- Maestro
- Inference
- Enterprise AI
- Fine-Tuning
url: https://raw.githubusercontent.com/api-evangelist/ai21-labs/refs/heads/main/apis.yml
created: '2026-05-23'
modified: '2026-05-29'
specificationVersion: '0.20'
apis:
- aid: ai21-labs:chat-completions
  name: AI21 Jamba Chat Completions API
  description: Conversational completions endpoint backed by the Jamba family of hybrid Mamba/Transformer models (Jamba 1.5
    Mini, Jamba 1.5 Large, Jamba 1.6). Accepts a message array, system prompts, temperature, max tokens, tools, and streaming,
    returning assistant messages with usage metadata.
  humanURL: https://docs.ai21.com/reference
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Chat
  - Completions
  - Jamba
  - LLM
  properties:
  - type: Documentation
    url: https://docs.ai21.com/reference
  - type: AsyncAPI
    url: https://raw.githubusercontent.com/api-evangelist/ai21-labs/refs/heads/main/asyncapi/ai21-labs-asyncapi.yml
  - url: graphql/ai21-labs-graphql.md
    type: GraphQL
- aid: ai21-labs:maestro
  name: AI21 Maestro API
  description: Dynamic planning system that, at inference time, determines the optimal sequence of actions to solve a task.
    Exposes run creation and retrieval endpoints, supports validated output for strict instruction following, and orchestrates
    RAG, web search, file libraries, MCP tools, and custom HTTP tools.
  humanURL: https://docs.ai21.com/docs/maestro
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Maestro
  - Planning
  - Agents
  - Validated Output
  properties:
  - type: Documentation
    url: https://docs.ai21.com/docs/maestro
- aid: ai21-labs:library
  name: AI21 File Library API
  description: Managed file storage for RAG workflows. Upload, list, retrieve, update, and delete documents that Maestro and
    Jamba endpoints can ground on at inference time.
  humanURL: https://docs.ai21.com/reference
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Files
  - RAG
  - Library
  - Documents
  properties:
  - type: Documentation
    url: https://docs.ai21.com/reference
- aid: ai21-labs:batch
  name: AI21 Batch API
  description: Asynchronous batch processing for large volumes of Jamba completions. Submit a batch job, poll for status,
    and download results when the run completes.
  humanURL: https://docs.ai21.com/reference
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Batch
  - Async
  - Inference
  properties:
  - type: Documentation
    url: https://docs.ai21.com/reference
- aid: ai21-labs:fine-tuning
  name: AI21 Fine-Tuning API
  description: Fine-tuning service for Jamba models supporting full, LoRA, and QLoRA strategies. Create training jobs from
    uploaded datasets and deploy the resulting model variants behind the standard chat completions endpoint.
  humanURL: https://docs.ai21.com/docs/fine-tuning
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Fine-Tuning
  - LoRA
  - QLoRA
  - Training
  properties:
  - type: Documentation
    url: https://docs.ai21.com/docs/fine-tuning
- aid: ai21-labs:python-sdk
  name: AI21 Python SDK
  description: Official Python SDK (ai21 on PyPI) wrapping the AI21 Studio REST API with sync and async clients, streaming
    support, LangChain / LlamaIndex integrations, and helpers for chat, Maestro, library, and batch.
  humanURL: https://github.com/AI21Labs/ai21-python
  baseURL: https://github.com/AI21Labs/ai21-python
  tags:
  - SDK
  - Python
  - PyPI
  properties:
  - type: Repository
    url: https://github.com/AI21Labs/ai21-python
- aid: ai21-labs:typescript-sdk
  name: AI21 TypeScript / JavaScript SDK
  description: Official TypeScript and JavaScript client for the AI21 Studio API, with typed request and response models and
    streaming helpers for browser and Node.js runtimes.
  humanURL: https://github.com/AI21Labs/ai21-typescript
  baseURL: https://github.com/AI21Labs/ai21-typescript
  tags:
  - SDK
  - TypeScript
  - JavaScript
  properties:
  - type: Repository
    url: https://github.com/AI21Labs
- aid: ai21-labs:huggingface
  name: AI21 Jamba on Hugging Face
  description: Open-weight releases of the Jamba family on Hugging Face for self-hosted inference via vLLM, Transformers,
    and other runtimes.
  humanURL: https://huggingface.co/ai21labs
  baseURL: https://huggingface.co/ai21labs
  tags:
  - Hugging Face
  - Open Weights
  - Jamba
  - Self-Hosted
  properties:
  - type: Repository
    url: https://huggingface.co/ai21labs
- aid: ai21-labs:ai21-labs-chat-api
  name: AI21 Labs Chat API
  description: The Chat API from AI21 Labs — 1 operation(s) for chat.
  humanURL: https://docs.ai21.com/reference
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Chat
  properties:
  - type: OpenAPI
    url: openapi/ai21-labs-chat-api-openapi.yml
- aid: ai21-labs:ai21-labs-library-api
  name: AI21 Labs Library API
  description: The Library API from AI21 Labs — 1 operation(s) for library.
  humanURL: https://docs.ai21.com/reference
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Library
  properties:
  - type: OpenAPI
    url: openapi/ai21-labs-library-api-openapi.yml
- aid: ai21-labs:ai21-labs-maestro-api
  name: AI21 Labs Maestro API
  description: The Maestro API from AI21 Labs — 2 operation(s) for maestro.
  humanURL: https://docs.ai21.com/reference
  baseURL: https://api.ai21.com/studio/v1
  tags:
  - Maestro
  properties:
  - type: OpenAPI
    url: openapi/ai21-labs-maestro-api-openapi.yml
common:
- type: AgenticAccess
  url: agentic-access/ai21-labs-agentic-access.yml
- type: DomainSecurity
  url: security/ai21-labs-domain-security.yml
- type: Authentication
  url: authentication/ai21-labs-authentication.yml
- type: Website
  url: https://www.ai21.com/
- type: Documentation
  url: https://docs.ai21.com/
- type: APIReference
  url: https://docs.ai21.com/reference
- type: GitHubOrganization
  url: https://github.com/AI21Labs
- type: HuggingFace
  url: https://huggingface.co/ai21labs
- type: Blog
  url: https://www.ai21.com/blog/
- type: Pricing
  url: https://www.ai21.com/pricing/
- type: ChangeLog
  url: https://docs.ai21.com/changelog
- type: LinkedIn
  url: https://www.linkedin.com/company/ai21/
- type: X
  url: https://x.com/AI21Labs
- type: LlmsText
  url: https://docs.ai21.com/llms.txt
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com