---
title: "Changes to Create an AI Gateway Model Provider"
method: POST
path: "/v1/ai-gateways/{gatewayId}/model-providers"
---

# Changes to Create an AI Gateway Model Provider

`POST /v1/ai-gateways/{gatewayId}/model-providers`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 73 revisions.

- **2026-11-25** `7b12799d6a39`: 2 info
- **2026-11-20** `757a21fb79f2`: 148 breaking, 21 warning, 42 info
- **2026-11-05** `f018071a4515`: 1 breaking, 83 info
- **2026-10-23** `30af8b28f6ef`: 22 breaking, 2 warning, 20 info
- **2026-09-30** `f530bf400198`: 1 breaking, 3 warning, 3 info
- **2026-09-25** `4a02153f2e60`: 4 breaking, 30 info
- **2026-09-18** `5ca78660b97c`: 1 info

## Changes

- **2026-11-25** `7b12799d6a39`: 2 info
  - request property `oneOf[#/components/schemas/AIGatewayModelProviderLlama2]/` deprecated
  - response property `oneOf[#/components/schemas/AIGatewayModelProviderLlama2]/` deprecated
- **2026-11-20** `757a21fb79f2`: 148 breaking, 21 warning, 42 info
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/config/auth/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/config/auth/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/current_version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/directory` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/keys/items/version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/config/foundry/resource` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/current_version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/directory` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/keys/items/version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBaseten]/config/auth/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBaseten]/config/auth/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBaseten]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBaseten]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/current_version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBaseten]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/directory` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBaseten]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/keys/items/version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/current_version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/directory` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/keys/items/version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/config/auth/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/config/auth/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/current_version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/directory` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/keys/items/version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/config/auth/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/config/auth/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/current_version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/directory` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/token_vault/storage/allOf[subschema #1: TokenVaultDatastoreConfig]/keys/items/version` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/config/auth/headers/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/config/auth/params/items/name` request property's minLength was increased from `0` to `1`
  - the `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/token_vault/provider` request property's minLength was increased from `0` to `1`
  - …171 more
- **2026-11-05** `f018071a4515`: 1 breaking, 83 info
  - added `#/components/schemas/AIGatewayModelProviderBaseten` to the response body `oneOf` list for the response status `201`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderDatabricks]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderDatabricks]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderDeepseek]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderDeepseek]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderGemini]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderGemini]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderHuggingface]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderHuggingface]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderKimi]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderKimi]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderLlama2]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderLlama2]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderMistral]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderMistral]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderOllama]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderOllama]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderOpenai]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderOpenai]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderSagemaker]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderSagemaker]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderTypesafe]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderTypesafe]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderVercel]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderVercel]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderVllm]/datastores`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderVllm]/token_vault`
  - added the new optional request property `oneOf[#/components/schemas/AIGatewayModelProviderXai]/datastores`
  - …44 more
- **2026-10-23** `30af8b28f6ef`: 22 breaking, 2 warning, 20 info
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderSagemaker]/config/auth/oneOf[subschema #2: AIGatewayModelProviderConfigAuthSagemaker]/aws` became not nullable
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderDatabricks]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderDeepseek]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderGemini]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderHuggingface]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderKimi]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderLlama2]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderMistral]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderOllama]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderOpenai]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderSagemaker]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderTypesafe]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderVercel]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderVllm]/config/auth/params/items/location` became required
  - the request property `oneOf[#/components/schemas/AIGatewayModelProviderXai]/config/auth/params/items/location` became required
  - added `#/components/schemas/InvalidParameterMinimumTime, #/components/schemas/InvalidParameterMaximumTime` to the `invalid_parameters/items/` response property `oneOf` list for the response status `400`
  - added the new `key_invalid` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
  - added the new `unique` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderAzure]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderBedrock]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderCerebras]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderCohere]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderDashscope]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderDatabricks]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderDeepseek]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderGemini]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderHuggingface]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderKimi]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderLlama2]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderMistral]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderOllama]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderOpenai]/config/auth/params/items/location` became required for the status `201`
  - the response property `oneOf[#/components/schemas/AIGatewayModelProviderSagemaker]/config/auth/oneOf[subschema #1: AIGatewayModelProviderConfigAuthBasic]/params/items/location` became required for the status `201`
  - …4 more
- **2026-09-30** `f530bf400198`: 1 breaking, 3 warning, 3 info
  - added `#/components/schemas/AIGatewayModelProviderTypesafe` to the response body `oneOf` list for the response status `201`
  - added the new `400.00` enum value to the `status` response property for the response status `400`
  - added the new `403.00` enum value to the `status` response property for the response status `403`
  - added the new `409.00` enum value to the `status` response property for the response status `409`
  - added `typesafe` mapping keys to the request discriminator
  - added `#/components/schemas/AIGatewayModelProviderTypesafe` to the request body `oneOf` list
  - added `typesafe` mapping keys to the response discriminator for the response status `201`
- **2026-09-25** `4a02153f2e60`: 4 breaking, 30 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `409`
  - the response's body type changed from no type to `object` for status `429`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `400`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `401`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `403`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `409`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `429`
  - added the optional property `type` to the response with the `400` status
  - added the optional property `type` to the response with the `403` status
  - added the optional property `type` to the response with the `409` status
  - added the optional property `type` to the response with the `429` status
  - the response property `detail` became required for the status `401`
  - the response property `instance` became required for the status `401`
  - the response property `status` became required for the status `401`
  - the response property `title` became required for the status `401`
  - added the required property `detail` to the response with the `400` status
  - added the required property `detail` to the response with the `403` status
  - added the required property `detail` to the response with the `409` status
  - added the required property `detail` to the response with the `429` status
  - added the required property `instance` to the response with the `400` status
  - added the required property `instance` to the response with the `403` status
  - added the required property `instance` to the response with the `409` status
  - added the required property `instance` to the response with the `429` status
  - added the required property `invalid_parameters` to the response with the `400` status
  - added the required property `status` to the response with the `400` status
  - added the required property `status` to the response with the `403` status
  - added the required property `status` to the response with the `409` status
  - added the required property `status` to the response with the `429` status
  - added the required property `title` to the response with the `400` status
  - added the required property `title` to the response with the `403` status
  - added the required property `title` to the response with the `409` status
  - added the required property `title` to the response with the `429` status
- **2026-09-18** `5ca78660b97c`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api/docs/v1/ai-gateways/:gatewayId/model-providers/post.md) - [API](https://skmtc.dev/kong/apis/konnect-api.md) - [Page](https://skmtc.dev/kong/apis/konnect-api/changes/v1/ai-gateways/:gatewayId/model-providers/post)
