← Back to directory

Read only the header of a GGUF or safetensors file via HTTP range requests: arch...

https://denk.halowerk.com/v1/gguf-inspect

Overview

Read only the header of a GGUF or safetensors file via HTTP range requests: architecture, quantization mix, parameter count, context length, attention layout and licence fields. Fetches the first megabytes of a public model file with HTTP Range requests (growing until the header is complete, at most 32 MiB; the weights are never downloaded) or takes the leading bytes as base64.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider denk
Source bazaar
Indexed 2026-11-20 16:11:04

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "file": "SmolLM2-135M-Instruct-Q4_K_M.gguf", "hf_repo": "bartowski/SmolLM2-135M-Instruct-GGUF" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Header data only; weights are not validated.", "Gated or private files are not supported." ], "result": { "file_size_bytes": 105454432, "format": "gguf", "gguf_version": 3, "header_bytes": 1785944, "hf_license_tag": "apache-2.0", "hf_repo": "bartowski/SmolLM2-135M-Instruct-GGUF", "hyperparameters": { "block_count": 30, "context_length": 8192, "embedding_length": 576, "expert_count": null, "expert_used_count": null, "feed_forward_length": 1536, "head_count": 9, "head_count_kv": 3, "head_dim": 64, "key_length": null, "rope_freq_base": 100000, "sliding_window": null, "value_length": null, "vocab_size": 49152 }, "kv_cache_bytes_per_token_f16": 23040, "metadata": { "general.architecture": "llama", "general.basename": "smollm2", "general.file_type": 15, "general.finetune": "8k-lc100k-mix1-ep2", "general.languages": { "array_of": 8, "length": 1, "sample": [ "en" ] }, "general.license": "apache-2.0", "general.name": "Smollm2 135M 8k Lc100K Mix1 Ep2", "general.organization": "HuggingFaceTB", "general.quantization_version": 2, "general.size_label": "135M", "general.type": "model", "llama.attention.head_count": 9, "llama.attention.head_count_kv": 3, "llama.attention.layer_norm_rms_epsilon": 0.000009999999747378752, "llama.block_count": 30, "llama.context_length": 8192, "llama.embedding_length": 576, "llama.feed_forward_length": 1536, "llama.rope.dimension_count": 64, "llama.rope.freq_base": 100000, "llama.vocab_size": 49152, "quantize.imatrix.chunks_count": 141, "quantize.imatrix.dataset": "/training_dir/calibration_datav3.txt", "quantize.imatrix.entries_count": 210, "quantize.imatrix.file": "/models_out/SmolLM2-135M-Instruct-GGUF/SmolLM2-135M-Instruct.imatrix", "tokenizer.chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained … [truncated, 300 chars]", "tokenizer.ggml.add_bos_token": false, "tokenizer.ggml.add_space_prefix": false, "tokenizer.ggml.bos_token_id": 1, "tokenizer.ggml.eos_token_id": 2, "tokenizer.ggml.merges": { "array_of": 8, "length": 48900, "sample": [ "Ġ t", "Ġ a", "i n", "h e", "Ġ Ġ" ] }, "tokenizer.ggml.model": "gpt2", "tokenizer.ggml.padding_token_id": 2, "tokenizer.ggml.pre": "smollm", "tokenizer.ggml.token_type": { "array_of": 5, "length": 49152, "sample": [ 3, 3, 3, 3, 3 ] }, "tokenizer.ggml.tokens": { "array_of": 8, "length": 49152, "sample": [ "<|endoftext|>", "<|im_start|>", "<|im_end|>", "<repo_name>", "<reponame>" ] }, "tokenizer.ggml.unknown_token_id": 0 }, "metadata_count": 37, "model": { "architecture": "llama", "basename": "smollm2", "file_type": { "id": 15, "name": "MOSTLY_Q4_K_M" }, "license": "apache-2.0", "license_link": null, "license_name": null, "name": "Smollm2 135M 8k Lc100K Mix1 Ep2", "quantization_version": 2, "quantized_by": null, "size_label": "135M" }, "source": "https://huggingface.co/bartowski/SmolLM2-135M-Instruct-GGUF/resolve/main/SmolLM2-135M-Instruct-Q4_K_M.gguf", "tensor_count": 272, "tensors": { "bits_per_weight": 6.1655, "by_type": [ { "bytes": 53678592, "parameters": 78077952, "tensors": 166, "type": "Q5_0" }, { "bytes": 31726080, "parameters": 29859840, "tensors": 15, "type": "Q8_0" }, { "bytes": 7962624, "parameters": 14155776, "tensors": 16, "type": "Q4_K" }, { "bytes": 10160640, "parameters": 12386304, "tensors": 14, "type": "Q6_K" }, { "bytes": 140544, "parameters": 35136, "tensors": 61, "type": "F32" } ], "parameter_count": 134515008, "tensor_bytes": 103668480 }, "tokenizer": { "bos_token_id": 1, "eos_token_id": 2, "has_chat_template": true, "model": "gpt2" } }, "service": "gguf-inspect", "status": "success" }, "type": "json" }