Hugging FaceAlex Ker, Roland Crosby, Sid Shanker, Johan, Célina Hanouti, Simon Brandeis, Lucain Pouget, merveAnnouncement
Baseten on Hugging Face Inference Providers 🔥
Summary
Baseten is now a supported Inference Provider on the Hugging Face Hub, extending serverless inference on model pages and through the Hugging Face Python and JavaScript SDKs. As part of the initial integration, it supports conversational and text-generation tasks, including access to open-weight models such as Kimi K3, latest DeepSeek V4 Flash, and GLM-5.2, with additional tasks planned to roll out soon. Developers can use a custom provider key for direct calls or authenticate with a Hugging Face token so requests are routed to Baseten; model pages and account settings support provider compatibility and preference ordering. Python and JavaScript OpenAI-compatible examples use the Hugging Face router, while integrated agent harnesses can access Baseten-hosted models without extra glue code.
Context
Baseten joins Hugging Face's Inference Provider ecosystem to broaden serverless inference available directly on model pages, client SDKs, and integrated agent tools. The initial integration focuses on conversational and text-generation tasks, with additional task support planned.
Approach / What changed
Hugging Face exposes Baseten through model-page provider selection, custom-key or Hugging Face-routed requests, the huggingface_hub Python SDK, the @huggingface/inference JavaScript SDK, OpenAI-compatible router calls, and integrations with agent harnesses. Direct requests use a provider key, while routed requests use a Hugging Face token and charge the Hugging Face account at standard provider API rates.
Takeaways
The initial Baseten integration supports conversational and text-generation tasks and provides access to models including Kimi K3, latest DeepSeek V4 Flash, and GLM-5.2.
Requests can use a custom Baseten key for direct provider calls or be routed by Hugging Face with a Hugging Face token; direct and routed requests are billed through the corresponding account.
Baseten is available through the Hugging Face Python and JavaScript SDKs, OpenAI-compatible router examples, and several integrated agent harnesses without extra glue code.
Source and freshness
- Source
- huggingface.co
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.