{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a85cdd25-eb4c-41a7-8e54-4e53bac011e0",
    "slug": "freellmapi",
    "name": "FreeLLMAPI",
    "description": "One OpenAI endpoint. Sixteen free LLM providers. ~1.7B tokens per month.",
    "url": "https://railway.com/deploy/freellmapi",
    "upstream": {
      "image": "ghcr.io/tashfeenahmed/freellmapi:latest"
    }
  },
  "services": [
    {
      "name": "freellmapi",
      "source": {
        "image": "ghcr.io/tashfeenahmed/freellmapi:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/tmp",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "freellmapi",
      "description": "To make it work locally",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "freellmapi",
      "description": "Recommended to regenerate it just in case",
      "secret": true,
      "strategy": "default",
      "default": "1564fae9e19ca39707bff8a3f69f67d50751bf3b1e1c625387b90a9ee3d2ee97"
    },
    {
      "key": "FREEAPI_DB_PATH",
      "service": "freellmapi",
      "description": "Path to the sqlite db. Dont change, as well as volume mounted path.",
      "secret": false,
      "strategy": "default",
      "default": "/tmp/freellmapi.db"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "freellmapi",
      "description": "To make SQLite able to \"bypass\" readonly state. Dont change",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "freellmapi"
      }
    },
    "cli": "railway deploy --template freellmapi",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a85cdd25-eb4c-41a7-8e54-4e53bac011e0",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "77a6a966-a5ee-43a4-a235-762521bfa4e6": {
                  "icon": "https://i.imageupload.app/a5bd9023fcd6836cdf15.png",
                  "name": "freellmapi",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/tashfeenahmed/freellmapi:latest"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "description": "To make it work locally",
                      "defaultValue": "::"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Recommended to regenerate it just in case",
                      "defaultValue": "1564fae9e19ca39707bff8a3f69f67d50751bf3b1e1c625387b90a9ee3d2ee97"
                    },
                    "FREEAPI_DB_PATH": {
                      "isOptional": false,
                      "description": "Path to the sqlite db. Dont change, as well as volume mounted path.",
                      "defaultValue": "/tmp/freellmapi.db"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "To make SQLite able to \"bypass\" readonly state. Dont change",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "77a6a966-a5ee-43a4-a235-762521bfa4e6": {
                      "mountPath": "/tmp"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T03:04:58.969Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cd4fb4dcf8d2465395cd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 93,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "freellmapi"
  }
}
