gpu_catalog
Browse available AI compute services with pricing and model details to select GPU resources for AI applications.
Instructions
List all available GPU-Bridge services with pricing and model info. No authentication required.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:137-160 (handler)The tool handler for "gpu_catalog" which fetches the catalog from the API and formats the output.
case "gpu_catalog": { const catalog = await apiCall("/catalog", "GET"); const services = catalog.services || []; const byCategory = {}; for (const s of services) { const cat = s.category || "other"; if (!byCategory[cat]) byCategory[cat] = []; const pricing = Object.values(s.pricing || {})[0] || `$${s.default_cost_usd}`; const models = (s.models || []).length; byCategory[cat].push(` ${s.key} \u2014 ${s.name} (${pricing}${models ? `, ${models} models` : ""})`); } let text = `GPU-Bridge: ${catalog.active_endpoints} services available `; for (const [cat, items] of Object.entries(byCategory)) { text += `${cat.toUpperCase()}: ${items.join("\n")} `; } text += `Use gpu_run with service key and input to run any service. Use gpu_estimate to check cost before running.`; return { content: [{ type: "text", text }] }; } - index.js:40-44 (registration)Registration of the "gpu_catalog" tool in the listTools response.
{ name: "gpu_catalog", description: "List all available GPU-Bridge services with pricing and model info. No authentication required.", inputSchema: { type: "object", properties: {} } },