---
title: "Stable hosted-local model file alias for agents and tools that run models locally."
method: GET
path: "/api/hosted-local-models"
tags: ["Downloads", "Agent Docs"]
---

# Stable hosted-local model file alias for agents and tools that run models locally.

`GET /api/hosted-local-models`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/hosted-local-models`
- Auth: none declared

Stable hosted-local model file alias for agents and tools that run models locally.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

## Query parameters

- `limit` integer
- `tool` 'ollama' | 'lm-studio' | 'comfyui' | 'transformers' | 'llama.cpp'
- `compat` 'containment'

## Response `200`

Hosted local model files with local-kit, download-plan, trust-bundle, and review URLs

- HostedLocalModels
  - `schemaVersion` 'hugging-bay.hosted-local-models.v1', required
  - `generatedAt` string, required
  - `baseUrl` string
  - `criteria` object, required
  - `filters` object, required
  - `stats` object, required
  - `rows` object[], required
  - `pack` object
  - `agentUse` object, required

## Other responses

- `503`: Hosted-local inventory temporarily unavailable; retry after the declared delay.

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/865eb0f1b6ef?raw)
