# WizardLM 2 8x22B API Pricing

As of October 10, 2026, WizardLM 2 8x22B costs $0.48 per 1M input tokens and $0.48 per 1M output tokens from DeepInfra, the lowest of 2 providers. It has a 65,536-token context window and returns up to 65,536 tokens per response.

- Page: https://models.litellm.ai/models/wizardlm-2-8x22b
- Lab: Microsoft
- LiteLLM model name: `deepinfra/microsoft/WizardLM-2-8x22B`
- Context window: 65,536 tokens
- Max output: 65,536 tokens
- Added to LiteLLM: May 2024
- 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 |
|---|---|---|---|---|---|---|---|
| DeepInfra | `deepinfra/microsoft/WizardLM-2-8x22B` | $0.48 | $0.48 | – | – | – | 64K |
| Novita AI | `novita/microsoft/wizardlm-2-8x22b` | $0.62 | $0.62 | – | – | – | 66K |

## Cost examples

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

- DeepInfra: $1.20
- Novita AI: $1.55

## Features

Supported: Structured output.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="deepinfra/microsoft/WizardLM-2-8x22B",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does WizardLM 2 8x22B cost?

WizardLM 2 8x22B costs $0.48 per 1M input tokens and $0.48 per 1M output tokens from DeepInfra, the lowest of 2 providers.

### What is the context window of WizardLM 2 8x22B?

WizardLM 2 8x22B has a 65,536-token context window and returns up to 65,536 tokens per response.

### Which providers offer WizardLM 2 8x22B?

WizardLM 2 8x22B is available from 2 providers through LiteLLM: DeepInfra and Novita AI. The lowest price is on DeepInfra.

### How do I call WizardLM 2 8x22B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="deepinfra/microsoft/WizardLM-2-8x22B", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does WizardLM 2 8x22B support?

WizardLM 2 8x22B supports structured output.

### When did LiteLLM add WizardLM 2 8x22B?

WizardLM 2 8x22B was added to LiteLLM's model price file in May 2024.

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