Mixtral 8x7B Instruct API Pricing
As of October 10, 2026, Mixtral 8x7B Instruct costs $0.07 per 1M input tokens and $0.28 per 1M output tokens from Perplexity, the lowest of 2 providers. It has a 4,096-token context window and returns up to 4,096 tokens per response.
- Input
- $0.07 / 1M tokens
- Output
- $0.28 / 1M tokens
- Context window
- 4,096 tokens
- Max output
- 4,096 tokens
- Providers
- 2
- Added to LiteLLM
- February 2024
Mixtral 8x7B Instruct 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.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Perplexity | perplexity/mixtral-8x7b-instruct | $0.07 | $0.28 | 4K |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/mixtral-8x7b-instruct | $0.50 | $0.50 | 32K |
What Mixtral 8x7B Instruct costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Perplexity | $0.28 |
| Fireworks AI | $1.25 |
Use Mixtral 8x7B Instruct with LiteLLM
Call Mixtral 8x7B Instruct 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.
from litellm import completion
response = completion(
model="perplexity/mixtral-8x7b-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: mixtral-8x7b-instruct
litellm_params:
model: perplexity/mixtral-8x7b-instruct
api_key: os.environ/PERPLEXITYAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "mixtral-8x7b-instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'Mixtral 8x7B Instruct FAQ
How much does Mixtral 8x7B Instruct cost?
Mixtral 8x7B Instruct costs $0.07 per 1M input tokens and $0.28 per 1M output tokens from Perplexity, the lowest of 2 providers.
What is the context window of Mixtral 8x7B Instruct?
Mixtral 8x7B Instruct has a 4,096-token context window and returns up to 4,096 tokens per response.
Which providers offer Mixtral 8x7B Instruct?
Mixtral 8x7B Instruct is available from 2 providers through LiteLLM: Perplexity and Fireworks AI. The lowest price is on Perplexity.
How do I call Mixtral 8x7B Instruct with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="perplexity/mixtral-8x7b-instruct", 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.
When did LiteLLM add Mixtral 8x7B Instruct?
Mixtral 8x7B Instruct was added to LiteLLM's model price file in February 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: Perplexity, Fireworks AI.
Provider pages: Perplexity, Fireworks AI.
