> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 跨站点的模型与 GPU 定价

> 通过 GET /api/pricing 获取当前模型与 GPU 费率。价格按币种隔离：.com 为美元，.cn 为人民币。管理员定价接口一并列出供参考。

咏唱引擎通过一个统一接口公开按模型与按 GPU 的定价。费率按站点隔离币种：国际站以美元计费，中国站以人民币计费。

## 获取已发布定价

<ParamField query="limit" type="number">
  最多返回的条目数（可选）。
</ParamField>

<CodeGroup>
  ```bash cURL theme={null}
  # 国际站（美元）
  curl -X GET "https://ariacompute.com/api/pricing" \
    -H "Accept: application/json"

  # 中国站（人民币）
  curl -X GET "https://ariacompute.cn/api/pricing" \
    -H "Accept: application/json"
  ```
</CodeGroup>

## 示例响应

```json theme={null}
{
  "models": [
    {
      "slug": "gemma-4-e2b-it_q4",
      "unit": "per_million_tokens",
      "price": 0.0012,
      "currency": "USD"
    }
  ],
  "gpus": [
    {
      "name": "nvidia-t4",
      "hourly_price": 0.75,
      "currency": "USD"
    }
  ]
}
```

<ResponseField name="models" type="object[]">
  模型定价行数组。

  <Expandable>
    <ResponseField name="slug" type="string">
      模型包 slug。
    </ResponseField>

    <ResponseField name="unit" type="string">
      计费单位（例如 per\_million\_tokens）。
    </ResponseField>

    <ResponseField name="price" type="number">
      以返回币种计价的费率。
    </ResponseField>

    <ResponseField name="currency" type="string">
      币种代码（USD 或 CNY）。
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="gpus" type="object[]">
  GPU 定价行数组。

  <Expandable>
    <ResponseField name="name" type="string">
      GPU 标识符。
    </ResponseField>

    <ResponseField name="hourly_price" type="number">
      以返回币种计价的每小时费率。
    </ResponseField>

    <ResponseField name="currency" type="string">
      币种代码（USD 或 CNY）。
    </ResponseField>
  </Expandable>
</ResponseField>

## 定价作用域

<Tabs>
  <Tab title="ariacompute.com">
    价格以 **美元** 显示。
  </Tab>

  <Tab title="ariacompute.cn">
    价格以 **人民币** 显示。
  </Tab>
</Tabs>

<Note>
  币种跟随站点域名，而非界面语言。如果你以英文浏览中国站，价格仍为人民币。
</Note>

## 管理员定价管理

如果你是管理员，可通过控制台更新已发布定价。底层接口要求管理员角色：

* `PUT /api/admin/billing/pricing/models`
* `PUT /api/admin/billing/pricing/gpus`

## 下一步

* [钱包与计费](/concepts/wallet-billing)
