Mistral Small 3.1 chat API: pay per call, no API key
ai_model_mistral_smallChat with Mistral AI's Mistral Small 3.1 24B model (Apache 2.0) through one paid HTTP call: send a prompt and an optional system prompt, get the answer, up to 1,024 output tokens. Also reachable as model "mistral-small" on the OpenAI-compatible /v1/chat/completions. No account or provider key. Use when an agent wants this model by name. Example: prompt=Explain HTTP status code 402 in one sentence.. Price $0.005/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "ai_model_mistral_small"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | User prompt, up to 8,000 characters | |
| system | No | Optional system prompt, up to 2,000 characters | |
| maxTokens | No | Maximum output tokens, 1-1024 (default 400) | |
| temperature | No | 0-1.5 (default 0.6) |