Baseten、Hugging Face の推論プロバイダーに正式追加
本文の状態
日本語全文を表示中
詳細モードで約5分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Hugging Face Blog
Baseten は Hugging Face の推論プロバイダーとして正式に認定され、開発者が同社のインフラを介してモデルのデプロイと管理を容易に行える環境を提供する。
AI深層分析を開く2026年8月6日 23:17
AI深層分析
キーポイント
Hugging Face 公式プロバイダーへの認定
Baseten が Hugging Face の推論プロバイダーとして正式に承認され、プラットフォーム上で利用可能な選択肢の一つとなったことを発表している。
モデルデプロイの簡素化
開発者は Baseten のインフラを利用することで、複雑な設定なしに Hugging Face 上のモデルを迅速に推論環境へ展開できるようになる。
管理機能の統合
Baseten を通じて提供されるサービスは、モデルのバージョン管理やスケーリングなどの運用機能を Hugging Face エコシステムとシームレスに連携させる。
ウェブサイトUIからの利用
BasetenはHugging Faceの推論プロバイダーとしてウェブサイトのユーザーインターフェースから直接アクセス可能である。
クライアントSDKからの利用
開発者はクライアントサイドのSDKを通じてBasetenの推論機能をプログラム的に統合できる。
重要な引用
Back to Articles
Baseten joins our growing ecosystem, enhancing the breadth and capabilities of serverless inference directly on the Hub's model pages.
As part of this initial integration, Baseten is launching support for conversational and text-generation tasks on Hugging Face.
"Hugging Face Inference Providers are integrated in most Agent Harnesses - including Pi, OpenCode, Hermes Agents, OpenClaw, and more."
編集コメントを表示
編集コメント
Baseten の Hugging Face プロバイダー認定は、モデルのデプロイ選択肢を拡大する実用的な進展である。開発者はこの連携により、インフラ構築の手間を減らしつつ柔軟な運用が可能になるだろう。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
記事一覧に戻る
Basetenが、Hugging Face Hub のサポート対象インファレンスプロバイダーとして正式に追加されました。
Baseten は当社のエコシステムに加わり、Hub 上のモデルページでサーバーレス推論の範囲と機能をさらに強化します。また、インファレンスプロバイダーは JS と Python の両方のクライアント SDK にシームレスに統合されているため、お好みのプロバイダーを使って多様なモデルを簡単に利用できます。
Baseten は、サーバーレス AI やトレーニングなどをカバーする AI インフラプラットフォームです。最先端のモデルカタログを多数用意しており、Baseten を使えば、最小限の設定で開発者は幅広い AI 機能をアプリケーションに統合できるようになります。
Baseten は、LLM からテキスト音声変換まで幅広いモデルタイプをサポートしています。今回の初期統合の一環として、Baseten は Hugging Face 上で会話型およびテキスト生成タスクのサポートを開始しました。これにより、Kimi K3 や最新モデルの DeepSeek V4 Flash、GLM-5.2 など、人気のオープンウェイト LLM にアクセスできるようになります。追加タスクのサポートも近日中に順次展開予定です。
Baseten がサポートするモデルの全一覧は こちら で確認できます。
Hugging Face 上の Baseten は、こちら からフォロー可能です。
仕組みについて
ウェブサイト UI を利用する場合
- ユーザーアカウント設定では、以下の操作が可能です:
- 登録済みのプロバイダーに対して独自の API キーを設定できます。カスタムキーを設定しない場合、リクエストは Hugging Face(HF)を経由してルーティングされます。
- プロバイダーの優先順位を並べ替えることができます。これはモデルページのウィジェットやコードスニペットにも適用されます。

- 前述の通り、Inference Providers を呼び出す際には 2 つのモードが存在します:
カスタムキーを使用する場合、呼び出しは直接推論プロバイダーへ行き、対応する推論プロバイダーの API キーを利用します。
Hugging Face (HF) を経由してルーティングされる場合、プロバイダーからのトークンが必要なく、料金はプロバイダーではなく HF アカウントに直接請求されます。

モデルページでは、サードパーティの推論プロバイダーが紹介されます(現在のモデルと互換性があり、ユーザーの好みに基づいてソートされたもの)。

