跳到正文
DEV Community· RickByte·· 34 分鐘前AI 評分30

經驗證的公開 API 與零成本 AI 端點登錄套件(2026.11.25)

Validated Public API & Zero-Cost AI Endpoint Registry Pack (2026.11.25)

AI 導讀

這個資料套件提供機器可讀的端點目錄、自動驗證引擎及 Python SDK,可在執行時動態尋找可用的零成本端點。套件列出 11 個經驗證的 OpenRouter `:free` 模型,並附有目錄查詢與端點健康檢查工具。

正文

RickByte

Validated Public API & Zero-Cost AI Endpoint Registry Pack

Public API registries and free LLM tiers (such as OpenRouter's :free routing models) frequently change authentication requirements, rate limits, and availability. Hardcoding these endpoints into applications leads to broken pipelines when endpoints deprecate or shift schemas.

This data pack provides a machine-readable directory (data/registry.json), an automated endpoint verification engine (scripts/validate_registry.py), and a Python client SDK (sdk/client.py) for dynamically resolving available zero-cost endpoints at runtime.


Directory Layout

registry-pack/
├── README.md
├── data/
│   └── registry.json          # Machine-readable endpoint catalog
├── scripts/
│   └── validate_registry.py   # Health-check script for CI/CD
└── sdk/
    └── client.py              # Python SDK for filtered catalog lookups

Data Schema (data/registry.json)

The registry catalogs endpoints using a strict JSON schema. Each entry defines the targeted category, canonical base URL, authentication mechanics, and verified capabilities.

[
  {
    "id": "openrouter-free-catalog",
    "name": "OpenRouter Free Catalog",
    "url": "https://openrouter.ai/api/v1/models",
    "auth": "none_for_catalog",
    "category": "ai_inference",
    "verified_free_models_count": 11,
    "last_validated": "2026-11-25T00:00:00Z"
  },
  {
    "id": "github-issues-search",

## Free Sample Preview — Validated Public API & Zero-Cost AI Endpoint Registry Pack (2026.11.25)

- Verified OpenRouter `:free` models indexed: **11**
- Included files: `README.md`, `data/registry.json`, `scripts/validate_registry.py`, `sdk/client.py`


json
[
{
"name": "OpenRouter Free Catalog",
"url": "https://openrouter.ai/api/v1/models",
"auth": "none_for_catalog",
"category": "ai_inference",
"verified_free_models_count": 11
},
{
"name": "GitHub Public REST Search",
"url": "https://api.github.com/search/issues",
"auth": "optional_bearer",
"category": "developer_data"
}
]



來源:DEV Community · dev.to