> ## Documentation Index
> Fetch the complete documentation index at: https://agent.minimax.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Models / BYOK

> Add a custom model provider with base URL, API key, API format, and model names.

<div className="code-docs">
  BYOK lets you add custom model providers. Configure provider name, base URL, API key, API format, and model list.

  <img src="https://mintcdn.com/agent-en/yEQNl2mVInzXN9Xt/images/code/byok-custom-model.png?fit=max&auto=format&n=yEQNl2mVInzXN9Xt&q=85&s=3a848cb5a43483abf738b95e96351ee2" alt="Custom Model create or edit modal" className="code-screenshot" width="2798" height="1698" data-path="images/code/byok-custom-model.png" />

  ## Required Information

  * Base URL
  * API key
  * Model name
  * API format

  ## Recommendation

  Run a connection test after adding a model. Use it for production tasks only after the test succeeds.

  <Warning>
    Custom model availability, context length, multimodal support, and cost depend on the provider you configure.
  </Warning>
</div>
