{"openapi":"3.1.0","info":{"title":"The Local Bench API","version":"1.0.0","description":"Static, read-only JSON for open-weight models, home AI hardware, builds, benchmark runs, rankings, special-purpose models, use cases and glossary. Every value carries a source and a verified/sourced/estimate/sample flag. CC BY 4.0.","license":{"name":"CC-BY-4.0","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://thelocalbench.com"}],"paths":{"/api/v1/models.json":{"get":{"summary":"List models","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/models/{id}.json":{"get":{"summary":"One model datasheet with runs","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":[{"name":"id","in":"path","required":true,"description":"Model id, e.g. gemma-3-27b","schema":{"type":"string"}}]}},"/api/v1/hardware.json":{"get":{"summary":"List hardware","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/hardware/{id}.json":{"get":{"summary":"One hardware datasheet with runs","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":[{"name":"id","in":"path","required":true,"description":"Hardware id, e.g. rtx-3090-24g-used","schema":{"type":"string"}}]}},"/api/v1/specialists.json":{"get":{"summary":"Special-purpose models (14 categories) with HF verification fields and cited primary-benchmark scores; score null = not yet measured","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/categories/{slug}.json":{"get":{"summary":"Ranked list for one special-purpose category","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":[{"name":"slug","in":"path","required":true,"description":"Category slug, e.g. speech-to-text","schema":{"type":"string"}}]}},"/api/v1/use-cases.json":{"get":{"summary":"Use cases with sourced real-world examples, budget/mid/pro tiers linked to builds, setup and limits","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/tools.json":{"get":{"summary":"Tools that work with local models: category, pricing, licence, local-model support flags with sources, platforms, sponsor {sponsored, disclosure}","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/tools/{slug}.json":{"get":{"summary":"One tool with its SoftwareApplication JSON-LD","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":[{"name":"slug","in":"path","required":true,"description":"Tool slug, e.g. ollama","schema":{"type":"string"}}]}},"/api/v1/how-to.json":{"get":{"summary":"How-to guides: difficulty, time, cost, hardware, OS, prerequisites, parts, tested_on, last_tested, flag (tested | partly-tested | untested), steps","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/how-to/{slug}.json":{"get":{"summary":"One how-to guide with its HowTo JSON-LD","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":[{"name":"slug","in":"path","required":true,"description":"Guide slug, e.g. llama-cpp-gpu-offload","schema":{"type":"string"}}]}},"/tools/new.json":{"get":{"summary":"Tools added this month (JSON Feed 1.1)","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/builds.json":{"get":{"summary":"Curated builds with totals and break-even","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/benchmarks.json":{"get":{"summary":"All benchmark runs","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/rankings/{class}.json":{"get":{"summary":"Ranking for a memory class","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":[{"name":"class","in":"path","required":true,"description":"One of 16gb, 24gb, 32gb, 48gb, 128gb","schema":{"type":"string"}}]}},"/api/v1/glossary.json":{"get":{"summary":"Glossary terms","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}