---
title: "Update model"
method: PUT
path: "/v1/superagents/{agent_id}/model"
tags: ["SuperAgent Config"]
---

# Update model

`PUT /v1/superagents/{agent_id}/model`

Change the LLM model powering the agent.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- object
  - `model` string, required — Model ID from the selected provider
  - `model_provider` 'openai' | 'anthropic' | 'xai' | 'openrouter' | 'venice', required — Provider of the model

## Response `200`

Model updated

## Other responses

- `401` — Invalid or revoked API key
- `404` — Resource not found
- `429` — Rate limit exceeded (60 requests per minute)

---

[API](https://skmtc.net/gigabraingg/apis/gigabrain-api.md) · [All operations](https://skmtc.net/gigabraingg/apis/gigabrain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gigabraingg/gigabrain-api/revisions/bb4070b30d92/schema)
