{
  "schema_version": "openagent.agent_resource_packet.v1",
  "id": "res_gemma_4_12b",
  "slug": "gemma-4-12b",
  "name": "Gemma 4 12B",
  "canonical_url": "https://www.openagent.bot/models/gemma-4-12b",
  "category": "models",
  "resource_type": "model",
  "summary": "Gemma 4 12B is a mid-sized Apache 2.0 open model from Google DeepMind, designed to bring multimodal and agentic intelligence to consumer laptops with a reduced memory footprint.",
  "capabilities": [
    "local-inference",
    "tool-calling"
  ],
  "constraints": [
    "open-source",
    "self-hosted",
    "local-first",
    "open-weights"
  ],
  "scenarios": [
    "local-ai",
    "self-hosted-ai"
  ],
  "deployment_modes": [
    "local",
    "self_hosted",
    "cloud"
  ],
  "interfaces": [
    "docs",
    "demo"
  ],
  "integrations": [
    "Hugging Face",
    "Kaggle",
    "LM Studio",
    "Ollama",
    "Google AI Edge Gallery",
    "LiteRT-LM CLI",
    "Hugging Face Transformers",
    "llama.cpp",
    "MLX",
    "SGLang",
    "vLLM",
    "Unsloth",
    "Google Cloud",
    "Cloud Run",
    "GKE"
  ],
  "permission_surface": [
    "shell/files",
    "memory"
  ],
  "risk_level": "elevated",
  "source_confidence": "medium",
  "recommended_workflows": [
    "Coding agent workflow",
    "Evaluation and observability",
    "Local or private AI stack"
  ],
  "avoid_when": [
    "Teams that need Google's fully managed Gemini product experience",
    "Workloads that require the highest-quality frontier hosted model regardless of local deployment",
    "Deployments that cannot validate model cards, license terms, safety behavior, and serving costs before use"
  ],
  "primary_actions": [
    "Open Homepage",
    "Read setup docs",
    "Open Demo",
    "Run Gemma 4 12B with Ollama"
  ],
  "evidence_urls": [
    "https://deepmind.google/models/gemma/gemma-4/",
    "https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12b/",
    "https://huggingface.co/collections/google/gemma-4",
    "https://ollama.com/library/gemma4",
    "https://aistudio.google.com/"
  ],
  "last_verified_at": "2026-06-04",
  "machine_readable": {
    "json_url": "https://www.openagent.bot/models/gemma-4-12b.json",
    "markdown_url": "https://www.openagent.bot/models/gemma-4-12b.md",
    "agent_json_url": "https://www.openagent.bot/models/gemma-4-12b.agent.json"
  }
}