Roboflow

MetaMetaReleased Apr 2025Custom

Llama 4 Maverick

Llama 4 Maverick has no score on the current Vision Evals. On the earlier Vision Evals board (last updated July 9, 2026) it passed 78.6% of OCR tasks (#25 of 58).

It is an open-weight model from Meta under a custom license; check its commercial-use terms.

Llama 4 Maverick Interactive Demo

Model settings

Thinking level

Max output tokens

Default 65,536 · max 65,536

Sign in to adjust thinking and output length per run.

Results appear here. Add an image or pick an example to run Llama 4 Maverick.

Llama 4 Maverick Vision Evals

Llama 4 Maverick has not yet been evaluated on the current benchmark. The results below are from the legacy version of Vision Evals, our previous benchmark. See the current Vision Evals

Visual Understanding

77 models · 67 tasks
HighestLowest
This model#46 of 7759.7% pass rate · better than 35%
Score59.7%pass rate across 67 tasks
Speed2.30savg response per task
Cost$0.0008 / task$0.350 in · $1.00 out / 1M
Tokens2.4K / task2.4K in · 7 out
Score key:≥75%40–74%<40%
CategoryPassedScore
Defect Detection10 / 15
66.7%
Document Understanding6 / 9
66.7%
Object Understanding9 / 14
64.3%
Spatial Understanding12 / 19
63.2%
Object Counting3 / 10
30%
HighestLowest
This model#25 of 5878.6% pass rate · better than 52%
Score78.6%pass rate across 229 tasks
Speed0.87savg response per task
Cost$0.0002 / task$0.350 in · $1.00 out / 1M
Tokens480 / task472 in · 10 out
Score key:≥75%40–74%<40%
CategoryPassedScore
License Plate Recognition28 / 30
93.3%
Text Recognition25 / 30
83.3%
Focused Scene OCR76 / 99
76.8%
VQA & Extraction45 / 60
75%
Handwritten Math6 / 10
60%

Scores based on a single evaluation run · Methodology

View all legacy Vision Evals results →

Llama 4 Maverick Overview

Llama 4 Maverick, introduced on April 5, 2025, is one of the first models in Meta’s Llama 4 family, designed as a natively multimodal model supporting text + image inputs with text outputs. It employs a Mixture-of-Experts (MoE) architecture with 128 experts, activating ~17B parameters per token out of a pool of ~400B total parameters. This design improves scalability, efficiency, and reasoning capacity. Maverick has a 1M-token context window, enabling it to handle large documents, extended conversations, and multimodal reasoning. Its knowledge cutoff is August 2024.

Llama 4 Maverick Pricing

Llama 4 Maverick costs $0.350 per 1M input tokens and $1.00 per 1M output tokens.

Input$0.350 / 1M tokens
Output$1.00 / 1M tokens
Cached input$0.170 / 1M tokens

Pricing updated Nov 10, 2026

Deploy Llama 4 Maverick with an API

Llama 4 Maverick runs as a hosted REST endpoint through Roboflow Workflows. Pick a task, then hand the prompt to your coding agent or copy the code. Deploying the workflow into a free Roboflow workspace replaces the your-workspace and YOUR_API_KEY placeholders with your own.

Connect your agent to Roboflow (once)

Add the Roboflow MCP server

claude mcp add --transport http roboflow https://mcp.roboflow.com/mcp

Run /mcp and authorize Roboflow in your browser when the OAuth flow opens.

Start a new Claude Code session so the MCP loads, then paste the prompt below (it works the same in any agent).

Deploy this workflow to your Roboflow workspace to use it.

Integrate the Roboflow "Llama 4 Maverick" workflow into my app.

- Endpoint: POST https://serverless.roboflow.com/<your-workspace>/workflows/llama-4-maverick-captioning
- Auth: send my Roboflow API key as `api_key` in the request body, read from the ROBOFLOW_API_KEY env var (never hardcode).
- Body: { "api_key": ..., "inputs": { `image`: { type: "url" | "base64", value } } }.
- Billing: this workflow needs no provider API key — inference runs on my Roboflow credits. A BYO provider key can be added to the model step in the Roboflow workflow editor later.

With the Roboflow MCP connected, call `workflows_get` on "llama-4-maverick-captioning" to read the exact input schema (the source of truth), then `workflows_run` on a sample image to confirm the output shape before writing code (the MCP is authenticated, so this needs no key). Without the MCP, use the contract above.

Before running the app, set up these keys so it does not error at runtime:
- `ROBOFLOW_API_KEY` (sent as `api_key`) from https://app.roboflow.com/settings/api
Create a .gitignore'd .env with these variables, using placeholder values for any I haven't given you. Then pause and tell me directly, in your reply: the full path to the .env file, exactly which keys I need to paste in, and the link to get each one. Wait for me to confirm I've added them before you run anything. Do not run the app until I confirm.

Then add the integration to my codebase: match my project's language, framework, and conventions; read every key from environment variables (never hardcode); add basic error handling; and include a small runnable example. If you can't tell what language my project uses, ask me.
Installpip install inference-sdk

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workflow
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="YOUR_API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="your-workspace",
  workflow_id="llama-4-maverick-captioning",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Deploy this workflow to your Roboflow workspace to use it.

// Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
const response = await fetch('https://serverless.roboflow.com/your-workspace/workflows/llama-4-maverick-captioning', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    api_key: 'YOUR_API_KEY',
    inputs: {
      "image": {"type": "url", "value": "IMAGE_URL"}
    }
  })
});

