# List models accessible via InferenceClient?

**URL:** <https://discuss.huggingface.co/t/list-models-accessible-via-inferenceclient/149481>\
**Category:** Inference Endpoints on the Hub\
**Created:** [April 8, 2025, 5:27pm UTC](https://discuss.huggingface.co/t/list-models-accessible-via-inferenceclient/149481 "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](https://discuss.huggingface.co/u/John6666)\
**Post date:** [April 9, 2025, 4:01am UTC](https://discuss.huggingface.co/t/list-models-accessible-via-inferenceclient/149481/2 "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()](https://discuss.huggingface.co/t/huggingface-hub-client-giving-error-on-list-deployed-models/143678):
>
> 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](https://discuss.huggingface.co/t/list-models-accessible-via-inferenceclient/149481)._
