---
title: "Create a model router config"
method: POST
path: "/v1/model-router/configs"
tags: ["model-router"]
---

# Create a model router config

`POST /v1/model-router/configs`

## Request body

- RouterConfigCreate
  - `name` string, required
  - `model_chain` ModelChainEntry[], required
    - `model` string, required
    - `config` ModelConfig
      - `temperature` number, nullable
      - `max_tokens` integer, nullable
      - `top_p` number, nullable
      - `stop_sequences` string[], nullable
      - `reasoning_effort` 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max', nullable
      - `request_timeout_ms` integer, nullable
      - `thinking_budget` integer, nullable
  - `description` string, nullable
  - `is_default` boolean
  - `smart_routing_enabled` boolean
  - `metadata` object, nullable

## Response `201`

Successful Response

- RouterConfigResponse
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `name` string, required
  - `description` string, nullable, required
  - `is_default` boolean, required
  - `smart_routing_enabled` boolean, required
  - `model_chain` ModelChainEntry[], required
    - `model` string, required
    - `config` ModelConfig
      - `temperature` number, nullable
      - `max_tokens` integer, nullable
      - `top_p` number, nullable
      - `stop_sequences` string[], nullable
      - `reasoning_effort` 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max', nullable
      - `request_timeout_ms` integer, nullable
      - `thinking_budget` integer, nullable
  - `metadata` object
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

## Changes

- **2026-08-12** `5a5597ebb2d6` — 2 breaking, 10 warning, 8 info
  - the `model_chain` request property's minItems was increased to `1`
  - the `name` request property's minLength was increased from `0` to `1`
  - the `name` request property's maxLength was set to `255`
  - the `model_chain/items/config/request_timeout_ms/anyOf[subschema #1]/` request property's max was set to `20000.00`
  - …16 more

[Change history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/model-router/configs/post.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
