J2 Mid API Pricing
j2-mid- Input / output
- $10.00 / $10.00 per 1M tokens
- Context
- 8K tokens
- Max output
- 8K tokens
As of November 24, 2026, J2 Mid costs $10.00 per 1M input tokens and $10.00 per 1M output tokens on AI21 Labs. Across 2 providers on LiteLLM, the input price ranges from $10.00 to $12.50. It has an 8,192-token context window and returns up to 8,192 tokens per response.
J2 Mid pricing by provider
2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| AI21 Labs | j2-mid | $10.00 | $10.00 | 8K |
| Amazon Bedrock | ai21.j2-mid-v1 | $12.50 | $12.50 | 8K |
What J2 Mid costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| AI21 Labs | $25.00 |
| Amazon Bedrock | $31.25 |
J2 Mid cost calculator
At AI21 Labs's price ($10.00 input, $10.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $150 a day, about $4,500 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.015
- Per day
- $150
- Per month (30 days)
- $4,500
Use J2 Mid with LiteLLM
Call J2 Mid through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="j2-mid",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: j2-mid
litellm_params:
model: j2-mid
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "j2-mid",
"messages": [{"role": "user", "content": "Hello!"}]
}'J2 Mid FAQ
How much does J2 Mid cost?
J2 Mid costs $10.00 per 1M input tokens and $10.00 per 1M output tokens on AI21 Labs. Across 2 providers on LiteLLM, the input price ranges from $10.00 to $12.50.
What is the context window of J2 Mid?
J2 Mid has an 8,192-token context window and returns up to 8,192 tokens per response.
Which providers offer J2 Mid?
J2 Mid is available from 2 providers through LiteLLM: AI21 Labs and Amazon Bedrock. The lowest price is on AI21 Labs.
How do I call J2 Mid with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="j2-mid", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: AI21 Labs, Amazon Bedrock.
Provider pages: AI21 Labs, Amazon Bedrock.