Models / Mistral AI
LLM
Chat

Mixtral 8x7B Instruct v0.1

Pretrained generative Sparse Mixture of Experts.

About model

Mixtral 8x7B Instruct v0.1 generates human-like text based on input prompts, excelling at tasks that require understanding and responding to instructions, making it suitable for developers and researchers working with large language models.

  • API usage

    • cURL
    • Python
    • Typescript

    Endpoint:

    mistralai/Mixtral-8x7B-Instruct-v0.1

    curl -X POST "https://api.together.xyz/v1/chat/completions" \
      -H "Authorization: Bearer $TOGETHER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "mistralai/Mixtral-8x7B-Instruct-v0.1",
        "messages": [
          {
            "role": "user",
            "content": "What are some fun things to do in New York?"
          }
        ]
    }'
    
    from together import Together
    
    client = Together()
    
    response = client.chat.completions.create(
      model="mistralai/Mixtral-8x7B-Instruct-v0.1",
      messages=[
        {
          "role": "user",
          "content": "What are some fun things to do in New York?"
        }
      ]
    )
    print(response.choices[0].message.content)
    
    import Together from 'together-ai';
    const together = new Together();
    
    const completion = await together.chat.completions.create({
      model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
      messages: [
        {
          role: 'user',
          content: 'What are some fun things to do in New York?'
         }
      ],
    });
    
    console.log(completion.choices[0].message.content);
    
Related models
  • Model provider
    Mistral AI
  • Type
    LLM
    Chat
  • Main use cases
    Chat
    Medium General Purpose
  • Fine tuning
    Supported
  • Deployment
    Serverless
    On-Demand Dedicated
    Monthly Reserved
  • Parameters
    46.7B
  • Context length
    32K
  • Input price

    $0.60 / 1M tokens

  • Output price

    $0.60 / 1M tokens

  • Input modalities
    Text
  • Output modalities
    Text
  • Released
    December 10, 2023
  • Quantization level
    FP16
  • External link
  • Category
    Chat