AI21 Labs via VerticalAPI
AI21 Jamba 1.5 Large and Mini (hybrid Mamba/Transformer, 256K context) via VerticalAPI's OpenAI-compatible endpoint. BYOK, zero markup.
AI21 Labs models routed by VerticalAPI
Pass the model ID below as model in any OpenAI-compatible request. New AI21 Labs models are typically supported within 24h of release.
| Model ID | Name | Context | Pricing (provider) |
|---|---|---|---|
jamba-1.5-large |
Jamba 1.5 Large | 256K | $2 / $8 per 1M tok |
jamba-1.5-mini |
Jamba 1.5 Mini | 256K | $0.20 / $0.40 per 1M tok |
Pricing reflects AI21 Labs's rates — you pay AI21 Labs directly. VerticalAPI adds zero markup on tokens.
5-line AI21 Labs call via VerticalAPI
Drop-in replacement for the OpenAI SDK. Works with the OpenAI Python client, Node, Go, curl — anything that speaks HTTP.
from openai import OpenAI client = OpenAI( base_url="https://api.verticalapi.com/v1", api_key="vapi_...", default_headers={"X-Provider-Key": "..."} ) response = client.chat.completions.create( model="jamba-1.5-mini", # AI21 Labs messages=[{"role": "user", "content": "Hello"}] ) print(response.choices[0].message.content)
What VerticalAPI does and does not do with AI21 Labs
Not routed today
VerticalAPI does not proxy AI21 Labs. This page documents AI21 Labs's own models and pricing so you can compare it; call AI21 Labs directly to use it.
What it does route
11 providers behind one OpenAI-compatible endpoint: Anthropic, Cerebras, DeepInfra, Fireworks, Google AI Studio, Groq, Mistral, OpenAI, OpenRouter, Together, xAI. Switchable per request, same SDK.
No token markup on those
Bring your own key and pay the provider directly. VerticalAPI's revenue is the gateway subscription, not a share of your tokens.
Prompts are never stored
Each request is recorded as metadata only — vertical, model, token counts, latency, status. There is no column for prompt or completion text.
Where AI21 Labs shines
Frequently asked questions
What is AI21 and what models do they offer?
AI21 Labs is an Israeli AI lab focused on enterprise NLP. The 2026 lineup is the Jamba family (Jamba 1.5 Large and Mini — hybrid Mamba+Transformer with 256K context), Maestro for multi-agent orchestration and AI21 Studio for building task-specific apps. Jamba is also available via AWS Bedrock, Azure AI, Google Vertex AI and Snowflake. AI21 emphasizes long-context efficiency and grounded enterprise outputs.
How much does AI21 cost in 2026?
Jamba 1.5 Large is roughly $2 per 1M input tokens and $8 per 1M output. Jamba 1.5 Mini is around $0.20/$0.40. Pricing on AWS Bedrock and Azure mirrors AI21's list. Maestro is bundled into enterprise contracts. You pay AI21 directly, on AI21's own account.
Can I use AI21 through VerticalAPI?
Create a key at studio.ai21.com, paste it into VerticalAPI, then point the OpenAI SDK at https://api.verticalapi.com/v1. VerticalAPI translates OpenAI chat completions into AI21's Jamba chat endpoint, preserves long context, JSON mode and streaming. Billing remains on your AI21 invoice (or your AWS / Azure invoice if you go via Bedrock or Azure AI).
What is AI21 best for compared to alternatives?
AI21 Jamba wins on long-context cost-efficiency: the Mamba+Transformer architecture handles 256K context much cheaper per token than Transformer-only models like GPT-4o or Claude. Ideal for long-document RAG, contract analysis, financial filings. Compared to Gemini 2.5 Pro (2M context) it has smaller window but cheaper effective cost-per-token. Not a fit for frontier reasoning or agentic coding.
Where is AI21 hosted / data privacy?
AI21 Studio runs on AWS, with Jamba available natively on AWS Bedrock, Azure AI and Vertex AI. Inputs and outputs are not used to train models. Enterprise tier offers zero data retention, SOC 2 and HIPAA. EU regional deployment is available via the hyperscalers. Your contract and data terms stay between you and AI21.
Limitations and trade-offs
- Smaller ecosystem than OpenAI/Anthropic — fewer SDKs, tools and community integrations.
- Quality on coding and reasoning benchmarks trails GPT-5 and Claude Sonnet 4.5.
- No native multimodal (vision, audio) on the Jamba family.
- Pricing on the Large tier ($8 output / 1M) is high relative to open-weight Llama 70B hosts.
- Maestro and agent features are newer and less battle-tested than mature frameworks.
Where AI21 is heading
- Jamba 2 generation expected with improved quality and longer effective context.
- Multimodal Jamba variants on the roadmap.
- Expansion of Maestro agent orchestration into a broader enterprise platform.
- Wider sovereign cloud and on-prem deployment options for regulated industries.
Related questions
ChatGPT, Perplexity and Gemini usually suggest these next.
- AI21 Jamba vs Claude Sonnet 4.5 for long-document RAG?
- Is Mamba+Transformer hybrid actually cheaper at 256K context?
- AI21 on AWS Bedrock vs direct AI21 — which to pick?
- Best use cases for AI21 Maestro vs LangGraph?
- Jamba Mini vs GPT-4o mini for cheap enterprise chat?
All supported LLM providers
Same endpoint, same SDK — just change the model and the BYOK header.
Ship on AI21 Labs in 60 seconds
Free tier — bring your own AI21 Labs key, zero markup, OpenAI-compatible endpoint.
Get your VerticalAPI key →