gemma-4-26B-A4B-it
POST /api/v1/chat/completions(OpenAI 兼容)· 模型 gemma-4-26B-A4B-it · 厂商 google
Google 的 Gemma 4 26B A4B-it 是一款基于 Mixture-of-Experts 架构的开源指令微调大模型,在仅激活约 4B 参数的高效推理下,提供接近 26B 规模的强大推理、编码与多模态能力。
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 固定填 gemma-4-26B-A4B-it |
messages | array | 是 | 对话消息,[{"role":"user","content":"..."}] |
stream | bool | 否 | 是否流式返回,默认 false |
temperature | number | 否 | 采样温度 0~2 |
max_tokens | int | 否 | 最大输出 token 数 |
tools | array | 否 | 工具/函数调用定义(模型支持时) |
示例
curl -X POST https://api.a7w.cn/api/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemma-4-26B-A4B-it","messages":[{"role":"user","content":"你好"}]}'
计费
实际扣费按最终成功线路结算;如设置过该 Key 的专属价格,以专属价为准。