All models

Meta

Llama 4 Maverick

open weightsimages

Model id

meta/llama-4-maverick
Input
$0.2
per M tokens
Output
$0.8
per M tokens
Cache read
not offered on this model
Context
1,048K
tokens

Registry contract

Capabilities

Protocols
3
Chat · Responses · Messages · streaming
Tools
None
Not supported
JSON Schema
None
Not supported
Vision
Yes
Chat · Responses · Messages
Reasoning
None
No public control
Output limit
Provider
No narrower TokenSpend limit

canonical meta/llama-4-maverick · revision meta/llama-4-maverick · aliases llama-4-maverick, meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8

Provider list price

Pricing

Input$0.2 / M tokens
Output$0.8 / M tokens
RoutingFree

Provider list price. BYOK bills your provider; managed credits draw down at these rates. No markup or request fee. Every request is metered per engineer and joined to shipped work.

Registry 2026-09-17.3 · effective 9/17/2026 · Private rate card. Source withheld.

First request

Run it

Python · TokenSpend SDK

from tokenspend import TokenSpend

client = TokenSpend()
resp = client.chat.completions.create(
    model="meta/llama-4-maverick",
    messages=[{"role": "user", "content": "hello"}],
)

TypeScript · TokenSpend SDK

import { TokenSpend } from "@tokenspend/sdk";

const client = new TokenSpend();
const resp = await client.chat.completions.create({
  model: "meta/llama-4-maverick",
  messages: [{ role: "user", content: "hello" }]
});

curl

curl https://api.tokenspend.dev/v1/chat/completions \
  -H "content-type: application/json" \
  -H "Authorization: Bearer $TOKENSPEND_API_KEY" \
  -d '{"model":"meta/llama-4-maverick","messages":[{"role":"user","content":"hello"}]}'

Claude Code integration

export ANTHROPIC_BASE_URL=https://api.tokenspend.dev
export ANTHROPIC_API_KEY=$TOKENSPEND_API_KEY
export ANTHROPIC_MODEL=meta/llama-4-maverick

One request shape reaches every model. Claude Code connects as an integration with two environment variables. Prompts are not stored unless you enable request logging.