---
title: "Update provider routing weights"
method: PUT
path: "/api/v1/providers/weights"
tags: ["LLM Providers"]
---

# Update provider routing weights

`PUT /api/v1/providers/weights`

## Request

- Base URL: `https://orchestrator.getaxonflow.com`
- URL: `https://orchestrator.getaxonflow.com/api/v1/providers/weights`
- Auth: none declared
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/docs/api/v1/providers/weights/put.ts> (a function with typed inputs; its response is checked against the schema)

Update the routing weights for LLM providers.
Weights determine the probability of routing to each provider.
Weights must sum to 1.0.

## Request body

- object

## Response `200`

Weights updated

- object
  - `status` string
  - `message` string

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/revisions/f408ef3ec9dd?raw)
