Deploy and manage LLMs as code.

On your laptop, your servers or a cloud GPU.

amicu is an open-source (AGPL-3.0) command-line tool that deploys vLLM and llama.cpp servers to your own machine or to GPU cloud providers (Modal, RunPod) from an HCL file, with plan, apply and destroy.

terminal
$ amicu apply
Plan: 1 action(s).
 
  + deployment.chat
      action:   create
      hardware: gpu.l4
      target:   modal (region eu-west)
      api_key:  ****** (secret "CHAT_API_KEY")
Apply these changes? [y/N] y
 
Applied 1 deployment(s):
  deployment.chat -> https://<workspace>--amicu-chat-server.<region>.modal.direct
$ curl 'https://<workspace>--amicu-chat-server.<region>.modal.direct/v1/chat/completions' \
  -H "Authorization: Bearer $CHAT_API_KEY" -H "Modal-Key: $MODAL_PROXY_TOKEN_ID" \
  -H "Modal-Secret: $MODAL_PROXY_TOKEN_SECRET" -H "Content-Type: application/json" \
  -d '{"model": "RedHatAI/Qwen3.5-9B-FP8-dynamic", "messages": [{"role": "user", "content": "Hello"}]}'
{
"id": "chatcmpl-8f3a1c92d7e4",
"object": "chat.completion",
"created": 1767225600,
"model": "RedHatAI/Qwen3.5-9B-FP8-dynamic",
"choices": [{"index": 0, "message": {"role": "assistant", "content": "Hello! How can I help you today?"}, "finish_reason": "stop"}],
"usage": {"prompt_tokens": 9, "completion_tokens": 10, "total_tokens": 19}
}

How do I install amicu?

terminal
curl -LsSf https://amicu.dev/install.sh | sh

Other options and manual downloads: install guide

Describe a model. Get an endpoint.

amicu.hcl
resource "hardware_profile" "gpu" {
  provider = "modal"
  region   = "eu-west"
  accelerator {
    kind   = "gpu"
    model  = "l4"
    count  = 1
    memory = "24GiB"
  }
  memory = "32GiB"
}

resource "deployment" "chat" {
  model    = model.qwen.id
  hardware = hardware_profile.gpu.id
  runtime  = "vllm"
  api_key  = secret("CHAT_API_KEY")
  vllm {
    context_length = 200000
    port           = 8000
  }
}
terminal
$ amicu applyApply these changes? [y/N] yApplied 1 deployment(s):  deployment.chat -> https://<workspace>--amicu-chat-server.<region>.modal.direct

One file declares model, hardware and policy. amicu plans the rest.

Laptop or cloud GPU. Same file.

amicu.hcl
  resource "hardware_profile" "main" {-   provider = "local"  # your machine+   provider = "modal"  # cloud GPU (Modal)+   region   = "eu-west"    ...  }
terminal
$ amicu planPlan: 1 action(s).   + deployment.chat      action:   create      hardware: gpu.l4      target:   modal (region eu-west)

Change the provider line to switch targets: your machine or a cloud GPU (Modal, RunPod).

How does amicu enforce data residency?

amicu.hcl
resource "data_class" "customer" {
  residency = ["eu"]
}

resource "governance_rule" "eu_only" {
  effect          = "allow"
  allowed_regions = ["eu", "eu-west"]
}

resource "hardware_profile" "gpu" {
  provider = "modal"
  region   = "us-east"
}
terminal
$ amicu planCannot plan: configuration has errors.  error [AMICU-POLICY-002] region 'us-east' (us) violates the data residency allowlist  error [AMICU-POLICY-002] region 'us-east' violates the allowed-regions list

Residency and governance are checked at plan time, before anything deploys.

Which providers does amicu support?

Apply runs on your hardware and on Modal, RunPod today. 4 more, such as Hetzner and Scaleway, are in preview.

As of : 3 supported, 4 preview, 4 planned. See the status table.

Built for operators.

Endpoint auth, tested

After apply, amicu checks the endpoint rejects anonymous requests.

Learn more →

Agent skills

Teach your coding agent the amicu workflow and HCL schema.

Learn more →

Health checks

Check the host, config and state directory in one command.

Learn more →

Frequently asked questions

What is amicu?
amicu is an open-source command-line tool, Terraform for your own LLMs, that deploys vLLM and llama.cpp servers to your own machine or to GPU cloud providers (Modal, RunPod) from an HCL file. You run amicu plan to see what would change, amicu apply to deploy it and amicu destroy to remove it.
Is amicu a hosted service?
No. amicu is a CLI that runs on your machine and talks only to the providers you deploy to, plus api.amicu.dev if you opt in to telemetry (off by default). A managed hosted tier is planned but does not exist yet.
Which providers and GPUs does amicu support?
amicu applies to your own hardware (macOS, Linux or Windows) and to the GPU cloud providers Modal, RunPod. Hetzner, OVHcloud, Scaleway, Self-hosted over SSH are in preview, and Nebius, AWS, Azure, GCP are planned. Example GPUs: Modal offers T4, L4, L40S, A100, H100; RunPod offers L4, RTX 4090, L40S, A100, H100. On your own machine amicu uses whatever GPU, Apple Silicon or CPU the machine has.
What does amicu cost?
The CLI is free and open source. You pay only your provider for compute. For example, a RunPod Serverless worker in the 24 GB GPU group is about $0.69 per hour, billed per second while it runs. amicu plan shows indicative estimates from bundled prices, not live quotes. Team, enterprise and hosted plans are planned.
What license is amicu under?
amicu is licensed under the GNU AGPL-3.0 (SPDX identifier AGPL-3.0-only). The source is on GitHub.
How does amicu compare to Terraform?
The workflow is the same: declarative HCL, a plan you read before anything changes, state that records what was applied, and destroy. amicu is a separate tool with its own HCL schema, built for LLM inference rather than general cloud infrastructure. It checks that a model fits the hardware, enforces data residency at plan time and runs vLLM or llama.cpp for you. It is not a Terraform provider. Compare amicu and Terraform in detail.

Plan your first deployment.

Open source, AGPL-3.0. No account needed.