mistralai

Mistral: Mixtral 8x22B Instruct

Mistral's official instruct fine-tuned version of [Mixtral 8x22B](/models/mistralai/mixtral-8x22b). It uses 39B active parameters out of 141B, offering unparalleled cost efficiency for its size. Its strengths include: - strong math, coding,...

Context
66k tokens
Input / 1M tokens
$2
Output / 1M tokens
$6
Benchmark

Pricing

Input tokens$2 per 1M tokens
Output tokens$6 per 1M tokens
Cache read$0.20 per 1M tokens

Technical details

Model IDmistralai/mixtral-8x22b-instruct
Context window66k tokens
Input modalitiestext, file
Output modalitiestext
TokenizerMistral

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'mistralai/mixtral-8x22b-instruct',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Mistral: Mixtral 8x22B Instruct?

Get an API key and start making requests in minutes.

Get an API key