Skip to main content

Moonshot models compatibility

Add Moonshot API keys

There are 2 ways to add your Moonshot credentials to your requests:

Via UI

1

Go to the Providers page

2

Add your Moonshot credentials.

Add your Moonshot API key in the providers page.

Via code

Add customer_credentials parameter in your request body to use your own Moonshot credits.
{
  // Rest of the request body
  "customer_credentials": {
    "moonshot": {
      "api_key": "YOUR_MOONSHOT_API_KEY",
    }
  }
}