feat(model_prices): add ai21 jamba-mini-2 and dated jamba-large-1.7 aliases (#27094)

AI21 has rolled out a new generation. Per the AI21 API ( /studio/v1/models )
and pricing page, the active direct-API models are now:

  - jamba-large-1.7-2025-07  (alias: jamba-large-1.7)  - already present
  - jamba-mini-2-2026-01     (alias: jamba-mini-2)     - missing

This change adds:
  * jamba-large-1.7-2025-07  (dated alias of jamba-large-1.7,
                              already present at $2 / $8 per 1M)
  * jamba-mini-2             ($0.2 / $0.4 per 1M, 256K context)
  * jamba-mini-2-2026-01     (dated form of jamba-mini-2)

Pricing matches the AI21 public pricing page (Jamba Mini = $0.2/1M input,
$0.4/1M output; Jamba Large = $2/1M input, $8/1M output) and is consistent
with the existing jamba-large-1.7 / jamba-mini-1.7 entries. Context window
follows the existing 256K Jamba family setting.

Refs #27094.

The legacy J2 entries (j2-light, j2-mid, j2-ultra) are intentionally left
in place so cost lookups for historical request logs still resolve - the
litellm convention elsewhere is to keep retired model entries for backward
compatibility rather than delete them.

The credential-binding UI bug also mentioned in #27094 is out of scope
for this data-only patch and should be tracked separately.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
Tai An 2026-05-04 03:22:38 -07:00
parent 934ecdca78
commit 7db78fc61a
2 changed files with 60 additions and 0 deletions

View file

@ -21977,6 +21977,16 @@
"output_cost_per_token": 8e-06,
"supports_tool_choice": true
},
"jamba-large-1.7-2025-07": {
"input_cost_per_token": 2e-06,
"litellm_provider": "ai21",
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"max_tokens": 256000,
"mode": "chat",
"output_cost_per_token": 8e-06,
"supports_tool_choice": true
},
"jamba-mini-1.6": {
"input_cost_per_token": 2e-07,
"litellm_provider": "ai21",
@ -21997,6 +22007,26 @@
"output_cost_per_token": 4e-07,
"supports_tool_choice": true
},
"jamba-mini-2": {
"input_cost_per_token": 2e-07,
"litellm_provider": "ai21",
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"max_tokens": 256000,
"mode": "chat",
"output_cost_per_token": 4e-07,
"supports_tool_choice": true
},
"jamba-mini-2-2026-01": {
"input_cost_per_token": 2e-07,
"litellm_provider": "ai21",
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"max_tokens": 256000,
"mode": "chat",
"output_cost_per_token": 4e-07,
"supports_tool_choice": true
},
"jina-reranker-v2-base-multilingual": {
"input_cost_per_token": 1.8e-08,
"litellm_provider": "jina_ai",

View file

@ -22025,6 +22025,16 @@
"output_cost_per_token": 8e-06,
"supports_tool_choice": true
},
"jamba-large-1.7-2025-07": {
"input_cost_per_token": 2e-06,
"litellm_provider": "ai21",
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"max_tokens": 256000,
"mode": "chat",
"output_cost_per_token": 8e-06,
"supports_tool_choice": true
},
"jamba-mini-1.6": {
"input_cost_per_token": 2e-07,
"litellm_provider": "ai21",
@ -22045,6 +22055,26 @@
"output_cost_per_token": 4e-07,
"supports_tool_choice": true
},
"jamba-mini-2": {
"input_cost_per_token": 2e-07,
"litellm_provider": "ai21",
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"max_tokens": 256000,
"mode": "chat",
"output_cost_per_token": 4e-07,
"supports_tool_choice": true
},
"jamba-mini-2-2026-01": {
"input_cost_per_token": 2e-07,
"litellm_provider": "ai21",
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"max_tokens": 256000,
"mode": "chat",
"output_cost_per_token": 4e-07,
"supports_tool_choice": true
},
"jina-reranker-v2-base-multilingual": {
"input_cost_per_token": 1.8e-08,
"litellm_provider": "jina_ai",