Skip to main content
列出可通过 Memory Router 调用的模型及其价格,按名称排序。endpoints 列出该模型可调用的路径,相对于 /router(例如 /openai/v1/chat/completions、/anthropic/v1/messages);模型只能在为它列出的路径上调用。protocols 按 Base URL 归并这些路径:openai 经 /router/openai/v1,anthropic 经 /router/anthropic/v1。图像模型带 kind: image_generation,经 /router/openai/v1/images/generations 调用;对话模型没有 kind。每个站点的模型目录各自独立。 与推理接口不同,本接口使用 MemoryLake API 的响应格式:模型清单在 data.items 中,出错时返回 success、message 和 error_code。 价格按每 100 万 token 计,同时给出美元价和余额 token 数(从余额扣除的数量)。未列出的价格项表示该模型不适用这一项,不代表免费。没有 price 时表示该模型暂无价格,仍可调用。

响应

object

错误

出错时返回 success: false、message 和 error_code。全部错误码见错误码。