Quick start¶
Nexus is AI API for people, teams, automations, chat bots and coding tools. You can create a profile and an API key in Telegram without a support request.
Five minutes to the first request¶
- Open @nexus_hubbot and send
/start. - Select the interface language and display currency.
- In More, check your public six-digit Nexus ID and the links to the current user terms.
- Use Free API trial when it is shown, or choose Top up.
- Open Keys → Issue a key. The plaintext value is revealed once; save it in secure storage or an environment variable.
- Run
GET /v1/modelsand choose a model from the response for this key. - Set that model ID, then send the minimal Responses request below.
export NEXUS_API_KEY='replace-with-your-key'
curl https://api.nexus-hub.ru/v1/models \
-H "Authorization: Bearer $NEXUS_API_KEY"
export NEXUS_MODEL='MODEL_FROM_V1_MODELS'
curl --fail-with-body https://api.nexus-hub.ru/v1/responses \
-H "Authorization: Bearer $NEXUS_API_KEY" \
-H 'Content-Type: application/json' \
-d "{\"model\":\"$NEXUS_MODEL\",\"input\":\"Reply exactly OK.\",\"max_output_tokens\":16}"
An HTTP success response with the requested text confirms the first API call. Continue with the client setup to configure an application.
The first request is admitted only when the key is active, the endpoint and model are allowed, and the profile has the required balance. A trial key is short-lived and is revoked when the trial conditions are no longer met.
Choose a path¶
- Use cases helps choose a protocol for a product or workflow.
- Bot and profile explains onboarding, keys, balance and support.
- API reference contains request, response and error examples.
- Models and prices explains the key-specific catalog.