Skip to content

[Bug]: Cannot run gemma 4 models from google ai studio #63685

@behroozbc

Description

@behroozbc

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

I want to use gemma 4 models from google ai studio but it return me error.

Steps to reproduce

  1. install your openclaw
  2. config it to use gemma 4 from google ai studio with api key
  3. try the telegram bot.

Expected behavior

return the answer

Actual behavior

LLM error: {
"error": {
"code": 404,
"message": "models/gemma-4-26b is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.",
"status": "NOT_FOUND"
}
}

OpenClaw version

2026.4.9

Operating system

windows 11

Install method

No response

Model

gemma 4 26b

Provider / routing chain

Additional provider/model setup details

No response

Logs, screenshots, and evidence

LLM error: {
"error": {
"code": 404,
"message": "models/gemma-4-26b is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.",
"status": "NOT_FOUND"
}
}

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions