New advertisers: 50% off your first month with code FIRSTMONTHSee slots
cloudcorprecords avatar

Modelrelay

cloudcorprecords/modelrelay

Access to hosted Open AI models through Synap: chat completions, live catalogue, prices, and cost estimates.

tools
4
transport
STDIO
last updated
Nov 15, 2026
View on GitHub

What it does

  • Runs chat with synap_chat_completion, and reads the live list and per-model records with synap_list_models and synap_get_model, filtered by model id, name, or capability
  • Estimates spend before a call with synap_estimate_cost, using live per-million-token prices and token counts from the request
  • Requires a Synap API key for chat calls only; catalogue and price tools need no key, and the hosted endpoint is forwarded over streamable HTTP
  • Designed for comparing models and budgeting calls before spending tokens on a paid Synap account

Tools

4 tools

Public tool metadata for what this MCP can expose to an agent.

synap_chat_completionSends a conversation to a model and returns the standard OpenAI chat.completion JSON: the reply sits in choices[0].message.content and token counts in usage.

Sends a conversation to a model and returns the standard OpenAI chat.completion JSON: the reply sits in choices[0].message.content and token counts in usage.

No parameter schema in public metadata yet.

synap_list_modelsThe live list of models Synap serves right now, each with its price per million tokens, context window and what it is good at.

The live list of models Synap serves right now, each with its price per million tokens, context window and what it is good at.

No parameter schema in public metadata yet.

synap_get_modelThe complete catalogue record for one model: pricing, context and output limits, supported parameters, quantisation, data-retention policy and readiness.

The complete catalogue record for one model: pricing, context and output limits, supported parameters, quantisation, data-retention policy and readiness.

No parameter schema in public metadata yet.

synap_estimate_costWorks out what a chat completion would cost from token counts, using the live price list: prompt and completion dollars and the total.

Works out what a chat completion would cost from token counts, using the live price list: prompt and completion dollars and the total.

No parameter schema in public metadata yet.

Readme

modelrelay

Open AI models are spread across providers with incompatible APIs and price lists. modelrelay is a small local bridge to the hosted Synap MCP service: you can run a chat completion on one of the open models Synap serves, browse the live catalogue with per-million-token prices, pull the full record for a single model, and estimate what a call will cost before you spend anything.

Nothing is stored or computed on your own machine. This package answers tools/list locally from the captured tool definitions and forwards every tools/call to the hosted service over a streamable-HTTP JSON-RPC session, returning whatever the service sends back unchanged.

The tools

Three of the four tools are free catalogue and price reads. The fourth, synap_chat_completion, is the only one that costs money: it bills prompt and completion tokens to the Synap API key supplied with the call, against your own pre-existing Synap account. No tool buys credit, tops up a balance, starts a subscription, or creates an API key.


View the full README on GitHub

Details

Repository
github.com/cloudcorprecords/modelrelay
Category
AI Agents & LLM Apps
Package
@reneturcios/modelrelay
Transport
STDIO
Registry
MCP registry, active

More from cloudcorprecords

All 176

Similar to Modelrelay

More AI Agents & LLM Apps