mistral

Mistral: Ministral 8B

models/Ministral 8B

Ministral 8B is an 8B parameter model featuring a unique interleaved sliding window attention pattern for faster, memory efficient inference. Designed for edge use cases, it supports up to 128k context length and excels in knowledge and reasoning tasks. It outperforms peers in the sub 10B category, making it perfect for low latency, privacy first applications.
Currency$USD
Input$0.10
Output$0.10
Context window128K

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configmistral/ministral-8b-latest
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="mistral/ministral-8b-latest",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])