Kosha
A discovery registry for AI models, credentials, and pricing — the infrastructure my other tools stand on.
- 45 providers discovered: cloud, local, China and international, and everything between
- `kosha:cheapest[tool_use,128k]` — capability-filtered routing, resolved at request time
- Anthropic ↔ OpenAI wire-format translation in the proxy
- Circuit breakers with stale-cache fallback — degraded beats down
Every AI tool needs to answer the same three questions: what models exist, which ones do I have keys for, and what do they cost? Kosha answers once, for everything — a library, CLI, HTTP API, MCP server, and an OpenAI-compatible proxy over one v1-stable manifest.
The proxy’s party trick: address a model as kosha:cheapest[tool_use,128k] and the request routes, at call time, to the cheapest model you can actually use that meets those constraints.
Tokmeter prices its reports with it. Runic reads capability metadata from it. Infrastructure that other tools quietly depend on is my favorite kind.
It is published to the MCP registry, so an agent can ask it which model to use and what that will cost before spending anything. A weekly run publishes the whole catalogue — every provider, model, price and limit it can see without a key — as a snapshot anyone can download.