# Mistral Small 4 API，加密货币支付

> Mistral Small 4 API，输入 $0.142、输出 $0.57 每 1M tokens，低于 Mistral 自有价格。Apache 2.0，加密货币支付，无需 KYC。

- URL: https://llmwithcrypto.com/zh/models/mistral-small-4/
- 最后更新: 2026-10-23
- 发布者: LLMwithCrypto (https://llmwithcrypto.com)

Mistral AI 的 Mistral Small 4，发行版 2603，Apache 2.0，运行在 OpenAI 兼容 endpoint 上。按 token 从加密货币余额计费，比 Mistral 自有 API 价格低 5%，后者是唯一上架的价格。无需 KYC。

**快速回答 — Mistral Small 4 API 用加密货币支付要多少钱？**

截至 2026 年 10 月 23 日，Mistral Small 4（API id `mistral-small-4`）在 **LLMwithCrypto** 上每百万输入 tokens 为 $0.142，每百万输出 tokens 为 $0.57，比 Mistral AI 自有价格 $0.15 和 $0.60 低 5%。上下文：256K tokens。用加密货币充值，无需 KYC 即可支付。

## 我们的价格与其他托管方相比如何？

各托管方自家定价页面上每百万 tokens 的标价，读取于 2026 年 10 月 23 日；不含促销活动。我们的价格是这些价格的中位数减去 5%；每个托管方都在[价格索引](https://llmwithcrypto.com/zh/data/open-model-api-price-index-2026/)中。

| 托管商 | 输入 / 1M | 输出 / 1M |
| --- | --- | --- |
| **LLMwithCrypto** | $0.142 | $0.57 |
| Mistral AI API | $0.15 | $0.60 |

*价格核查于 2026年10月23日.*

## 如何调用 Mistral Small 4？

使用 OpenAI SDK，与任何 OpenAI 兼容 API 一样：将 base URL 设为 `https://llmwithcrypto.com/api/v1`，从 `LLMWITHCRYPTO_API_KEY` 读取密钥，并将 `mistral-small-4` 作为 model 传入。像 OpenAI SDK 那样，把 API 密钥作为 Bearer token 放在 Authorization header 中传入。

*mistral_small_4.py*

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://llmwithcrypto.com/api/v1",
    api_key=os.environ["LLMWITHCRYPTO_API_KEY"],
)

resp = client.chat.completions.create(
    model="mistral-small-4",
    messages=[{"role": "user", "content": "Tag each of these five product reviews as positive, negative or mixed."}],
)
print(resp.choices[0].message.content)
print(resp.usage)  # prompt_tokens and completion_tokens: what the call costs

```

## Mistral Small 4 适合做什么？

Mistral Small 4 (2603) 是 Mistral AI 的小型开源模型，Apache 2.0，上下文约 256K tokens。与 Large 3 一样，我们查阅托管商页面时，它只在 Mistral 自有 API 上架。

它适合快速、低成本的调用：打标签、路由、简短回复和抽取。对于更难的任务，通过更改 model id 升级到 [Mistral Large 3](https://llmwithcrypto.com/zh/models/mistral-large-3/)。

## Mistral Small 4 采用什么许可证？

Apache 2.0，见 Mistral 的文档和 Hugging Face。允许以 API 形式托管。每个模型保留自己的许可证和使用政策（例如 Meta 的 Llama Acceptable Use Policy 和“Built with Llama”声明）；通过我们使用某个模型即表示接受这些条款。

## Mistral Small 4 常见问题

### 它在价格上与 gpt-oss-20b 相比如何？

两者都是小型模型；2026 年 10 月 23 日，Mistral Small 4 在此处为每百万 tokens $0.142 / $0.57，gpt-oss-20b 为 $0.033 / $0.161。用你自己的提示词分别试试：同一个密钥即可调用两者。

### 为什么参考价格是 Mistral 自有的？

在我们 2026 年 10 月 23 日查阅的托管商中，没有其他家上架 Mistral Small 4，因此以厂商的标价为参考，我们的价格比其低 5%。

### 提示词会用于训练吗？

我们从不用你的提示词或输出训练或微调任何模型.

## 来源

1. [Mistral AI API 定价](https://docs.mistral.ai/inference/pricing) — Mistral AI API (read 2026-10-23)

---

LLMwithCrypto: LLMwithCrypto 是一个兼容 OpenAI 的开放权重模型 LLM API，涵盖 DeepSeek V4 Pro、DeepSeek V4.1 Flash、DeepSeek R1、Qwen3.5 397B A17B、Qwen3 235B A22B Instruct、gpt-oss-120b、gpt-oss-20b、GLM-4.7、Llama 3.3 70B Instruct、Gemma 4 31B、Mistral Large 3、Mistral Small 4，按 token 从预付加密货币余额中扣费，价格比公共托管商的中位价低 5%。无需 KYC：无需身份证件、无需自拍、无需文件。不存储提示词和输出。
