Mistral Medium 3.1
mistralai/mistral-medium-3.1Mistral Medium 3.1 (mistralai/mistral-medium-3.1) is an AI model from Mistral AI with a 131,072-token context window, priced at $0.40/1M input and $2.00/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.
Overview
Mistral Medium 3.1 is a chat-based AI model developed by Mistral AI with an unknown parameter count. It supports a 131,072-token context window and offers function calling and vision capabilities. Pricing is set at $0.4 per million input tokens and $2 per million output tokens.
Features & Capabilities
| Mode | chat |
| Context Window | 131,072 tokens |
| Function Calling | Supported |
| Vision | Supported |
| Reasoning | Not supported |
| Web Search | Not supported |
| Url Context | Not supported |
API Usage
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="mistralai/mistral-medium-3.1",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)Frequently Asked Questions
What is the context window of Mistral Medium 3.1?
Mistral Medium 3.1 (mistralai/mistral-medium-3.1) has a 131,072-token context window.
How much does Mistral Medium 3.1 cost?
Mistral Medium 3.1 is priced at $0.40 per 1M input tokens and $2.00 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.
What features does Mistral Medium 3.1 support?
Mistral Medium 3.1 supports function calling, vision.
How do I use Mistral Medium 3.1 via API?
Send requests to https://api.haimaker.ai/v1/chat/completions with model "mistralai/mistral-medium-3.1" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.
Use Mistral Medium 3.1 with the haimaker API
OpenAI-compatible endpoint. Start building in minutes.