---
title: "create model"
method: POST
path: "/admin/model"
tags: ["modelkit"]
---

# create model

`POST /admin/model`

## Request body

- SvcMKCreateReq
  - `api_header` string
  - `api_key` string
  - `api_version` string — for azure openai
  - `base_url` string, required
  - `model` string, required
  - `param` ModelLLMModelParam
    - `context_window` integer
    - `max_tokens` integer
    - `r1_enabled` boolean
    - `support_computer_use` boolean
    - `support_images` boolean
    - `support_prompt_cache` boolean
  - `provider` string, required
  - `show_name` string
  - `type` 'chat' | 'embedding' | 'rerank' | 'analysis' | 'analysis-vl', required

## Response `200`

OK

- object
  - `data` integer
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

---

[API](https://skmtc.dev/chaitin/apis/koalaqa-api.md) · [All operations](https://skmtc.dev/chaitin/apis/koalaqa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/koalaqa-api/revisions/2bb4ea22c168/schema)
