{
  "id": "ai21--langchain",
  "schema_version": "1.2",
  "app": {
    "slug": "ai21",
    "name": "AI21 Labs",
    "vendor": "AI21 Labs",
    "website": "https://www.ai21.com",
    "categories": [
      "ai-inference"
    ],
    "owned_by_platform": false
  },
  "ecosystem": "langchain",
  "connection": {
    "built_by": "ecosystem-owner",
    "method": "native-api",
    "setup_docs_url": "https://docs.langchain.com/oss/python/integrations/providers/ai21"
  },
  "sync": [
    {
      "object": "chat-models",
      "direction": "supported",
      "notes": "ChatAI21 is the LangChain chat model for AI21.",
      "src": [
        "s1"
      ]
    },
    {
      "object": "python-package",
      "direction": "supported",
      "notes": "Package: langchain-ai21.",
      "src": [
        "s1"
      ]
    }
  ],
  "pricing": {
    "model": "usage-based",
    "plans": [
      {
        "prices": {},
        "name": "Pay As You Go",
        "billing": "per-transaction",
        "rate": "Jamba Mini US$0.2 / 1M input tokens and US$0.4 / 1M output tokens; Jamba Large US$2 / 1M input tokens and US$8 / 1M output tokens; page shows $ without a currency code, read as USD",
        "per": "usage-based; page shows $ without a currency code, read as USD",
        "src": [
          "s2"
        ]
      }
    ]
  },
  "regions": {
    "supported": [
      "GLOBAL"
    ],
    "basis": "no-restriction-stated",
    "src": [
      "s1"
    ],
    "label": "No regional restriction stated"
  },
  "requirements": {
    "ecosystem_plan_min": "unknown",
    "ecosystem_features_required": [],
    "src": [
      "s1"
    ]
  },
  "limitations": [
    {
      "summary": "AI21LLM and AI21ContextualAnswers are listed as deprecated on LangChain's AI21 page; use ChatAI21",
      "severity": "moderate",
      "src": [
        "s1"
      ]
    },
    {
      "summary": "An AI21 API key is needed (AI21_API_KEY)",
      "severity": "minor",
      "src": [
        "s1"
      ]
    }
  ],
  "alternatives": [],
  "editorial": {
    "answer_summary": "AI21 Labs works with LangChain: chat models and Python package. Usage-based: Jamba Mini US$0.2 / 1M input tokens and US$0.4 / 1M output tokens; Jamba Large US$2 / 1M input tokens and US$8 / 1M output tokens; page shows $ without a currency code, read as USD.",
    "best_for": [],
    "not_ideal_for": []
  },
  "profile": {
    "status": "listed"
  },
  "sources": [
    {
      "id": "s1",
      "url": "https://docs.langchain.com/oss/python/integrations/providers/ai21.md",
      "title": "https://docs.langchain.com/oss/python/integrations/providers/ai21.md",
      "type": "platform-docs",
      "retrieved_at": "2026-11-24T04:51:28Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "4d39b3b2052347680c3fce4e28094796ede1edc6fbce49e2cd30e31ef1950d2a",
        "text_sha256": "205d2a6e7c892dcb03bdb11fb1d901d2f2f06b5c13f81a7b35d4d783d8408304"
      }
    },
    {
      "id": "s2",
      "url": "https://www.ai21.com/pricing",
      "title": "Pricing - Cost-Effective, Transparent Pricing for AI Products | AI21",
      "type": "vendor-pricing",
      "retrieved_at": "2026-11-24T04:53:14Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "681ab91555bc54c74f29e66658379dffdc86b9af2cbbc8fcf6070579707bf888",
        "text_sha256": "0742b44e33af3c2ede38e36e6f78af206c494a24d8a851d116b5d8fb8f09e2f5"
      }
    }
  ],
  "verification": {
    "status": "verified",
    "last_verified": "2026-11-24",
    "verified_by": [
      "research-agent"
    ],
    "open_flags": []
  },
  "publishing": {
    "state": "live",
    "batch": "LOD-96 LangChain batch 2"
  },
  "changelog": [
    {
      "date": "2026-11-24",
      "change": "Record created from public sources (LOD-96 LangChain batch 2): https://docs.langchain.com/oss/python/integrations/providers/ai21.md; Pricing - Cost-Effective, Transparent Pricing for AI Products | AI21."
    },
    {
      "date": "2026-11-29",
      "change": "Answer summary now names the currency next to each price (LOD-200)."
    }
  ],
  "not_documented": [
    "embeddings",
    "vector-stores",
    "retrievers",
    "tools",
    "document-loaders",
    "rerankers",
    "checkpointers",
    "tracing",
    "sandboxes",
    "javascript-package"
  ],
  "vendor": {
    "id": "ai21-labs",
    "name": "AI21 Labs",
    "api": "https://trylode.io/api/vendors/ai21-labs.json"
  },
  "url": "https://trylode.io/langchain/ai21/",
  "facts": [
    {
      "id": "sync-chat-models",
      "topic": "sync",
      "statement": "AI21 Labs's models can be used as LangChain chat models.",
      "label": "Lode-verified",
      "verified": "2026-11-24",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/langchain/ai21/#sync-chat-models"
    },
    {
      "id": "sync-python-package",
      "topic": "sync",
      "statement": "AI21 Labs's LangChain integration is available as a Python package.",
      "label": "Lode-verified",
      "verified": "2026-11-24",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/langchain/ai21/#sync-python-package"
    },
    {
      "id": "price-pay-as-you-go",
      "topic": "pricing",
      "statement": "AI21 Labs's Pay As You Go plan charges Jamba Mini $0.2 / 1M input tokens and $0.4 / 1M output tokens; Jamba Large $2 / 1M input tokens and $8 / 1M output tokens; page shows $ without a currency code, read as USD.",
      "label": "Lode-verified",
      "verified": "2026-11-24",
      "src": [
        "s2"
      ],
      "url": "https://trylode.io/langchain/ai21/#price-pay-as-you-go"
    },
    {
      "id": "regions",
      "topic": "regions",
      "statement": "The sources don't limit AI21 Labs to particular countries.",
      "label": "Lode-verified",
      "verified": "2026-11-24",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/langchain/ai21/#regions"
    },
    {
      "id": "limitation-1",
      "topic": "limitation",
      "statement": "AI21LLM and AI21ContextualAnswers are listed as deprecated on LangChain's AI21 page; use ChatAI21.",
      "label": "Lode-verified",
      "verified": "2026-11-24",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/langchain/ai21/#limitation-1"
    },
    {
      "id": "limitation-2",
      "topic": "limitation",
      "statement": "An AI21 API key is needed (AI21_API_KEY).",
      "label": "Lode-verified",
      "verified": "2026-11-24",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/langchain/ai21/#limitation-2"
    }
  ],
  "cite_as": "Lode (trylode.io), AI21 Labs + LangChain, verified 2026-11-24",
  "lode": {
    "publish_state": "live",
    "stale": false,
    "completeness": 0.7
  }
}