# API usage for Starcode and wizardcoder

**URL:** <https://discuss.huggingface.co/t/api-usage-for-starcode-and-wizardcoder/44040>\
**Category:** 🤗Hub\
**Created:** [June 21, 2023, 12:29pm UTC](https://discuss.huggingface.co/t/api-usage-for-starcode-and-wizardcoder/44040 "2023-06-21T12:29:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagarsdesai](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@sagarsdesai](https://discuss.huggingface.co/u/sagarsdesai)\
**Post date:** [June 21, 2023, 12:29pm UTC](https://discuss.huggingface.co/t/api-usage-for-starcode-and-wizardcoder/44040/1 "2023-06-21T12:29:13Z")

</div>

Hello guys,

I want to use Starcode and wizardcoder to experiment with. went throught the documents available on website, did not find much on how can I use these models as API call.

are these models hosted? can these be used using API call?  
are there token limits for these models?

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [July 7, 2023, 9:21pm UTC](https://discuss.huggingface.co/t/api-usage-for-starcode-and-wizardcoder/44040/2 "2023-07-07T21:21:09Z")

</div>

hi @sagarsdesai  
the easiest way to have your own API is to setup an Inference Endpoint

Please check this blog

> **[Deploy LLMs with Hugging Face Inference Endpoints](https://huggingface.co/blog/inference-endpoints-llm)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.
