Hugging Face Model Details
huggingfacehub/get-model
Returns the Hugging Face Hub record of one model repo given its owner and name: downloads over the last 30 days, likes, task (`pipeline_tag`), library, dates, head commit, storage used, safetensors parameter counts, up to 40 tags, the card header (`cardData`: licence, languages, base model, datasets and so on), the file count with the first 30 file names, and the Space count with the first 10 Space ids. Strings, lists and objects are bounded; widget examples, model-index and config are not included. Each repo has its own licence, set by its authors; it appears in `cardData.license` and in the `license:` tag where they set it. Hugging Face Hub metadata, served by Eden Engine; not an official Hugging Face product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Data from the Hugging Face Hub (https://huggingface.co). Each model and dataset carries its own licence, set by its authors on the repo card. Served by Eden Engine; not an official Hugging Face product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "huggingfacehub/get-model" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "huggingfacehub/get-model" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "huggingfacehub/get-model", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "huggingfacehub/get-model", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 25, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"owner",
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 96,
"minLength": 1,
"description": "Repo name part of the repo id, for example bert-base-uncased."
},
"owner": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 96,
"minLength": 1,
"description": "Owner (user or organisation) part of the repo id, for example google-bert in google-bert/bert-base-uncased."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"id",
"fileCount"
],
"properties": {
"id": {
"type": "string",
"description": "Repo id, owner/name."
},
"sha": {
"type": "string",
"description": "Head commit of the repo."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "At most 40 tags (library, task, language, licence:..., dataset:... and so on)."
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"description": "The first 30 file names."
},
"gated": {
"type": [
"boolean",
"string"
],
"description": "false for an open repo, or \"auto\" / \"manual\" when access needs a request."
},
"likes": {
"type": "integer"
},
"author": {
"type": "string"
},
"spaces": {
"type": "array",
"items": {
"type": "string"
},
"description": "The first 10 Space ids."
},
"clipped": {
"type": "boolean",
"description": "True when the hook shortened a string, list or object; strings end with a note giving the count dropped."
},
"private": {
"type": "boolean"
},
"cardData": {
"type": "object",
"description": "The repo card's YAML header (licence, language, base model, datasets, size category and so on), clipped.",
"additionalProperties": true
},
"disabled": {
"type": "boolean"
},
"createdAt": {
"type": "string"
},
"downloads": {
"type": "integer",
"description": "Downloads in the last 30 days."
},
"fileCount": {
"type": "integer",
"description": "Files in the repo."
},
"spaceCount": {
"type": "integer",
"description": "Spaces that use this repo; models only."
},
"description": {
"type": [
"string",
"null"
],
"description": "Dataset card summary, clipped to 500 characters; datasets only."
},
"safetensors": {
"type": "object",
"description": "Parameter counts by dtype and the total; models with safetensors weights only.",
"additionalProperties": true
},
"usedStorage": {
"type": "integer",
"description": "Bytes the repo uses."
},
"lastModified": {
"type": "string"
},
"library_name": {
"type": [
"string",
"null"
]
},
"pipeline_tag": {
"type": [
"string",
"null"
],
"description": "Task, for example text-classification; absent or null when the authors set none."
},
"trendingScore": {
"type": "number"
}
},
"description": "One model record, reduced by the hook (see `clipped`).",
"additionalProperties": true
}