---
title: "Creates a new model"
method: POST
path: "/api/v1/create_model"
---

# Creates a new model

`POST /api/v1/create_model`

Creates a new model. Pass a LoRA config to create a new LoRA adapter for the base model.

## Request body

- CreateModelRequest
  - `type` 'create_model'
  - `lora_config` LoraConfig
    - `rank` integer, required — LoRA rank (dimension of low-rank matrices)
    - `seed` integer, nullable — Seed used for initialization of LoRA weights. Useful if you need deterministic or reproducible initialization of weights.
  - `base_model` string, required

## Response `200`

API future for creating model

- UntypedAPIFuture
  - `request_id` string, uuid, required
  - `model_id` string, uuid

---

[API](https://skmtc.dev/thinking-machines-lab/apis/tinker-api.md) · [All operations](https://skmtc.dev/thinking-machines-lab/apis/tinker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thinking-machines-lab/tinker-api/revisions/51afac49fce6/schema)
