Not Diamond
Not Diamond is an AI model router that determines the best LLM to call for any given prompt. Its REST API routes each request to the optimal model across providers based on quality, cost, and latency tradeoffs, accepts real-time feedback to personalize routing, and can train custom routers from evaluation datasets.
APIs
Not Diamond Model Select API
Routes a prompt to the best available LLM. Submit OpenAI-format messages and a list of candidate providers, and the modelSelect endpoint returns the recommended provider/model p...
Not Diamond Models API
Lists supported text generation models with provider, context length, and per-million-token input/output pricing, with optional filtering by provider or OpenRouter support.
Not Diamond Feedback API
Reports outcome feedback and latency metrics against a routing session so Not Diamond can continuously personalize routing decisions in real time to an application's end users.
Not Diamond Custom Routers API
Trains a custom router from an uploaded CSV evaluation dataset and creates or updates a user preference, returning a preference ID used to drive personalized routing in subseque...