Mistral: Mixtral 8x22B Instruct
Mistral's official instruct fine-tuned version of Mixtral 8x22B. It uses 39B active parameters out of 141B, offering unparalleled cost efficiency for its size.
- Input
- 720,776 Toman/M tokens
- Output
- 2,162,328 Toman/M tokens
- Context
- 66K
- Max output
- 52K
- Published
- Apr 17, 2024
- Maker
- Mistral
Free plan prices, in Toman at today's rate. Plans and prices
Price by plan
Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.
| Plan | Input | Output |
|---|---|---|
| Free | 720,776 | 2,162,328 |
| Pro | 691,236 | 2,073,708 |
| Max | 661,696 | 1,985,088 |
Capabilities
- Text
- Tools
- JSON
What it takes and gives
Accepts
- Text
- File (PDF)
Creates
- Text
Every input listed here works through the API and the playground: images and PDFs as data URLs or https links, audio as base64, video as a data URL or a link the model supports.
Call it
Pass mistralai/mixtral-8x22b-instruct as the model name, or let router/auto choose for you.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.fluxcdn.cloud/api/v1",
api_key=os.environ["FLUXCDN_API_KEY"],
)
resp = client.chat.completions.create(
model="router/auto",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
