Skip to main content
Glama

switch_model

Change AI model tiers at runtime to experiment with different models without server restart. Updates persist across sessions for consistent model selection.

Instructions

Switch the model for a specific tier at runtime.

This allows dynamic model experimentation without restarting the server. Changes are persisted to settings.json for consistency across restarts.

Args: tier: Model tier to change - "quick", "coder", "moe", or "thinking" model_name: New model name (must be available in the current backend)

Returns: Confirmation with model change details and availability status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierYes
model_nameYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zbrdc/delia'

If you have feedback or need assistance with the MCP directory API, please join our Discord server