← ALL DEVELOPER GUIDES
LIBRECHAT SETUP

Add CheapClankers as a LibreChat custom endpoint

Add an OpenAI-compatible chat endpoint to self-hosted LibreChat and send a test conversation.

Updated

Set a key for LibreChat

Set CLANKER_API_KEY in the LibreChat server or API container environment. Keep the secret out of librechat.yaml and source control. A dedicated key can be revoked independently. Requests from users with endpoint access spend its credit.

Configure the endpoint

Merge this entry into endpoints.custom in librechat.yaml. Replace YOUR_ENABLED_CHAT_MODEL with a model ID your key can access that supports chat. Keep fetch disabled to show only configured model IDs.

YAML
endpoints:
  custom:
    - name: "CheapClankers"
      apiKey: '${CLANKER_API_KEY}'
      baseURL: "https://api.cheapclankers.com/v1"
      models:
        default: ["YOUR_ENABLED_CHAT_MODEL"]
        fetch: false
      titleConvo: false
      modelDisplayLabel: "CheapClankers"

Restart LibreChat and test a chat

Restart the LibreChat API service to load the configuration and environment. Choose CheapClankers in the model picker and ask for a short greeting. If the endpoint is missing, check that LibreChat loaded your YAML. If the request fails, check the key, exact model ID, protocol and prepaid credit. Verify tools and attachments separately.

Official tool documentation

These examples describe the endpoint configuration. Review current SDK or tool requirements before installing; live inference and tool support depend on the selected model.

Next steps

API documentation · Live model catalogue · Compare credit packs

More tutorials: Use an OpenAI-compatible API in a Next.js Route Handler · Use the OpenAI Node SDK with a custom API base URL · Use the OpenAI Python SDK with a custom API base URL · Configure Claude Code to use the CheapClankers API · Codex CLI setup

New to the service? Create a developer account and review the current model access and rates before adding credit.