Mistral Small

mistral/mistral-small

A chat model with a 262K-token context window, at $0.1575 per million input tokens and $0.63 per million output tokens.

Details

Maker
mistral
Kind
Chat
Context window
262,144 tokens
Max output
4,000 tokens
Input
$0.1575 per million tokens
Cached input
$0.01575 per million tokens, 90% off
Cache write
Same as input
Output
$0.63 per million tokens
Capabilities
Tool use, vision
Takes
Text, image
Returns
Text
Zero data retention
Yes, on every provider
No training on requests
Yes, on every provider
Released
2024-09-17
Newer model
mistral/ministral-14bReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

Mistral Small currently runs Mistral Small 4, a multimodal model combining instruction following, reasoning, and coding with a 262,144-token context window.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral/mistral-small",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.