Skip to content

Hugging Face API: Get model details

Looks up one Hugging Face model by name, repository ID or link and returns its public details, model card summary and file sizes. For a name, the first matching model is returned.

huggingface.co (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Hugging Face.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Model, requiredmodel

Model name, repository name, or Hugging Face model link, for example Llama 3.1 8B Instruct or meta-llama/Llama-3.1-8B-Instruct.

Llama 3.1 8B Instruct

Output

From a run on Oct 23, 2026, shortened for this page.
{  "task": "Text generation",  "files": [    {      "name": ".gitattributes",      "size_bytes": 1519    },    {      "name": "LICENSE",      "size_bytes": 7627    },    {      "name": "README.md",      "size_bytes": 44044    }  ],  "gated": true,  "likes": 8563,  "author": "meta-llama",  "license": "Llama 3.1",  "languages": [    "en",    "de",    "fr"  ],  "base_model": "meta-llama/Meta-Llama-3.1-8B",  "model_name": "Llama-3.1-8B-Instruct",  "datasets_used": [],  "matched_model": "Llama-3.1-8B-Instruct by meta-llama",  "repository_id": "meta-llama/Llama-3.1-8B-Instruct",  "model_page_link": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct",  "parameter_count": 8030261248,  "last_updated_date": "2024-09-25",  "model_card_summary": "The Meta Llama 3.1 collection of multilingual large language models (LLMs) is a collection of pretrained and instruction tuned generative models in 8B, 70B and 405B sizes (text in/text out). The Llama 3.1 instruction tuned text only models (8B, 70B, 405B) are optimized for multilingual dialogue use …",  "downloads_last_30_days": 4864172}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
huggingface.co/get_model
Returns
model name, matched model, author, task, license, gated, downloads, likes, last updated date, parameter count, base model, languages, datasets, model card summary, files, page link, repository ID

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method huggingface.co/get_model with the inputs above.

Ask your agent

  • What is the license and download count for meta-llama/Llama-3.1-8B-Instruct on Hugging Face?
  • Show me the model card summary and file sizes for the Mistral 7B Instruct model.
  • Is the gemma-2-9b model gated, and when was it last updated?
  • Look up the parameter count and base model for https://huggingface.co/Qwen/Qwen2.5-7B-Instruct.
  • Find the author, task type, and number of likes for the Whisper large-v3 model on Hugging Face.
  • Finds public Hugging Face models by search words, with an optional task and sort order. License is null when the model does not publish one.

    huggingface.co/search_models
  • Lists Hugging Face models in trending order this week, optionally filtered to one task. Downloads cover the last 30 days.

    huggingface.co/list_trending_models
  • Finds public Hugging Face datasets by name or topic, ordered by downloads, likes, trending score or last update.

    huggingface.co/search_datasets
  • Finds public Hugging Face Spaces demos for a task, with descriptions, likes, running status and update dates.

    huggingface.co/search_spaces
  • Looks up an OpenRouter model by name, slug or model link and returns its prices, limits, supported inputs, release date and hosting providers.

    openrouter.ai/get_model
  • Looks up a public GitHub repository by name, owner/name, or link and returns its stars, forks, release, commit and contributor facts.

    github.com/get_repository
  • Lists the passenger car, SUV/minivan and truck models NHTSA has for a make and model year, alphabetically.

    nhtsa.gov/list_vehicle_models
  • Gets details for an Amazon product, found by name or by link, in a chosen country store. Offer prices, delivery and variants may be missing when Amazon does not show them publicly.

    amazon.com/get_product