mistral

Mistral: Mistral Small 2501

models/Mistral Small 2501

With 22 billion parameters, Mistral Small v24.09 offers a convenient mid point between Mistral NeMo 12B and Mistral Large 2, providing a cost effective solution that can be deployed across various platforms and environments. It has better reasoning, exhibits more capabilities, can produce and reason about code, and is multiligual, supporting English, French, German, Italian, and Spanish.
Currency$USD
Input$0.20
Output$0.60
Context window32.8K

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/mistral-small-2501
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/mistral-small-2501",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])