---
title: "Create LLM settings"
method: POST
path: "/llm/settings"
tags: ["LlmSetting"]
---

# Create LLM settings

`POST /llm/settings`

Create a provider-specific settings entry for a catalog model.

## Query parameters

- `cookie_name` string, nullable

## Request body

- LLMSettingsIn
  - `llm_catalog_id` integer, required — ID of the catalog model these settings configure.
  - `provider` string, required — Provider backing the model.
  - `library` string, required — Client library used to call the provider.
  - `max_tokens` integer, required — Maximum tokens allowed per request for this model.
  - `cost_prompt_tokens` union, required — Cost per prompt token in the billing currency.
    - number
    - string
  - `cost_completion_tokens` union, required — Cost per completion token in the billing currency.
    - number
    - string
  - `region` string, nullable — Provider region hosting the deployment.
  - `args` object, nullable — Extra provider-specific arguments passed to the client.
  - `openai_resource` string, nullable — Azure OpenAI resource name.
  - `api_version` string, nullable — Provider API version to target.
  - `deployment_name` string, nullable — Provider deployment name for the model.
  - `endpoint` string, nullable — Base URL of the provider endpoint.
  - `api_key` string, nullable — Secret API key used to authenticate with the provider.

## Response `201`

Successful Response

- unknown

## Other responses

- `401` — Missing or invalid authentication.
- `403` — Platform operator privileges required.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/versions/b53e89b98c2b/schema)
