# Can inference endpoints be used in Spaces?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-inference-endpoints-be-used-in-spaces%2F56196%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [September 24, 2023, 11:35pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-inference-endpoints-be-used-in-spaces%2F56196 "2023-09-24T23:35:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cartinoe5930](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/cartinoe5930/32/19691_2.png) [@Cartinoe5930](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FCartinoe5930)%5C
**Post date:** [September 24, 2023, 11:35pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-inference-endpoints-be-used-in-spaces%2F56196%2F1 "2023-09-24T23:35:41Z")

</div>

Hi, I’ve got some questions about Inference Endpoints and Spaces. Can Inference Endpoints deploy the model on Spaces? As far as I know, inference API can be used to deploy the model on Spaces. So, is there no way to use the model in Spaces using Inference Endpoint?

I am in the project implementing several models on Spaces. For this, I decided to use Inference Endpoints(I can’t use inference API because the model size is bigger than 10GB). However, I don’t know how to deploy the models on Spcaes with Inference Endpoints. Please let me know how to do this.

---

<div class="post-metadata">

**Author:** ![philschmid](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/philschmid/32/38022_2.png) [@philschmid](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fphilschmid)%5C
**Post date:** [September 25, 2023, 6:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-inference-endpoints-be-used-in-spaces%2F56196%2F2 "2023-09-25T06:03:47Z")

</div>

Yes you can deploy a model with inference endpoints and then use it in spaces.
