目前还不支持的特性包括:
Memene Gateway 提供统一鉴权、模型调用、限流并发和人民币结算;请求中的model 使用公开模型 ID。 具体协议组合与模型能力请以模型目录和端点说明为准。
| 协议 | 路径 | 流式支持 |
|---|---|---|
| OpenAI compatible | /openai/v1/* · /v1/* | Chat / Responses 支持流式 |
| Google Gemini | /gemini/v1beta/* · /v1beta/* | streamGenerateContent 支持流式 |
| Anthropic | /anthropic/v1/* | Messages 支持流式 |
| 方法 | 路径 | 名称 | 流式 |
|---|---|---|---|
| POST | /v1/decisions | Decisions(OpenAI / Gemini) | — |
| POST | /v1/chat/completions | DeepSeek 联网搜索与阅读链接 | ✓ |
| POST | /openai/v1/chat/completions | Chat Completions | ✓ |
| POST | /openai/v1/responses | Responses API | ✓ |
| POST | /openai/v1/images/generations | Images Generations | — |
| POST | /openai/v1/embeddings | Embeddings | — |
| POST | /openai/v1/files | Files 上传(仅 Batch) | — |
| POST | /openai/v1/batches | Batch 创建(离线批量) | — |
| GET | /openai/v1/batches/{batch_id} | Batch 查询 | — |
| 方法 | 路径 | 名称 | 流式 |
|---|---|---|---|
| POST | /gemini/v1beta/models/{model}:generateContent | Generate Content | — |
| POST | /gemini/v1beta/models/{model}:streamGenerateContent | Stream Generate Content | ✓ |
| 方法 | 路径 | 名称 | 流式 |
|---|---|---|---|
| POST | /anthropic/v1/messages | Messages | ✓ |
Gateway 只保留公开路径并改写模型名称,不自行翻译请求、响应或 SSE。 能否通过某个 SDK 协议调用模型,取决于该模型已验证的能力; 切换协议或模型前请先在 Playground 或测试环境验证工具调用、推理内容、流式 usage 和取消行为。
| 厂商 | 内部标识 | 可用模型数 |
|---|---|---|
| 阿里百炼 | alibailian | 11 |
| Anthropic | anthropic | 12 |
| DeepSeek | deepseek | 5 |
| Google Gemini | gemini | 11 |
| MiniMax (Hailuo) | minimax | 1 |
| Moonshot (Kimi) | moonshot | 3 |
| OpenAI | openai | 27 |
| OpenRouter | openrouter | 0 |
| 火山引擎 (豆包 Doubao) | volcengine | 3 |
| xAI | xai | 1 |
| 智谱 BigModel (GLM) | zhipu | 6 |
前往 模型与定价 查看公开模型与人民币单价。
调用 AI 网关使用 gw_memene_*,与平台业务 API Key 分离。Authorization、x-api-key 和 x-goog-api-key 最终都进入同一套 GatewayKey 校验。
使用统一 API Key 和公开模型 ID 调用模型;具体协议与参数支持请以模型目录和端点说明为准。
请求中的 model 使用模型目录中的公开模型 ID;未发布或不可用的模型无法调用。
调用完成后按实际费用结算,人民币扣款以账户流水为准;目录价格仅供参考。
默认全局 5000 请求/秒、开发者 100 请求/秒;每个公开模型默认 8 个并发槽位、100 位等待队列和 30 秒等待超时。
仅 /v1/files 与 /v1/batches 提供 Memene 归属隔离、逐行价格快照、后台轮询和幂等人民币结算。Gemini 与 Anthropic Batch 当前没有同等保证。