# AI21 Jamba API (slim)

> AI21 Labs' hosted Jamba API serves the jamba-large and jamba-mini chat models over a REST chat completions endpoint, with function calling, JSON mode and a 256K-token context. Python and TypeScript SDKs wrap it.

- Full: https://www.anchorterminal.com/tools/ai21.md (~8,550 tokens) · this version ~1,780 tokens · JSON https://www.anchorterminal.com/tools/ai21.json · canonical https://www.anchorterminal.com/tools/ai21
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-29 · pricing https://www.anchorterminal.com/tools/ai21#pricing · reviews https://www.anchorterminal.com/tools/ai21#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**B · 62.1/100 · rank #789 of 1738 · #32 in Model APIs & inference · not agent-ready · confidence medium**


Assessment: The reference documents chat completions, tool calls and JSON mode, rate limits are published at 10 requests a second, and prices and a card-free $10 trial are public. The newest dated model is from January 2026, the changelog stops in December 2025 and no OpenAPI file was found.

## Facts

- Kind: Model API · vendor: AI21 Labs · category: Model APIs & inference · legal entity: AI21 Labs Ltd. · provenance 79/100
- Endpoint: `https://api.ai21.com/studio/v1/chat/completions` (HTTP)
- Auth: API key · pricing: Freemium · x402: no · licence: Proprietary service under AI21's terms of use. The Python and TypeScript SDKs are Apache-2.0
- Benchmark probes: not run yet, so Performance is pending
- Live, from our pollers (not part of the score): up at 2026-11-30 00:11 UTC · uptime 30 days 100.0% (13 probes) · p50 325 ms · p95 439 ms over 24 hours
- Vendor status page: no problems reported, All Systems Operational (2026-11-30 00:07 UTC)
- Surface listed: The hosted Jamba chat completions API at api.ai21.com/studio/v1, read from docs.ai21.com, ai21.com, the status page, the trust centre and the AI21Labs SDK repositories on 29 November 2026. No account was made and no call was sent. Maestro, the File Library and the Batch API are named and not graded
- Endpoint: `POST /studio/v1/chat/completions`. `model` and `messages` required. Optional `tools` (function type only), `documents`, `response_format` (`json_object`), `max_tokens` (up to 4096), `temperature` (0 to 2, default 0.4), `top_p`, `stop`, `n` (1 to 16) and `stream`
- Live models: `jamba-large` (1.7, 2025-07) and `jamba-mini` (2, 2026-01), 256K tokens each. Jamba 3B has no API endpoint in the docs table. Knowledge cut-off is stated as 22 August 2024
- Rate limits: 10 requests a second and 200 a minute for Jamba Large and Jamba Mini. Higher limits by email to sales
- Errors: The chat response page lists 500, 429 and 401. The Python SDK retries with exponential backoff through tenacity. No Retry-After header is documented
- Batch: A `.jsonl` file of requests processed asynchronously, enterprise only through sales, no price published
- Free tier: $10 credit on a new account, no card. 7 days on the pricing page and three months in the docs
- Training and retention: The terms and privacy policy say AI21 does not train its general models on customer inputs or outputs unless agreed in writing. A retention period for API prompts was not found. The trust centre mentions an optional traceless mode
- Data location: AI21 Labs Ltd. is in Tel Aviv. The privacy policy says data can be processed in Israel, the United States, the EEA and the UK. The trust centre has a subprocessor list that was not read
- SDKs: Python `ai21` 4.3.0 (6 November 2025) and TypeScript `ai21` 1.3.0 (20 September 2025), Apache-2.0
- Status: status.ai21.com on Atlassian Statuspage. Its history feed holds three J1-Jumbo maintenance entries from March 2023 and nothing since
- Community: A Discord server linked from the site footer, support@ai21.com in the API reference and a vulnerability disclosure page
- Models ($/1M in/out): `jamba-large` $2/$8; `jamba-mini` $0.20/$0.40
- 2026-02-01 Shutdown: `jamba-mini-1.7-2025-08` deprecated
- 2025-08-03 Shutdown: `jamba-large-1.6-2025-03` and `jamba-mini-1.6-2025-03` deprecated
- 2025-05-06 Shutdown: `jamba-large-1.5-2024-08` and `jamba-mini-1.5-2024-08` deprecated
- 2025-10-01 Notice: `tool_resources` parameter on POST /studio/v1/maestro/runs to be deprecated in favour of `tools`

- Scores: Reliability 83, Performance not tested, Schema & documentation 54, Agent ergonomics 61, Security & auth 63, Payments & pricing 60, Task success not tested, Maintenance & community 28, Transparency & trust 67
- Why: Reliability, Hosted lines. · Schema & documentation, Model reading. · Agent ergonomics, Model reading. · Security & auth, Model reading. · Payments & pricing, No x402, MPP or L402 in the docs or pricing page (0). · Maintenance & community, The last published API change is Jamba Mini 2 (snapshot 2026-01) in the model table, about 10 months before this check. · Transparency & trust, Closed service under published terms, Apache-2.0 SDKs, and the docs say the Jamba weights can be downloaded, with the licence not read (15 o…
- Sources: 13, open questions: 11, both in the full twin
- Capabilities: inference.llm, inference.open-weights
- JSON: https://www.anchorterminal.com/api/v1/tools/ai21.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/ai21.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: Discord https://discord.com/invite/cKzg6GEAyB; support@ai21.com; https://docs.ai21.com/; more in the full twin

## Before you call it

1. Call `POST https://api.ai21.com/studio/v1/chat/completions` with `Authorization: Bearer <key>`. `model` and `messages` are required, and `max_tokens` cannot exceed 4096
2. Pin a dated model such as `jamba-large-1.7` or `jamba-mini-2` in production, because `jamba-large` and `jamba-mini` move when AI21 updates them
3. Set `stream` to false when you send `tools`, and keep `n` at 1 when `stream` is true, as the reference requires
4. On 429, back off and retry. Stay under 10 requests a second and 200 a minute per model
5. Keep the key out of prompts and logs. It is shown once and carries every permission of the workspace

## Connect

```bash
pip install ai21   # or: npm i ai21
```

```bash
curl https://api.ai21.com/studio/v1/chat/completions -H "Authorization: Bearer $AI21_API_KEY" -H "Content-Type: application/json" -d '{"model":"jamba-mini","messages":[{"role":"user","content":"Hello"}]}'
```

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Vertex AI (Gemini Enterprise Agent Platform) | AA | 91.2 | inference.llm, inference.open-weights | https://www.anchorterminal.com/tools/vertex-ai.min.md |
| Amazon Bedrock | A | 83.5 | inference.llm, inference.open-weights | https://www.anchorterminal.com/tools/amazon-bedrock.min.md |
| Azure OpenAI in Foundry Models | A | 81.2 | inference.llm, inference.open-weights | https://www.anchorterminal.com/tools/azure-openai.min.md |
| GroqCloud | BB | 77 | inference.llm, inference.open-weights | https://www.anchorterminal.com/tools/groq.min.md |
| DigitalOcean Serverless Inference | BB | 74.6 | inference.llm, inference.open-weights | https://www.anchorterminal.com/tools/digitalocean-serverless-inference.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

