LiteLLMModels

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.

By MicrosoftModel ID deepinfra/microsoft/WizardLM-2-8x22BPrices updated Checked
Input
$0.48 / 1M tokens
Output
$0.48 / 1M tokens
Context window
65,536 tokens
Max output
65,536 tokens
Providers
2
Added to LiteLLM
May 2024

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.

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 features

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 sk-1234" \
  -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.

LiteLLM docs: DeepInfra.

Provider pages: DeepInfra, Novita AI.