Register a custom language model with the organization that owns the API key.
The model configuration is validated by making a test API call before saving.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The name of the custom language model
1 - 255The identifier of the custom language model (e.g. openai/gpt-4o, azure/gpt-5)
1 - 255Provider name (auto-detected from identifier if not specified)
Model type: 'llm' (default), 'embedding', or 'image'
Provider-specific configuration (e.g. api_base, api_version, region)
The API key or credentials for the model
Successful Response
The ID of the custom language model
The name of the custom language model
The identifier of the custom language model
Provider name
Model type: llm, embedding, or image
Provider-specific configuration