LiteLLMModels

J2 Mid API Pricing

As of October 10, 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.

By AI21 LabsModel ID j2-midPrices updated Checked
Input
$10.00 / 1M tokens
Output
$10.00 / 1M tokens
Context window
8,192 tokens
Max output
8,192 tokens
Providers
2

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.

ProviderModel name in LiteLLMInputOutputContext
AI21 Labsj2-mid$10.00$10.008K
Amazon Bedrockai21.j2-mid-v1$12.50$12.508K

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

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.

Python SDK
from litellm import completion

response = completion(
    model="j2-mid",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: j2-mid
    litellm_params:
      model: j2-mid
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -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. Provider pricing pages:

LiteLLM docs: AI21 Labs, Amazon Bedrock.

Provider pages: AI21 Labs, Amazon Bedrock.