Skip to main content
Glama

RelaySwitch

Ask several models the same thing

compare

Sends the same conversation (or one prompt) to 2 to 5 chat model ids at once through POST /v1/chat/completions and returns every answer side by side with its token usage, cost and time, plus the total. For a second opinion from another model, or to pick the model that answers a kind of question best. Completions are capped at max_tokens each (default 1024). Each model is billed to the key in the MCP request's Authorization header; a model that fails is reported and not charged.

Input Schema

NameRequiredDescriptionDefault
modelsYes2 to 5 chat model ids from list_models, asked at the same time.
promptNoOne user message, in place of messages.
systemNoInstructions placed ahead of the conversation as a system message.
messagesNoThe conversation, OpenAI chat format.
image_urlsNoImage URLs attached to the last user message, for the chat models that take images (input_modalities in list_models). A file generate made works.
max_tokensNoCap on completion tokens per model. Default 1024.
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources