---
title: "Create a model (local pod or remote connector)"
method: POST
path: "/models"
tags: ["Models"]
---

# Create a model (local pod or remote connector)

`POST /models`

## Request

- Base URL: `https://localhost:8080/api/v1`
- URL: `https://localhost:8080/api/v1/models`
- Auth: API key in header `Authorization`

Creates a model deployment. deployment_type=local starts a pod and registers a LiteLLM route asynchronously (202 Accepted). deployment_type=remote registers an external endpoint connector synchronously (201 Created).

## Request body

- GithubComProjectAiServicesAiServicesInternalPkgCatalogApiserverModelsCreateModelRequest
  - `component_type` string, required: ComponentType is a catalog component type whose providers have `category: models` (see the component's metadata.yaml); the valid values come from the catalog.
  - `deployment_type` 'local' | 'remote', required
  - `model` string, required
  - `name` string, required
  - `params` object
  - `profile` string
  - `provider_id` string, required
  - `worker_name` string

## Response `201`

Remote model connector created

- GithubComProjectAiServicesAiServicesInternalPkgCatalogApiserverModelsCreateModelResponse
  - `id` string

## Other responses

- `202`: Local model deployment initiated
- `400`: Invalid request body or validation errors
- `401`: Unauthorized
- `404`: Provider or worker not found
- `409`: Model or connector name conflict
- `422`: Connectivity check failed
- `500`: Internal Server Error

## Changes

- **2026-11-06** `94172bf4b830`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ibm/apis/ai-services-catalog-api/changes/models/post.md)

---

[API](https://skmtc.dev/ibm/apis/ai-services-catalog-api.md) - [All operations](https://skmtc.dev/ibm/apis/ai-services-catalog-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ibm/apis/ai-services-catalog-api/revisions/5676382cc496?raw)
