Models / Mistral AI
LLM

Mistral Instruct

Instruct fine-tuned version of Mistral-7B-v0.1

About model

Mistral Instruct generates human-like text based on user input, excelling at conversational tasks with its instruction fine-tuning. It is designed for users seeking engaging and informative responses.

  • API usage

    • cURL
    • Python
    • Typescript

    Endpoint:

    mistralai/Mistral-7B-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/Mistral-7B-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/Mistral-7B-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/Mistral-7B-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
  • Main use cases
    Chat
    Small & Fast
  • Features
    JSON Mode
  • Deployment
    Serverless
    On-Demand Dedicated
    Monthly Reserved
  • Parameters
    7B
  • Context length
    8192
  • Input price

    $0.20 / 1M tokens

  • Output price

    $0.20 / 1M tokens

  • Input modalities
    Text
  • Output modalities
    Text