# List models accessible via InferenceClient?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-models-accessible-via-inferenceclient%2F149481%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [April 8, 2025, 5:27pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-models-accessible-via-inferenceclient%2F149481 "2025-04-08T17:27:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [April 9, 2025, 4:01am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-models-accessible-via-inferenceclient%2F149481%2F2 "2025-04-09T04:01:16Z")

</div>

The method is described to some extent in the following post. If you want to limit it to the available models, you can add the option **Inference=”warm“**.

> [@Huggingface\_hub.client giving error on list\_deployed\_models()](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-hub-client-giving-error-on-list-deployed-models%2F143678)%3A
>
> Hi all , I am getting the following error when I call the list\_deployed\_models() on the InferenceClient. framework = "text-generation-inference" # "text-to-speech", deployed\_models = client.list\_deployed\_models([framework]) print(deployed\_models) Error: BadRequestError: (Request ID: Root=1-67c47933-02bf30da3e80cb5307dc9184;4dbda49a-b0b7-48bc-b0f7-5f7e09fc28d6) Bad request: Not allowed to request framework/text-generation-inference for provider hf-inference Any help is appreciated Reg…

> **[HfApi Client](https://huggingface.co/docs/huggingface_hub/v0.30.2/package_reference/hf_api#huggingface_hub.HfApi.list_models.inference)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-models-accessible-via-inferenceclient%2F149481)._
