Setting up another client¶
If the client supports a custom endpoint, configure it for the protocol it expects.
OpenAI Responses¶
- Base URL:
https://api.nexus-hub.ru/v1; - API Key: the Nexus API key;
- model: an exact value returned by
GET /v1/models; - route built by the client:
POST /v1/responses.
OpenAI Chat Completions¶
- Base URL:
https://api.nexus-hub.ru/v1; - API Key: the Nexus API key;
- model: an exact value returned by
GET /v1/models; - route built by the client:
POST /v1/chat/completions.
Anthropic Messages¶
- Base URL:
https://api.nexus-hub.ru; - API Key: the Nexus API key;
- Anthropic API version:
2023-06-01; - model: an exact value returned by
GET /v1/models; - route built by the client:
POST /v1/messages.
Gemini-compatible¶
- Base URL:
https://api.nexus-hub.ru/v1beta; - API Key: the Nexus API key;
- model: an exact value returned by
GET /v1beta/models; - route:
/v1beta/models/{model}:generateContent.
Enter the key in a protected field, keychain, or environment variable. If the client asks for a full endpoint instead of a Base URL, use the route for the selected protocol above.