{
  "id": "localai",
  "name": "LocalAI",
  "slogan": "A drop-in OpenAI-compatible API that runs language, image, and speech models on your own hardware.",
  "category": "AI",
  "categorySlug": "ai",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 4096,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install localai --name my-localai",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/localai/",
  "docsUrl": "https://localai.io",
  "sourceRepo": "https://github.com/mudler/LocalAI",
  "markdownUrl": "https://levelrail.com/templates/localai.md",
  "jsonUrl": "https://levelrail.com/templates/localai.json",
  "indexable": true,
  "description": "A drop-in OpenAI-compatible API that runs language, image, and speech models on your own hardware. Runs as a single container from the localai image, listening on port 8080; data is kept in named volumes.",
  "pinnedTag": "v3.7.0",
  "licenseUrl": "https://github.com/mudler/LocalAI/blob/master/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "localai",
      "image": "localai/localai",
      "tag": "v3.7.0",
      "ports": [
        8080
      ],
      "volumes": [
        "localai_models -> /models"
      ]
    }
  ],
  "env": [
    {
      "service": "localai",
      "name": "MODELS_PATH",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy localai --name my-localai",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/localai/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy localai --name my-localai"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/localai/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
