← All models
Mistral logo

Mixtral 8x7B Instruct

Chat

mistral:mixtral-8x7b-instruct

Added December 10, 2023

Usage

import OpenAI from "openai";

const client = new OpenAI({
    baseURL: "https://api.tributary.cc/openai/v1",
    apiKey: "<TRIBUTARY_API_KEY>",
});

const completion = await client.chat.completions.create({
    model: "mistral:mixtral-8x7b-instruct",
    messages: [
        { role: "user", content: "Hello!" }
    ],
});

console.log(completion.choices[0].message.content);

Providers

Provider Model Context Output Input $/M Output $/M
DeepInfra mistralai/Mixtral-8x7B-Instruct-v0.1 33K 33K $0.54 $0.54
Together mistralai/Mixtral-8x7B-Instruct-v0.1 33K 33K $0.60 $0.60
Mistral open-mixtral-8x7b 131K 131K $0.70 $0.70
Context/output in tokens. Prices in USD per 1M tokens.