---
title: "Programmatically manage 🤗 Inference Endpoints"
url: https://daily.dev/posts/programmatically-manage-inference-endpoints-rqhvz6wun
source_url: https://www.philschmid.de/inference-endpoints-iac
type: article
source: "Philipp Schmid"
published: 2026-05-31T07:41:10.529Z
updated: 2026-05-31T08:21:23.774Z
tags: ["python", "iac", "huggingface"]
reading_time: 4
upvotes: 0
comments: 0
language: en
---

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

# Programmatically manage 🤗 Inference Endpoints

**[Philipp Schmid](https://daily.dev/sources/philschmid)** · 4 min read · 0 upvotes · 0 comments

## Summary

The huggingface_hub Python library now supports programmatic management of Hugging Face Inference Endpoints. Using the library, developers can create, update, pause, delete, and send requests to endpoints without touching the UI. The tutorial walks through a full example using the Zephyr 7B model with Text Generation Inference (TGI), covering endpoint creation with custom image configuration, waiting for readiness, running inference, pausing, and deleting the endpoint. This enables Infrastructure as Code workflows for GenAI deployments, useful for batch processing and automated model evaluation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.philschmid.de/inference-endpoints-iac>

---

Tags: [#python](https://daily.dev/tags/python), [#iac](https://daily.dev/tags/iac), [#huggingface](https://daily.dev/tags/huggingface)

[View this post on daily.dev](https://daily.dev/posts/programmatically-manage-inference-endpoints-rqhvz6wun)