クライアント SDK から
Baseten は Hugging Face の SDK を通じて利用可能です。Python 用には huggingface_hub (>= 1.26.1)、JavaScript 用には @huggingface/inference です。
以下の例では、Baseten を経由して最新の DeepSeek V4 Flash を使用する方法を示しています。認証には Hugging Face トークン を使用し、リクエストは自動的に Baseten へルーティングされます。
お気に入りのエージェントフレームワークから
Hugging Face の Inference Provider は、Pi、OpenCode、Hermes Agents、OpenClaw など、主要な Agent Harness にすでに統合されています。つまり、追加の接続コードなしで、Baseten 上でホストされたモデルを直接お気に入りのツールに組み込むことが可能です。完全な統合リストは こちら でご確認ください。
Python から
import os
from openai import OpenAI
client = OpenAI(
base_url="https://router.huggingface.co/v1",
api_key=os.environ["HF_TOKEN"],
)
completion = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Flash-0731:baseten",
messages=[
{
"role": "user",
"content": "Write a Python function that returns the nth Fibonacci number using memoization."
}
],
)
print(completion.choices[0].message)
JavaScript から
import { OpenAI } from "openai";
const client = new OpenAI({
baseURL: "https://router.huggingface.co/v1",
apiKey: process.env.HF_TOKEN,
});
const chatCompletion = await client.chat.completions.create({
model: "deepseek-ai/DeepSeek-V4-Flash-0731:baseten",
messages: [
{
role: "user",
content: "Write a Python function that returns the nth Fibonacci number using memoization.",
},
],
});
console.log(chatCompletion.choices[0].message);
請求について
直接リクエストを行う場合(つまり、Inference Provider のキーを使用する場合)、対応するプロバイダから請求が発生します。例えば、Baseten の API キーを利用すれば、請求は Baseten アカウントに行われます。
ルーティングされたリクエストの場合(Hugging Face Hub を経由して認証する場合)、標準的なプロバイダの API 料金のみが適用されます。当社からの追加マージンはなく、プロバイダのコストをそのまま転送するだけです。(将来的には、プロバイダパートナーとの収益分配契約を結ぶ可能性もあります)
重要なお知らせ ‼️ PRO ユーザーは毎月 $2 相当の Inference クレジットを受け取れます。これらのクレジットは複数のプロバイダで利用可能です。🔥
Hugging Face PRO プラン に加入すると、Inference クレジットや ZeroGPU、Spaces Dev Mode、制限が 20 倍になる機能などを利用できるようになります。
サインイン済みの無料ユーザー向けにも、少量のクォータ付きで無料推論を提供していますが、可能であれば PRO へのアップグレードをご検討ください。
ぜひご意見をお聞かせください!以下のリンクから、皆様のご感想やコメントを共有してください:https://huggingface.co/spaces/huggingface/HuggingDiscussions/discussions/49
原文を表示
- How it works In the website UI
- From the client SDKs
- Billing
- Feedback and next steps
We're thrilled to share that Baseten is now a supported Inference Provider on the Hugging Face Hub!
Baseten joins our growing ecosystem, enhancing the breadth and capabilities of serverless inference directly on the Hub's model pages. Inference Providers are also seamlessly integrated into our client SDKs (for both JS and Python), making it super easy to use a wide variety of models with your preferred providers.
Baseten is an AI infrastructure platform that covers serverless AI, training and more. With a catalog of many frontier models, Baseten makes it easy for developers to integrate a wide range of AI capabilities into their applications with minimal setup.
Baseten supports a broad spectrum of model types - from LLMs to text-to-speech and more. As part of this initial integration, Baseten is launching support for conversational and text-generation tasks on Hugging Face, enabling access to popular open-weight LLMs such as Kimi K3, latest DeepSeek V4 Flash, GLM-5.2, and many more. Support for additional tasks will roll out soon!
See the full list of models supported by Baseten here.
Follow Baseten on Hugging Face: https://huggingface.co/baseten.
How it works
In the website UI
- In your user account settings, you are able to:
- Set your own API keys for the providers you've signed up with. If no custom key is set, your requests will be routed through HF.
- Order providers by preference. This applies to the widget and code snippets in the model pages.

- As mentioned, there are two modes when calling Inference Providers:
- Custom key (calls go directly to the inference provider, using your own API key of the corresponding inference provider)
- Routed by HF (in that case, you don't need a token from the provider, and the charges are applied directly to your HF account rather than the provider's account)

- Model pages showcase third-party inference providers (the ones that are compatible with the current model, sorted by user preference)

From the client SDKs
Baseten is available through the Hugging Face SDKs - huggingface_hub (>= 1.26.1) for Python and @huggingface/inference for JavaScript.
The following examples show how to use the latest DeepSeek V4 Flash through Baseten. Use a Hugging Face token to authenticate - the request will be routed to Baseten automatically.
From your favorite Agent Harness
Hugging Face Inference Providers are integrated in most Agent Harnesses - including Pi, OpenCode, Hermes Agents, OpenClaw, and more. This means you can plug baseten-hosted models straight into your favorite tools without any extra glue code. Browse the full list of integrations here.
from Python
import os
from openai import OpenAI
client = OpenAI(
base_url="https://router.huggingface.co/v1",
api_key=os.environ["HF_TOKEN"],
)
completion = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Flash-0731:baseten",
messages=[
{
"role": "user",
"content": "Write a Python function that returns the nth Fibonacci number using memoization."
}
],
)
print(completion.choices[0].message)
from JS
import { OpenAI } from "openai";
const client = new OpenAI({
baseURL: "https://router.huggingface.co/v1",
apiKey: process.env.HF_TOKEN,
});
const chatCompletion = await client.chat.completions.create({
model: "deepseek-ai/DeepSeek-V4-Flash-0731:baseten",
messages: [
{
role: "user",
content: "Write a Python function that returns the nth Fibonacci number using memoization.",
},
],
});
console.log(chatCompletion.choices[0].message);
Billing
For direct requests, i.e. when you use the key from an inference provider, you are billed by the corresponding provider. For instance, if you use a baseten API key you're billed on your baseten account.
For routed requests, i.e. when you authenticate via the Hugging Face Hub, you'll only pay the standard provider API rates. There's no additional markup from us; we just pass through the provider costs directly. (In the future, we may establish revenue-sharing agreements with our provider partners.)
Important Note ‼️ PRO users get $2 worth of Inference credits every month. You can use them across providers. 🔥
Subscribe to the Hugging Face PRO plan to get access to Inference credits, ZeroGPU, Spaces Dev Mode, 20x higher limits, and more.
We also provide free inference with a small quota for our signed-in free users, but please upgrade to PRO if you can!
Feedback and next steps
We would love to get your feedback! Share your thoughts and/or comments here: https://huggingface.co/spaces/huggingface/HuggingDiscussions/discussions/49
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み