Open-source LLM

Self-hosted Llama 4 Scout on AWS

Run Meta's Llama 4 Scout, a Mixture-of-Experts model with 17B active parameters, behind an OpenAI-compatible API in your own AWS account. No dependency wrangling or GPU driver setup.

  • 17B active, 109B total
  • OpenAI-compatible API
  • Pay per hour
Llama 4 Scout deployed on AWS by Meetrix

What is Llama 4 Scout?

Llama 4 Scout is part of Meta's Llama 4 open model generation. It uses a Mixture-of-Experts architecture with 17 billion active parameters out of 109 billion in total, for strong text generation, chat and embeddings.

What's in the Meetrix Llama 4 Scout AMI

The AMI ships Llama 4 Scout and an OpenAI-compatible API server on Ubuntu 22.04, with GPU drivers ready.

How to set up a self-hosted Llama 4 Scout API

  1. Check your GPU quota

    Make sure your account has vCPU quota for g4dn instances in your region.

  2. Launch the stack

    Subscribe on AWS Marketplace and launch the stack. Double-check the admin email; it cannot be changed later.

  3. Point your domain at it

    After 5-10 minutes, create a DNS record with the PublicIp from the stack outputs.

  4. Call the API

    Open the DashboardUrl to test the endpoints, then point your OpenAI client at your server.

Deploy on AWS

Llama 4 Scout API endpoints

EndpointPurpose
/v1/chat/completionsChat completions from a list of messages
/v1/completionsCompletions from a prompt
/v1/embeddingsEmbeddings for input text
/v1/modelsList available models

The developer guide includes a small Node.js script that checks every endpoint. Read the Llama 4 developer guide →

Video: Llama AMI installation walkthrough (shown with Llama 3)

Llama 4 Scout FAQ

What is Llama 4 Scout?

A Meta Llama 4 model with a Mixture-of-Experts architecture: 17 billion active parameters, 109 billion in total.

Which instance should I use?

The AWS listing recommends g4dn.metal.

Is it compatible with the OpenAI API?

Yes. It serves the OpenAI chat, completions, embeddings and models endpoints.

Can I change the admin email later?

No. It is used for the SSL certificate and cannot be changed after the stack is created.

What if the Llama service hangs?

SSH in and restart the llama service, then check the disk is not full.

What if I see a 502 Bad Gateway error?

The model is still loading. Wait about 5 minutes and refresh.

How do I upgrade?

Back up your server data, remove the old stack and launch the new version from AWS Marketplace.

Llama guides and articles

Need a hand with Llama 4?

We build and run self-hosted AI infrastructure every day, from model selection to GPU sizing. Tell us what you need.

Contact us