Mamba SSM hybrid architecture: AI21 Jamba 1.5 Large vs Claude Sonnet 5.
jamba-1.5-large · ai21
claude-sonnet-5 · anthropic
Benchmark
| Workload Scenario | AI21 Jamba 1.5 Large | Claude Sonnet 5 | Price Delta |
|---|---|---|---|
| 1M input tokens (raw text) | $2.00 | $2.00 | — |
| 1M output tokens (generation) | $8.00 | $10.00 | −$2.00 |
| 1M tokens · 70% input / 30% output mix | $3.80 | $4.40 | −$0.60 |
| Standard chat turn (4K in / 800 out, 50% cached) | $0.0144 | $0.0124 | +$0.002 |
| Monthly scale (10K requests / day) | $4,320.00 | $3,720.00 | +$600.00 |
Negative difference = AI21 Jamba 1.5 Large is cheaper. Positive = Claude Sonnet 5 is cheaper.
Scaling Curve
Total cost of a token volume at 70/30 input/output split (uncached). Log-log scale.
Verdict
Claude Sonnet 5 has the cheaper input rate, while AI21 Jamba 1.5 Large has the cheaper output rate. The crossover happens when output makes up about 0% of your total tokens.
Below that share (retrieval, summarization, extraction — lots of context in, little text out) Claude Sonnet 5 is cheaper. Above it (generation, translation, coding — long completions) AI21 Jamba 1.5 Large wins.
FAQ
On input, Claude Sonnet 5 is cheaper ($2.00/M vs $2.00/M). On output, AI21 Jamba 1.5 Large is cheaper ($8.00/M vs $10.00/M). For workloads where more than 0% of tokens are output, the output-cheaper model wins overall.
A chat-style request (4,000 input + 800 output tokens, 50% cached) costs $0.0144 on AI21 Jamba 1.5 Large and $0.0124 on Claude Sonnet 5 — Claude Sonnet 5 is 1.2× more expensive for that workload.
AI21 Jamba 1.5 Large supports 256,000 tokens (4.1K max output); Claude Sonnet 5 supports 1,000,000 (128K max output). Claude Sonnet 5 fits 3.9× more context, which matters for long documents and agents.