> For the complete documentation index, see [llms.txt](https://docs.clore.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clore.ai/clore.ai/clore.ai-eng-zh/xian-huo/spot-market.md).

# 现货市场

SPOT 是 Clore.ai 市场的竞拍侧。你无需支付标注的按需价格，而是出一个 **出价**: 你为一台服务器设定的每日价格。当你的报价占优时，服务器会运行你的工作负载，你将按你的出价按分钟计费。这是最便宜的租用方式，但代价是可能会被中断。

|          |                                                                                             |
| -------- | ------------------------------------------------------------------------------------------- |
| **定价**   | 你的出价，需不低于主机的最低现货价                                                                           |
| **计费**   | 按分钟计费，按你的出价价格，仅在你的报价占用服务器期间                                                                 |
| **中断**   | 其他租用者可随时出更高价压过你；按需租用也会接管该服务器                                                                |
| **基础费用** | 2.5%（按需为 10%），可通过……最多再降低 50% [PoH](/clore.ai/clore.ai-eng-zh/chi-bi-zheng-ming/overview.md) |
| **适用范围** | 仅限整台服务器（[部分租赁](/clore.ai/clore.ai-eng-zh/mian-xiang-zu-yong-zhe/partial-gpu-rental.md) 仅按需） |

## 出价如何运作

1. 在市场上选择一台服务器并点击 **租用**。按照常规步骤（镜像、配置）操作，并在 **确认并付款** 步骤切换到 **按现货租用**.
2. 输入你的出价：任何不低于主机最低现货价的每日价格。如果它超过当前的最高报价，你的订单就会启动。
3. 在你的报价占用服务器期间，你将按你的出价按分钟计费。如果有人出价更高压过你，你的订单将以 **出价被超越** 状态结束，计费会立即停止。
4. 你的报价会与同一台服务器上的其他报价竞争。你可以在……查看队列并管理出价 **我的订单**.

### 管理你的出价

* **提高** 你的出价不受限制：可随时提高以守住服务器。
* **降低** 为保护主机而受速率限制：最多每 10 分钟一次，每次只能以有限步长调整，且绝不能低于主机的最低现货价。

{% hint style="info" %}
现货订单不能延长，并且可能随时结束。请为你的工作设置检查点：将中间结果保存到持久存储或外部位置，这样一次中断只会让你损失几分钟，而不是几小时。
{% endhint %}

## 哪些任务适合在现货上运行

* 加密货币挖矿及其他可重启计算
* 带检查点的批处理和渲染队列
* 超参数扫描和实验
* 任何具备容错能力、价格比在线时长更重要的任务

不确定你需要 Spot 还是按需？请查看并排指南：

{% content-ref url="/pages/c70c38a4d9ecab45889262856f15d145380828e0" %}
[按需与现货](/clore.ai/clore.ai-eng-zh/mian-xiang-zu-yong-zhe/on-demand-vs-spot.md)
{% endcontent-ref %}

## 对于主机

你设置 **最低现货价** 在服务器设置中按每台服务器（或每块 GPU，支持可选的基于 USD 的自动重新计算）设置。Spot 让你的硬件在按需租用之间持续产生收益：按需订单始终优先，并会替换当前生效的现货订单。

{% content-ref url="/pages/f1258c3307b24badf08dd8cec485f308b6fe1a4b" %}
[服务器管理](/clore.ai/clore.ai-eng-zh/mian-xiang-zhu-ji-ti-gong-zhe/server-settings.md)
{% endcontent-ref %}

## 自动化

Spot 可通过公开 API 完全脚本化： `create_order` 使用 `"type": "spot"` 且 `spotprice`, `spot_marketplace` 用于读取某台服务器的报价队列，以及 `set_spot_price` 用于管理你的出价。该 [Python SDK 和 CLI](/clore.ai/clore.ai-eng-zh/kai-fa-zhe/python-sdk.md) 支持相同的操作。

{% content-ref url="/pages/e21b16d71c3fc9497a3a1935b1d6014a24da7fd9" %}
[API](/clore.ai/clore.ai-eng-zh/mian-xiang-zhu-ji-ti-gong-zhe/api.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.clore.ai/clore.ai/clore.ai-eng-zh/xian-huo/spot-market.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
