microsoft/wizardlm-2-8x22b
65,535 context · $0.62/M input tokens · $0.62/M output tokens
WizardLM-2 8x22B is Microsoft AI's most advanced Wizard model. It demonstrates highly competitive performance compared to leading proprietary models, and it consistently outperforms all existing state-of-the-art opensource models. It is...
按量付费
无需预付费用,仅按实际使用量付费
使用以下代码示例接入我们的 API:
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="microsoft/wizardlm-2-8x22b",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)microsoft wizardlm-2-8x22b
| Specification | Value |
|---|---|
| Provider | Microsoft |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 65536 tokens |
| Max Output | 16384 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $0.5 |
| Output | $0.5 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: microsoft/wizardlm-2-8x22b
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="microsoft/wizardlm-2-8x22b",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "microsoft/wizardlm-2-8x22b",
"messages": [{"role": "user", "content": "Hello!"}]
}'
WizardLM-2 8x22B is Microsoft AI's most advanced Wizard model. It demonstrates highly competitive performance compared to leading proprietary models, and it consistently outperforms all existing state-of-the-art opensource models. It is...
输入
$0.62 /M
输出
$0.62 /M
上下文
66K
最大输出
8K
通过我们的统一 API 接入 microsoft/wizardlm-2-8x22b — 兼容 OpenAI、无冷启动、透明计费。
打开 Playground