aiapicompareaiapicompare
aiapicompare › All models › WizardLM 2 7B

WizardLM 2 7B: API pricing compared

WizardLM 2 7B is available from 1 provider(s). Cheapest: DeepInfra at $0.055 per 1M input tokens and $0.055 per 1M output tokens. Context window: up to 32 768 tokens. Developer: Microsoft.

ProviderInput $/1MOutput $/1MContext
DeepInfra
microsoft/WizardLM-2-7B
$0.055$0.05533KGo to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with DeepInfra

from openai import OpenAI
import os

client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
r = client.chat.completions.create(
    model="microsoft/WizardLM-2-7B",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is WizardLM 2 7B cheapest?

Currently at DeepInfra ($0.055 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use WizardLM 2 7B in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Microsoft

WizardLM-2 8x22BPhi 4 MultimodalPhi 4Multilingual E5 Largephi 4 reasoning plusPhi 3 medium 4k instruct