const result = await response.json();
console.log(result);

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
curl --location 'https://serverless.roboflow.com/your-workspace/workflows/llama-4-maverick-captioning' \
--header 'Content-Type: application/json' \
--data '{
  "api_key": "YOUR_API_KEY",
  "inputs": {
    "image": {"type": "url", "value": "IMAGE_URL"}
  }
}'

Llama 4 Maverick License

Custom License · Model-specific license

Llama 4 Maverick ships under a custom, model-specific license rather than a standard permissive or restrictive one, so the Llama 4 Maverick license has to be read directly. Custom model licenses range from effectively permissive to research-only.

Commercial use
Varies. Custom model licenses commonly restrict commercial use, cap monthly active users, or carve out specific industries — check the Llama 4 Maverick terms before you build on it.
Modification
Usually permitted for fine-tuning, but check whether derivative weights inherit the same license and naming requirements.
Redistribution
Often restricted. Look for attribution, naming, and acceptable-use requirements that apply to any copy you share.

Uncertainty around licensing can delay or stop a project, and acceptable-use policies attached to custom licenses are binding terms rather than guidance. Review them alongside the Llama 4 Maverick license before production deployment.

Do I need a commercial license for Llama 4 Maverick?

If the custom terms rule out your use case, a commercial license from the rights holder is the way through. Roboflow's licensing page lists the supported models whose commercial license is included in a Roboflow plan, so it is worth checking whether Llama 4 Maverick — or a permissively licensed alternative — fits your deployment.

Do not hesitate to reach out with questions for your commercial project. Our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

Custom licenses are model-specific. Always check the per-model License Notes section above and the linked official license text.

License information is provided as a guide and is not legal advice.

Llama 4 Maverick Details

Details

Categoryopen
ModalityMultimodal
Context Window1.0M
Parameters400B
LicenseCustom
Release DateApr 2025

Vision Tasks

CaptioningChart Question AnsweringClassificationDocument Question AnsweringImage TaggingMulti-Label ClassificationOCRObject DetectionVision LanguageVisual Question Answering

Usage

Past 30 Days

Price vs. performance

Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost). Based on Vision Evals (legacy) results.

11 of 11 models plotted

ModelScoreMedian tokensEst. cost / taskCompare
AnthropicClaude Opus 4.867.2%2.2K$0.012Compare
AnthropicClaude Opus 4.767.2%2.6K$0.015Compare
GoogleGemma 4 31B67.2%467$0.0001Compare
AnthropicClaude Opus 4.6 64.2%2.3K$0.014Compare
OpenAIGPT-5.4 Nano62.7%1.8K$0.0004Compare
MetaLlama 4 Maverick(this model)59.7%2.4K$0.0008—
AnthropicClaude Sonnet 4.559.7%2.3K$0.0092Compare
AnthropicClaude Opus 4.159.7%2.1K$0.040Compare
AnthropicClaude Haiku 4.558.2%2.3K$0.0030Compare
OpenAIGPT-5 Nano58.2%2.7K$0.0003Compare
QwenQwen3.5 397B A17B58.2%1.5K$0.0009Compare

Frequently Asked Questions About Llama 4 Maverick Vision

Yes. Llama 4 Maverick accepts image input, and on Roboflow's previous vision benchmark it passed 59.7% of visual understanding tasks (#46 of 77) and scored 78.6% on OCR. You can test it on your own image in the demo above.

Yes. The demo on this page runs Llama 4 Maverick in the free Roboflow Playground: upload an image and see results in seconds. A free account unlocks unlimited runs.