Skip to main content
Bring your own key
Bring your own key

Add an xAI API key to Kilo

xAI BYOK is the API-billed alternative to SuperGrok OAuth and works for Gateway-backed Kilo products.

Models
Grok models allowed by your key ACLs
Billing
Provider pay-as-you-go billing
Connect with
xAI API key

How to connect xAI to Kilo

  1. 1

    Create a xAI xai api key

    Sign in to xAI, enable API billing if required, and create a credential for Kilo. Copy it when it is shown and keep it private.

  2. 2

    Open Kilo BYOK settings

    Open the Kilo BYOK page and choose xAI from the provider list.

  3. 3

    Add the xai api key

    Paste the xAI credential, complete any provider-specific fields, and save it. Kilo validates the configuration before using it.

  4. 4

    Select a model and verify usage

    Choose a model supplied by xAI, send a test request, and confirm the request appears in your provider usage dashboard.

Before you connect

  • xAI API credits are separate from SuperGrok and X Premium+ subscriptions.
  • Ensure the key permits the models and endpoints you plan to use.

Compare this with every inference option

Compare subscriptions, provider keys, Kilo Gateway, and local models before choosing how to power Kilo.

View the inference comparison