Gemini

Gemma 4 26B A4B

Google按量收費
Alias:Gemma 4-26B-A4B

Google 開發了 Gemini 系列 AI 模型,可處理文字、圖像和音訊等多種模態的任務。

文本生成
起始價格
輸入 / 輸出 · 1M
上下文
—
最大輸入窗口
模態
→
發佈於
Apr 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商1
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M
official

直接連線至官方 API

省10%
$0.135$0.15
$0.54$0.6
$0.0135$0.015
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

串流輸出函數呼叫工具
輸入
輸出

廠商與數據私隱

供應商
Google文件
分詞器
SentencePiece (Gemini)
許可證
Proprietary (commercial)商業閉源
數據保留3 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Gemma 4 26B A4B

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About Gemma 4 26B A4B

Use Gemma 4 26B A4B through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

查看介紹原文

在效率与开放部署之间取得平衡

Gemma 4 26B A4B 面向文本生成、代码与推理任务,适合构建知识助手、内容整理工具和开发辅助应用。它采用混合专家架构,每次计算只激活部分参数,使开发者能够在模型容量与推理开销之间寻找合适的平衡。

日常使用可以从边界清楚的文本任务开始:根据提供的资料回答问题、提炼报告要点、解释代码逻辑,或将业务描述转换成初步实现。对于推理问题,要求写清条件、结论和验证方式;对于内容编辑,提供目标受众、语气和必须保留的事实,会更容易得到可用结果。

开放权重使它适合评估自行部署、应用适配和进一步训练的路线。开发者可以围绕自己的任务样本比较推理框架、量化方式与硬件配置。混合专家模型的激活参数较少,并不代表全部权重的存储需求也同样小;实际资源规划仍应结合权重格式、上下文长度和并发测试。

构建知识库问答时,可由检索系统先找出相关段落,再交给模型回答,并要求引用材料编号。这样能将语言能力与你的业务知识连接起来。若接入查询或执行工具,应在应用中定义权限、参数与返回结构,避免将生成建议误当成操作已完成。

开发者常问

开放权重有什么实际价值? 便于自行部署、研究和适配特定任务,部署质量取决于所选实现与配置,需要用真实样本验证。

使用 API 会自动学会公司的资料吗? 请求中提供的资料用于当前任务;持久知识通常由知识库检索或单独训练流程提供。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

查看使用指南原文

先用代表任务评估效果

提供清楚的文本输入与输出要求,记录准确性、格式和耗时。

仅依据下面的内部操作说明,回答新同事的问题:如何处理发票抬头更正?
先给操作步骤,再列需要准备的信息和例外情况。
每一步引用资料段落编号;材料没有说明的事项标为待确认,不补充公司政策。
资料:{编号后的说明文档}

代码任务提供语言版本与样例,要求给出可运行实现和边界测试。自行部署时先确认所用权重与对话处理方式,再用同一组任务比较不同配置,避免只依据参数规模判断效果。

API access

API 介面文件

呼叫示例

請求POST/v1/chat/completions
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
official無限制無限制無限制

無限制

Frequently asked questions about Gemma 4-26B-A4B

What is Gemma 4-26B-A4B?

Use Gemma 4-26B-A4B through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

How do I call Gemma 4-26B-A4B?

Create an API key with access to Gemma 4-26B-A4B, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is Gemma 4-26B-A4B priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

How should I evaluate Gemma 4-26B-A4B for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.