如何在 Hugging Face 上使用 Baseten 提供的模型?
可以在模型页面选择 Baseten 作为推理提供商,或通过 huggingface_hub (Python) 和 @huggingface/inference (JavaScript) 等 SDK 调用,还可接入 OpenCode、Hermes Agents 等 Agent 框架。
(翻译)Baseten 成为 Hugging Face 推理提供商

We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Hugging Face 宣布 Baseten 成为其推理提供商,支持对话和文本生成任务,首批上线 Kimi K3、DeepSeek V4 Flash、GLM-5.2 等开源模型。用户可通过模型页面、Python/JS SDK 或 Agent 框架调用,请求可直连或由 Hugging Face 路由,后者不额外加价,PRO 用户每月获 2 美元额度。
可以在模型页面选择 Baseten 作为推理提供商,或通过 huggingface_hub (Python) 和 @huggingface/inference (JavaScript) 等 SDK 调用,还可接入 OpenCode、Hermes Agents 等 Agent 框架。
使用 Hugging Face Hub 认证的请求按提供商标准 API 价格计费,Hugging Face 不额外加价;使用 Baseten 自有 API 密钥的请求由 Baseten 账户计费。PRO 用户每月可获得 2 美元推理额度。