# Multi model support

**URL:** <https://forum.numer.ai/t/multi-model-support/563>\
**Category:** Tournament\
**Created:** [June 17, 2020, 5:43pm UTC](https://forum.numer.ai/t/multi-model-support/563 "2020-06-17T17:43:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![correlator](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/correlator/32/3391_2.png) [@correlator](https://forum.numer.ai/u/correlator)\
**Post date:** [June 17, 2020, 5:43pm UTC](https://forum.numer.ai/t/multi-model-support/563/1 "2020-06-17T17:43:00Z")

</div>

What’s the significance of model-id while submitting? Can it be any string that I can use to identify my model?  
If I want to submit 2 models (with different stakes) what’s the procedure for that?

p.s. I am familiar with multi model support but don’t know how to use it.

---

<div class="post-metadata">

**Author:** ![mytwocents](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mytwocents](https://forum.numer.ai/u/mytwocents)\
**Post date:** [June 17, 2020, 10:18pm UTC](https://forum.numer.ai/t/multi-model-support/563/2 "2020-06-17T22:18:18Z")

</div>

The model\_id identifies your model to numerai. Model name is to model\_id what hostname is to IP address.

In Python, I do this:

```
import numerapi

napi = numerapi.NumerAPI(public_id=public_id, secret_key=secret_key)
napi.upload_predictions(path_to_predictions, model_id=model_id)

```

I get **public\_id** from [https://numer.ai/account](https://numer.ai/account), upon clicking the **VIEW API KEYS** button. **secret\_key** was shown once when I created my webhook. I assume you have to destroy and recreate the submit webhook to get a new secret key. (In practice I store these things in Google Cloud Secret Manager.)  
**model\_id** is the UUID for your model which is obtained from [https://numer.ai/models](https://numer.ai/models).

To manage your stake, use

```
napi.stake_increase(nmr=nmr_amount, model_id=model_id)
napi.stake_decrease(nmr=nmr_amount, model_id=model_id)

```

I don’t know how to delete a pending stake change using the API.
