Microsoft Cognitive Services Model Capacities API
The ModelCapacities API from Microsoft Cognitive Services — 2 operation(s) for modelcapacities.
The ModelCapacities API from Microsoft Cognitive Services — 2 operation(s) for modelcapacities.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-cognitive-services:microsoft-cognitive-services-modelcapacities-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: CognitiveServicesManagementClient Model Capacities API
version: '2026-11-01'
description: Cognitive Services Management Client
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: ModelCapacities
paths:
/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/modelCapacities:
get:
operationId: LocationBasedModelCapacities_List
tags:
- ModelCapacities
description: List Location Based ModelCapacities.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/LocationParameter'
- name: modelFormat
in: query
description: The format of the Model
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: modelName
in: query
description: The name of the Model
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: modelVersion
in: query
description: The version of the Model
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: The request has succeeded.
content:
application/json:
schema:
$ref: '#/components/schemas/ModelCapacityListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Location based model capacities list
x-summary-source: derived
/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/modelCapacities:
get:
operationId: ModelCapacities_List
tags:
- ModelCapacities
description: List ModelCapacities.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: modelFormat
in: query
description: The format of the Model
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: modelName
in: query
description: The name of the Model
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: modelVersion
in: query
description: The version of the Model
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: The request has succeeded.
content:
application/json:
schema:
$ref: '#/components/schemas/ModelCapacityListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Model capacities list
x-summary-source: derived
components:
schemas:
ModelSkuCapacityProperties:
type: object
description: Cognitive Services account ModelSkuCapacity.
properties:
model:
$ref: '#/components/schemas/DeploymentModel'
description: Properties of Cognitive Services account deployment model.
skuName:
type: string
availableCapacity:
type: number
format: float
description: The available capacity for deployment with this model and sku.
availableFinetuneCapacity:
type: number
format: float
description: The available capacity for deployment with a fine-tune version of this model and sku.
scopeId:
type:
- string
- 'null'
description: The scope identifier for model SKU capacity.
scopeType:
$ref: '#/components/schemas/QuotaScopeType'
description: The scope type for model SKU capacity.
RequestMatchPattern:
type: object
properties:
path:
type: string
method:
type: string
ThrottlingRule:
type: object
properties:
key:
type: string
renewalPeriod:
type: number
format: float
count:
type: number
format: float
minCount:
type: number
format: float
dynamicThrottlingEnabled:
type: boolean
matchPatterns:
type: array
items:
$ref: '#/components/schemas/RequestMatchPattern'
x-ms-identifiers:
- path
- method
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
type: object
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
systemData:
type: object
description: Metadata pertaining to creation and last modification of the resource.
properties:
createdBy:
type: string
description: The identity that created the resource.
createdByType:
type: string
description: The type of identity that created the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
createdAt:
type: string
format: date-time
description: The timestamp of resource creation (UTC).
lastModifiedBy:
type: string
description: The identity that last modified the resource.
lastModifiedByType:
type: string
description: The type of identity that last modified the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
lastModifiedAt:
type: string
format: date-time
description: The timestamp of resource last modification (UTC)
readOnly: true
ModelCapacityListResult:
type: object
description: The list of cognitive services accounts operation response.
properties:
nextLink:
type: string
description: The link used to get the next page of ModelSkuCapacity.
value:
type: array
description: Gets the list of Cognitive Services accounts ModelSkuCapacity.
items:
$ref: '#/components/schemas/ModelCapacityListResultValueItem'
readOnly: true
x-ms-identifiers:
- model
CallRateLimit:
type: object
description: The call rate limit Cognitive Services account.
properties:
count:
type: number
format: float
description: The count value of Call Rate Limit.
renewalPeriod:
type: number
format: float
description: The renewal period in seconds of Call Rate Limit.
rules:
type: array
items:
$ref: '#/components/schemas/ThrottlingRule'
x-ms-identifiers:
- key
DeploymentModel:
type: object
description: Properties of Cognitive Services account deployment model.
properties:
publisher:
type: string
description: Deployment model publisher.
format:
type: string
description: Deployment model format.
name:
type: string
description: Deployment model name.
version:
type: string
description: Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
source:
type: string
description: Optional. Deployment model source ARM resource ID.
sourceAccount:
type: string
format: arm-id
description: Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
x-ms-arm-id-details:
allowedResources:
- type: Microsoft.CognitiveServices/accounts
callRateLimit:
$ref: '#/components/schemas/CallRateLimit'
description: The call rate limit Cognitive Services account.
readOnly: true
QuotaScopeType:
type: string
description: The quota scope that determines the level at which the quota is applied.
enum:
- Regional
- Global
- DataZone
- Classic
x-ms-enum:
name: QuotaScopeType
modelAsString: true
values:
- name: Regional
value: Regional
- name: Global
value: Global
- name: DataZone
value: DataZone
- name: Classic
value: Classic
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
ModelCapacityListResultValueItem:
type: object
properties:
location:
type: string
description: The location of the Model Sku Capacity.
properties:
$ref: '#/components/schemas/ModelSkuCapacityProperties'
description: Cognitive Services account ModelSkuCapacity.
allOf:
- $ref: '#/components/schemas/ProxyResource'
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
parameters:
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
LocationParameter:
name: location
in: path
description: The name of Azure region.
required: true
x-ms-parameter-location: method
schema:
type: string
minLength: 1
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
minLength: 1
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.