# 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.

- Page: https://models.litellm.ai/models/j2-mid
- Lab: AI21 Labs
- LiteLLM model name: `j2-mid`
- Context window: 8,192 tokens
- Max output: 8,192 tokens
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| AI21 Labs | `j2-mid` | $10.00 | $10.00 | – | – | – | 8K |
| Amazon Bedrock | `ai21.j2-mid-v1` | $12.50 | $12.50 | – | – | – | 8K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- AI21 Labs: $25.00
- Amazon Bedrock: $31.25

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="j2-mid",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
