LiteLLMLiteLLM/ MODELS

WizardLM 2 8x22B API Pricing

By Microsoft · 2 providersdeepinfra/microsoft/WizardLM-2-8x22BCompare
Input / output
$0.48 / $0.48 per 1M tokens
Context
64K tokens
Max output
64K tokens

As of November 24, 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.

Prices updated Checked

WizardLM 2 8x22B 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.

WizardLM 2 8x22B prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
DeepInfradeepinfra/microsoft/WizardLM-2-8x22B$0.48$0.4864K
Novita AInovita/microsoft/wizardlm-2-8x22b$0.62$0.6266K

What WizardLM 2 8x22B costs in practice

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

DeepInfra$1.20
Novita AI$1.55

WizardLM 2 8x22B cost calculator

At DeepInfra's price ($0.48 input, $0.48 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $7.20 a day, about $216 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00072
Per day
$7.20
Per month (30 days)
$216

WizardLM 2 8x22B features

Input: text. Output: text.

Use WizardLM 2 8x22B with LiteLLM

Call WizardLM 2 8x22B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="deepinfra/microsoft/WizardLM-2-8x22B",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: wizardlm-2-8x22b
    litellm_params:
      model: deepinfra/microsoft/WizardLM-2-8x22B
      api_key: os.environ/DEEPINFRA_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "wizardlm-2-8x22b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

WizardLM 2 8x22B 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.

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.

LiteLLM docs: DeepInfra.

Provider pages: DeepInfra, Novita AI.