# Llama 4 Maverick LLM API (x402 Gateway)

> Llama 4 Maverick LLM API (x402 Gateway) is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.003000/call, status unknown (last checked 2026-09-13).

Runs inference on Meta's Llama 4 Maverick model — a 1M-context, multilingual, reasoning-capable open model — via a pay-per-call x402 gateway.

## Facts

- Endpoint: POST https://x402-gateway-production.up.railway.app/api/llm/llama-4-maverick
- Price: $0.003000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-8dc8cc1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jx9NxO_QxJIVKdy-mZ5U9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-gateway-production-up-railway-app-8dc8cc1e -d '<json body>'
```

Example prompt: Use Llama 4 Maverick to summarize this 500-page legal document and highlight all clauses related to liability — it's in French and I need the output in English.

## When to prefer this

Choose this endpoint when you need a high-context (1M token), multilingual, open-weight model at very low per-call cost, especially when processing long documents, cross-lingual tasks, or complex reasoning without committing to a subscription. Prefer over GPT or Claude endpoints when cost sensitivity is high and Meta's open-model quality is sufficient.

## Known failure modes

- Payment not included or invalid x402 payment header — 402 Payment Required
- Prompt exceeds model limits despite large context window — 400 Bad Request
- Model overloaded or gateway unavailable — 503 Service Unavailable
- Malformed request body — 400 Bad Request
- Unsupported language or encoding issues in multilingual input — unexpected output quality

## How this service works

Meta's latest open model — 1M context, strong multilingual and reasoning at very low cost

## Output

A generated text completion from Meta's Llama 4 Maverick model, capable of handling up to 1 million tokens of context, with strong multilingual and reasoning performance. The response is a natural language output matching the prompt's intent, delivered at very low cost ($0.003 USDC per call) via x402 micropayment.

## Example request

```json
{
 "messages": [
  {
   "role": "user",
   "content": "Explain the difference between supervised and unsupervised learning in one paragraph."
  }
 ],
 "max_tokens": 200,
 "temperature": 0.7
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-8dc8cc1e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
