---
title: "Update Guest Token Model Limits"
method: PUT
path: "/api/token/guest-model-limits"
tags: ["Token"]
---

# Update Guest Token Model Limits

`PUT /api/token/guest-model-limits`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/token/guest-model-limits`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Request body

- GuestTokenLimitsRequest: GuestTokenLimitsRequest schema
  - `key` string, required: Full guest token key, with or without the sk- prefix
  - `model_limits` string, required: Comma-separated model names the guest token may call

## Response `200`

OK

- ResponseDtoMessageResponse: Response_dto.MessageResponse schema
  - `data` MessageResponse, required
    - `message` string, required
    - `success` boolean, required
  - `message` string, required
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
