Poe API
Mistral Medium 3.1 is a high-performance, enterprise-grade language model that delivers strong reasoning, coding, and STEM capabilities. It supports hybrid, on-prem, and in-VPC deployments, offering competitive accuracy and easy integration across cloud environments. Context Length: 131k
Powered by a server managed by @empiriolabsai. Learn more
- OFFICIAL
Build with Mistral-Medium-3.1 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
python
import openai
client = openai.OpenAI(
api_key = "YOUR_POE_API_KEY", # or os.getenv("POE_API_KEY")
base_url = "https://api.poe.com/v1",
)
chat = client.chat.completions.create(
model = "mistral-medium-3.1",
messages = [{
"role": "user",
"content": "Begin a brief narrative with the following sentence: 'She entered the room and felt a chill run down her spine.'"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.