Mistral: Mixtral 8x7B Instruct

mistralai/mixtral-8x7b-instruct

Created Dec 10, 202332,768 context
$0.08/M input tokens$0.24/M output tokens

Mixtral 8x7B Instruct is a pretrained generative Sparse Mixture of Experts, by Mistral AI, for chat and instruction use. Incorporates 8 experts (feed-forward networks) for a total of 47 billion parameters.

Instruct model fine-tuned by Mistral. #moe

Providers for Mixtral 8x7B Instruct

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Context
33K
Max Output
33K
Input
$0.08
Output
$0.24
Context
33K
Max Output
16K
Input
$0.24
Output
$0.24
Context
33K
Max Output
2K
Input
$0.60
Output
$0.60

Apps using Mixtral 8x7B Instruct

Top public apps this week using this model

1.
Favicon for https://github.com/songquanpeng/one-api
One API
AI key management system
329Mtokens
2.
Favicon for https://litellm.ai/
liteLLM
Open-source library to simplify LLM calls
30.7Mtokens
3.
Favicon for https://chathub.gg/
chathub.gg
new
7.59Mtokens
4.
Favicon for https://www.caveduck.io/
Caveduck
AI character chat
4.81Mtokens
5.
Favicon for https://universal-parser.com/
Universal Ecommerce Parser
new
4.21Mtokens
6.
Favicon for https://sillytavern.app/
SillyTavern
LLM frontend for power users
3.06Mtokens
7.
Favicon for https://art-from-the-machine.github.io/
Mantella
Skyrim & Fallout 4 mod, naturally speak to NPCs
2.8Mtokens
8.
Favicon for https://cline.bot/
Cline
Autonomous coding agent right in your IDE
1.99Mtokens
9.
Favicon for https://actioner.ai/
Actioner AI
new
1.16Mtokens
10.
Favicon for https://www.nexusmods.com/
AI Writing Companion
new
1.02Mtokens
11.
Favicon for https://risuai.xyz/
RisuAI
Browse characters, choose models, and chat
605Ktokens
12.
Favicon for https://flashcell.net.br/
FlashCell WhatsApp Consulta
new
487Ktokens
13.
Favicon for https://chub.ai/
Chub AI
GenAI for everyone
417Ktokens
14.
Favicon for https://openrouter.ai/chat
OpenRouter: Chatroom
Chat with multiple LLMs at once
396Ktokens
15.
Favicon for https://ai-nu.nl/
AI Chat Platform
new
330Ktokens
16.
Favicon for https://voxta.ai/
Voxta
Your speech-driven AI companion backend
280Ktokens
17.
Favicon for https://talktweak.com/
talktweak.com
new
273Ktokens
18.
Favicon for https://roocode.com/
Roo Code
A whole dev team of AI agents in your editor
270Ktokens
19.
Favicon for https://straico.com/
Straico
Multi-model AI for content & image generation
188Ktokens
20.
Favicon for https://ecommerce-parser.com/
Ecommerce Parser
new
181Ktokens

Recent activity on Mixtral 8x7B Instruct

Tokens processed per day

Feb 7Feb 13Feb 19Feb 25Mar 3Mar 9Mar 15Mar 21Mar 27Apr 2Apr 8Apr 14Apr 20Apr 26May 2May 80150M300M450M600M

Uptime stats for Mixtral 8x7B Instruct

Uptime stats for Mixtral 8x7B Instruct across all providers

Sample code and API for Mixtral 8x7B Instruct

OpenRouter normalizes requests and responses across providers for you.

OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

from openai import OpenAI

client = OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="<OPENROUTER_API_KEY>",
)

completion = client.chat.completions.create(
  extra_headers={
    "HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
    "X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
  },
  extra_body={},
  model="mistralai/mixtral-8x7b-instruct",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.

More models from Mistral AI

    Mixtral 8x7B Instruct - API, Providers, Stats | OpenRouter