Mistral

mistral-small-latest

Mistral Small

Available now through the YTokenHub OpenAI-compatible endpoint /v1/chat/completions , billed by token usage.

Input price
CNY0.001
CNY / 1K tokens
Output price
CNY0.003
CNY / 1K tokens
Cost estimate
Estimated cost for this request
CNY0
This is only an estimate. The actual charge comes from the usage usage settlement (6 decimal places).

Request examples

curl http://www.yziss.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxxxxxxx" \
  -d '{
    "model": "mistral-small-latest",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
Pricing rules
  • Unit price: CNY / 1K tokens, with input and output priced separately.
  • Formula:input tokens ÷ 1000 × Input price + output tokens ÷ 1000 × Output price。
  • You are only charged when the call succeeds. On upstream failure the gateway fails over to other channels, and a total failure is never charged.
  • Supports stream=true (SSE streaming) and stream=false (returned in a single response).
  • Results keep 6 decimal places and the balance is deducted in real time. An insufficient balance returns 402。

Start building with this model

After signing up, top up in Wallet, create an API key and point the BaseURL at this site /v1 , with no changes to your OpenAI SDK code.