AI21: Jamba Large 1.7 vs xAI: Grok Latest

They cost about the same for input tokens: AI21: Jamba Large 1.7 $2.00 per M, xAI: Grok Latest $2.00 per M. xAI: Grok Latest is 1.3× cheaper for output tokens: AI21: Jamba Large 1.7 costs $8.00 per M and xAI: Grok Latest costs $6.00 per M. xAI: Grok Latest reads more: AI21: Jamba Large 1.7 takes up to 256,000 tokens of context and xAI: Grok Latest up to 500,000. AI21: Jamba Large 1.7 accepts text; xAI: Grok Latest accepts file, image, text.

AI21: Jamba Large 1.7xAI: Grok Latest
Model idai21/jamba-largex-ai/grok-latest
Input$2.00 per M$2.00 per M
Output$8.00 per M$6.00 per M
Context length256,000 tokens500,000 tokens
Acceptstextfile, image, text
Producestexttext
Served byai21xai

Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.