Hugging Face model details API

Use the Hugging Face model details API to retrieve model metadata, model-card information and repository references. Identify a model by owner/name or Hub URL to inspect its card, licence, files, parameter information and published provider references; this request retrieves metadata rather than executing inference. Inspect model documentation and licensing, identify compatible artifacts, or compare candidate repositories before evaluating a model. This catalogue lookup describes model resources; it neither runs inference nor creates generated text, images or other outputs. The detail page provides request and response examples, supported parameters, and usage pricing.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
The model id (owner/name) or its huggingface.co link.
Optional parameters (5)
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

"architectures": [
  "LlamaForCausalLM"
]
"arxiv": [
  "2204.05149"
]
"author": "meta-llama"
"base_model_relation": "finetune"
"base_models": [
  "meta-llama/Llama-3.1-8B"
]
"cached": false
card_data {}
"base_model": "meta-llama/Meta-Llama-3.1-8B"
"extra_gated_button_content": "Submit"
"extra_gated_description": "The information you provide will be collected, stored, processed and shared in accordance with the [Meta Privacy Policy](https://www.faceboo…"
"extra_gated_fields": {
  "Affiliation": "text",
  "By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy": "checkbox",
  "Country": "country",
  "Date of birth": "date_picker",
  "First Name": "text",
  "Job title": {
    "options": [
      "Student",
      "Research Graduate",
      "… 4 more"
    ],
    "type": "select"
  },
  "Last Name": "text",
  "geo": "ip_location"
}
extra_gated_promptString · text preview
card_data.extra_gated_prompt
### LLAMA 3.1 COMMUNITY LICENSE AGREEMENT
Llama 3.1 Version Release Date: July 23, 2024
"Agreement" means the terms and conditions for use, …
"language": [
  "en",
  "de",
  "… 6 more"
]
"license": "llama3.1"
"pipeline_tag": "text-generation"
"tags": [
  "facebook",
  "meta",
  "… 3 more"
]
"created_at": "2024-07-18T08:56:00.000Z"
"credits_used": 1
"datasets": []
"derived_models": {
  "adapter": 3029,
  "finetune": 3306,
  "merge": 105,
  "quantized": 956
}
"disabled": false
"downloads_all_time": 192541517
"downloads_last_month": 4475436
"files": [
  ".gitattributes",
  "LICENSE",
  "… 15 more"
]
"files_count": 17
"gated": "manual"
"gguf": null
"id": "meta-llama/Llama-3.1-8B-Instruct"
"inference": "warm"
"inference_providers": [
  {
    "provider": "novita",
    "provider_id": "meta-llama/llama-3.1-8b-instruct",
    "status": "live",
    "task": "conversational"
  },
  {
    "provider": "featherless-ai",
    "provider_id": "meta-llama/Llama-3.1-8B-Instruct",
    "status": "live",
    "task": "conversational"
  },
  "… 1 more"
]
"languages": [
  "en",
  "de",
  "… 6 more"
]
"last_modified": "2024-09-25T17:00:57.000Z"
"library": "transformers"
"licenses": [
  "llama3.1"
]
"likes": 8780
"model_type": "llama"
"name": "Llama-3.1-8B-Instruct"
"parameters": 8030261248
"parameters_by_dtype": {
  "BF16": 8030261248
}
"pipeline_tag": "text-generation"
"private": false
"regions": [
  "us"
]
"sha": "0e9e39f249a16976918f6564b8830bc894c89659"
"spaces": [
  "pollen-robotics/Reachy_Mini",
  "pliny-the-prompter/obliteratus",
  "… 98 more"
]
"spaces_listed": 100
"tags": [
  "transformers",
  "safetensors",
  "… 24 more"
]
"transformers_info": {
  "auto_model": "AutoModelForCausalLM",
  "pipeline_tag": "text-generation",
  "processor": "AutoTokenizer"
}
"trending_score": 60
"url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct"
"used_storage_bytes": 32123357950
"widget_examples": [
  {
    "text": "Hi, what can you help me with?"
  },
  {
    "text": "What is 84 * 3 / 2?"
  },
  "… 2 more"
]
"…": "5 more fields"

Response result

Response structure

Inferred from examples
  • architecturesstring[]
  • arxivstring[]
  • authorstring
  • base_model_relationstring
  • base_modelsstring[]
  • cachedboolean
  • card_dataobject
    • base_modelstring
    • extra_gated_button_contentstring
    • extra_gated_descriptionstring
    • extra_gated_fieldsobject
      • Affiliationstring
      • By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policystring
      • Countrystring
      • Date of birthstring
      • First Namestring
      • Job titleobject
        • optionsstring[]
        • typestring
      • Last Namestring
      • geostring
    • extra_gated_promptstring
    • languagestring[]
    • licensestring
    • pipeline_tagstring
    • tagsstring[]
  • created_atstring
  • credits_usedinteger
  • datasetsunknown[]
  • derived_modelsobject
    • adapterinteger
    • finetuneinteger
    • mergeinteger
    • quantizedinteger
  • disabledboolean
  • downloads_all_timeinteger
  • downloads_last_monthinteger
  • filesstring[]
  • files_countinteger
  • gatedstring
  • ggufnull
  • idstring
  • inferencestring
  • inference_providers(object | string)[]
    • providerstring
    • provider_idstring
    • statusstring
    • taskstring
  • languagesstring[]
  • last_modifiedstring
  • librarystring
  • licensesstring[]
  • likesinteger
  • model_typestring
  • namestring
  • parametersinteger
  • parameters_by_dtypeobject
    • BF16integer
  • pipeline_tagstring
  • privateboolean
  • regionsstring[]
  • shastring
  • spacesstring[]
  • spaces_listedinteger
  • tagsstring[]
  • transformers_infoobject
    • auto_modelstring
    • pipeline_tagstring
    • processorstring
  • trending_scoreinteger
  • urlstring
  • used_storage_bytesinteger
  • widget_examples(object | string)[]
    • textstring
  • …string

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Hugging Face model details API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.