inference-providers

Llama 4 Maverick

by meta · family llama

Facts

Release date2025-04-27
Retired date
Knowledge cutoff
Context (max)1,048,576
Max output
Modalitiestext, image → text
AliasesLlama-4-Maverick-17B-128E-Instruct-FP8
Open weightsyes
DescriptionOpen-weight MoE (17B active/128 experts); the last Llama generation shipped before the Llama API retired 2026-07-06; served by third parties.

Unknown values are shown as —.

Intelligence Index v4.1.1: 14 · base · Source: Artificial Analysis (accessed 2026-08-20)

Offerings

ProviderWire IDVariantEndpointProtocolStatusPrice (USD / Mtok)Reasoning
IO Intelligence (io.net)meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8chatopenai-chatga0.27 / 0.90none · default off · returns hidden
OpenRoutermeta-llama/llama-4-maverickchat-completionsopenai-chatga0.20 / 0.80effort · default on · returns reasoning_content · round-trips reasoning_content

Reasoning controls

IO Intelligence (io.net)· meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8· chat none

none · default off · returns hidden

OpenRouter· meta-llama/llama-4-maverick· chat-completions effort

reasoning.effort nonelowmedium●highxhighmax

effort · default on · returns reasoning_content · round-trips reasoning_content

Example requests

IO Intelligence (io.net) · openai-chat · meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8

curl 'https://api.intelligence.io.solutions/api/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ]
}'
Python (requests)
import requests

resp = requests.post(
    "https://api.intelligence.io.solutions/api/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ]
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://api.intelligence.io.solutions/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ]
  }),
})
console.log(await resp.json())

OpenRouter · openai-chat · meta-llama/llama-4-maverick

curl 'https://openrouter.ai/api/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "meta-llama/llama-4-maverick",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning": {
    "effort": "medium"
  }
}'
Python (requests)
import requests

resp = requests.post(
    "https://openrouter.ai/api/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "meta-llama/llama-4-maverick",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning": {
        "effort": "medium"
      }
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "meta-llama/llama-4-maverick",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning": {
      "effort": "medium"
    }
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).