API keys
Not Diamond API key
To start using Not Diamond, you first need to sign up and create a Not Diamond API key.
LLM provider API keys
Not Diamond is not a proxy, and all requests to LLMs are client-side. The Not Diamond API simply provides a recommendation for which model to use based on your submitted message inputs. You control your own keys for each model provider. You can see our full list of supported LLMs here, and you can sign up for keys from all major providers in less than five minutes:
OPENAI_API_KEY
(OpenAI ↗)ANTHROPIC_API_KEY
(Anthropic ↗)GOOGLE_API_KEY
(Google ↗)MISTRAL_API_KEY
(Mistral ↗)REPLICATE_API_KEY
(Replicate)TOGETHER_API_KEY
(Together.ai ↗)PPLX_API_KEY
(Perplexity)COHERE_API_KEY
(Cohere ↗)
You can also simply get recommendations from Not Diamond using the model_select
method and then call models locally or in any other way you please. If you prefer to use a proxy layer to manage all your API keys and billing, you can easily integrate Not Diamond with OpenRouter
API keys
We never pass your keys to our servers—all LLM requests are client-side. This means
notdiamond
will only call models you have access to. Our router supports most of the popular open and proprietary models (full list).
Updated 5 months ago