YepAPI
MetaText Generation/v1/ai/chat

Llama 4 Maverick API

Access Llama 4 Maverick through one API key. Meta's most capable open-weight model.

Meta's larger open-weight model. More capable than Scout with a massive 524K context window.

Takes 30 seconds.

Llama 4 Maverick API pricing

Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.

Token typePrice
Input$0.28 / 1M tokens
Output$0.96 / 1M tokens
Context window524K tokens
What it costsPer jobPer 1,000
Chat reply1K input + 500 output tokens$0.0008$0.76
RAG answer8K input + 800 output tokens$0.003$3.01
Agent step with tools30K input + 2K output tokens$0.01$10.32
Long document summary100K input + 2K output tokens$0.03$29.92

4,900+

Developers

2.3M+

API calls served

184

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Send a message and see Llama 4 Maverick respond in real time.

POST/v1/ai/chat

Maximum tokens in the response.

Real-time tokens

Hit "Send Request" to see the response

Llama 4 Maverick specs

ProviderMeta
Model IDmeta-llama/llama-4-maverick
Endpoint/v1/ai/chat
TypeText Generation
Context window524K tokens
Max output16K tokens
ReasoningNo
OpenAI-compatibleYes — /v1/ai/chat/completions

How to get a Llama 4 Maverick API key

  1. 1

    Create an account

    Sign up at yepapi.com with Google or email. It takes about 30 seconds.

  2. 2

    Create an API key

    Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.

  3. 3

    Call Llama 4 Maverick

    Send a request to /v1/ai/chat with the x-api-key header and model "meta-llama/llama-4-maverick".

  4. 4

    Pay as you go

    Usage is billed per request from your balance. Top up any amount; there is no subscription.

Strengths

✓
Open-weight

Meta releases Llama 4 Maverick with open weights, so teams can validate behavior against a published model and avoid lock-in to a single closed system.

✓
524K context

A 524,288-token context window lets Maverick process very large documents, codebases, or conversation histories in one request, with up to 16,384 output tokens.

✓
Stronger than Scout

Maverick is the more capable of Meta's Llama 4 pair, outperforming the smaller Scout on reasoning and general tasks while keeping open weights.

✓
Competitive pricing

At $0.28 per 524K input and $0.96 per 524K output tokens, it delivers frontier-scale context and open-weight flexibility at a low price point.

Quick start

Copy this snippet and start making calls with Llama 4 Maverick.

const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "meta-llama/llama-4-maverick",
    "messages": [
      {
        "role": "user",
        "content": "Explain API gateways in 2 sentences."
      }
    ],
    "maxTokens": 256
  }),
});
const { data } = await res.json();
console.log(data.message.content);

Llama 4 Maverick vs similar models

Every model below runs on the same API key — switch by changing the model ID.

ModelProviderPriceContext
Llama 4 MaverickMeta$0.28 in / $0.96 out per 1M524K
Llama 4 ScoutMeta$0.15 in / $0.44 out per 1M1.3M
Nemotron 3 SuperNVIDIA$0 in / $0 out per 1M262K
Qwen3.7 FlashQwen$0.04 in / $0.19 out per 1M1M
Solar Mini 4Upstage$0.07 in / $0.30 out per 1M524K
Nemotron 3.5 LightningNVIDIA$0.10 in / $0.30 out per 1M262K
DeepSeek V4 FlashDeepSeek$0.13 in / $0.27 out per 1M1.0M
Qwen 3.5 FlashQwen$0.10 in / $0.38 out per 1M1M

Why use Llama 4 Maverick through YepAPI?

✓One API key for all models — no separate accounts
✓OpenAI SDK compatible — just change the base URL
✓No monthly minimums — pay per token
✓Switch models with one line of code
✓Full provider passthrough — citations, search results, and all extras included
✓Streaming and non-streaming support on every model
✓Works with Cursor, Claude, LangChain, and any LLM tool
✓Unified billing across all providers

Llama 4 Maverick API: Meta's capable open-weight model with 524K context

Llama 4 Maverick is the larger and more capable model in Meta's Llama 4 release, an open-weight model with a million-token context window aimed at teams that want capability without closed-system lock-in.

Through YepAPI you access Llama 4 Maverick on one OpenAI-compatible endpoint at $0.28 per 524K input and $0.96 per 524K output tokens, with a 524,288-token context window.

What is Llama 4 Maverick?

Llama 4 Maverick is Meta's higher-tier Llama 4 model, sitting above the smaller Llama 4 Scout in capability. As an open-weight model, its parameters are published, which appeals to teams that value transparency, the option to self-host, and freedom from dependence on any single closed provider. Maverick pairs that openness with a 524,288-token context window and up to 16,384 output tokens, letting it reason over very large inputs. It is positioned as a general-purpose model strong on reasoning, instruction following, and coding, making it a flexible default for builders who prefer the open Llama ecosystem.

Build with Llama 4 Maverick via YepAPI

Call Llama 4 Maverick through YepAPI's OpenAI-compatible /v1/ai/chat endpoint. Point your OpenAI SDK at YepAPI, set the model string to llama-maverick, and you are running Meta's open-weight model; switching to any other model later is a single-string edit. One YepAPI key also covers every other model plus SEO, SERP, and web-scraping tools, so you can prototype on Maverick and route specific tasks elsewhere without changing providers or keys.

Llama 4 Maverick API pricing — $0.28 / $0.96 per 524K tokens

Llama 4 Maverick costs $0.28 per 524K input tokens and $0.96 per 524K output tokens on YepAPI. That pricing is notable given the million-token context and open-weight pedigree: it lets you feed very large inputs affordably while keeping the option to compare against a publicly available model. For long-context summarization and analysis, the low input rate keeps the dominant cost manageable at scale.

Llama 4 Maverick for open-weight, long-context builds

Maverick suits teams that want a capable, transparent model for long-context work: analyzing large documents or entire codebases, multi-turn assistants with long histories, and general reasoning where the published weights aid evaluation and reduce lock-in risk. It is also a sensible benchmark, since its open nature makes its behavior easier to study. The 524K window means heavy chunking is rarely needed for large inputs.

Start generating in 30 seconds

Pay per call, no subscriptions.

What developers say

“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”

Marcus T.

SEO Platform Founder

“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”

Priya S.

Full-Stack Developer

“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”

Jake R.

Indie Hacker

Frequently asked questions

Meta's larger open-weight model. More capable than Scout with a massive 524K context window.

Llama 4 Maverick costs $0.28 per 1M input tokens and $0.96 per 1M output tokens through YepAPI, billed per request with no monthly fee. For example, a chat reply (1K input + 500 output tokens) costs about $0.0008.

Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Llama 4 Maverick and every other model — no separate Meta account or waitlist.

Use "meta-llama/llama-4-maverick" as the model on /v1/ai/chat. The short alias "llama-maverick" also works.

Yes. Point the OpenAI SDK at https://api.yepapi.com/v1/ai with your YepAPI key and set model to "meta-llama/llama-4-maverick". Streaming works the same way, so existing OpenAI code only needs the base URL and key changed.

Llama 4 Maverick supports a 524K token context window with up to 16K output tokens per request.

Ready to use Llama 4 Maverick?

Pay per call, no subscriptions.

Explore more models