# Connect a model

Scorable subscription provides [a set of models](https://scorable.ai/settings/llm-accounts) you can use in your Judges and proxy. You are not limited by that selection, though. Integrating with cloud providers' models or connecting to locally hosted models is possible via UI, the [CLI](/concepts-and-examples/cookbooks/cli.md#custom-model-management), [SDK](https://sdk.scorable.ai/examples.html#add-a-model), or REST API.

{% hint style="info" %}
[Full model list](https://api.scorable.ai/public-models/).
{% endhint %}

### Huggingface example

To use an [HF inference endpoint](https://huggingface.co/docs/inference-endpoints/index), add the model endpoint via the SDK or through the REST API

```bash
curl --request POST \
     --url https://api.scorable.ai/v1/models/ \
     --header 'Authorization: Api-Key $SCORABLE_API_KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
               {
                 "name": "huggingface/meta-llama/Meta-Llama-3-8B",
                 "url": "https://my-endpoint.huggingface.cloud",
                 "default_key": "$HF_KEY"
               }
            '
```

After adding the model, you can use it like any other model in your evaluators.

```python
skill = client.evaluators.create(
    name="My model test", scoring_criteria="Hello, my model!", model="huggingface/meta-llama/Meta-Llama-3-8B"
)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scorable.ai/concepts-and-examples/cookbooks/connect-a-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
