Skip to content

Evals: find out which model does your team's work best

Join the waitlist

Llama 4 Scout

  • Vision
  • Streaming
  • Open weights
  • Runs on DeepInfra

Model id

meta/llama-4-scout
Context window
328K
tokens
Input price
$0.10
per 1M tokens
Output price
$0.30
per 1M tokens
Max output
Provider
no narrower limit

Pricing

Provider list priceUSD / 1M tokens

Input$0.10 / M tokens
Output$0.30 / M tokens
Context window328K 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-11-25.1 · effective 9/17/2026 · Private rate card. Source withheld.

Capabilities

Registry contract

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-scout · revision meta/llama-4-scout · aliases llama-4-scout, meta-llama/Llama-4-Scout-17B-16E-Instruct

Run it

First request

Python · TokenSpend SDK
from tokenspend import TokenSpend

client = TokenSpend()
resp = client.chat.completions.create(
    model="meta/llama-4-scout",
    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-scout",
  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-scout","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-scout

One request shape reaches every model. Claude Code connects as an integration with two environment variables. TokenSpend never stores prompts or responses.

Questions

Who runs Llama 4 Scout?

DeepInfra runs it, at the list price above. A request that fails there fails with an error, because there is no second provider to move to.

What does Llama 4 Scout cost?

$0.10 per 1M input tokens and $0.30 per 1M output tokens. TokenSpend adds no markup and no per-request fee. If you pay with managed credits, buying them carries a 5% fee.

What can I do with Llama 4 Scout through TokenSpend?

Chat and streaming, plus image input (Chat, Messages). It does not support tool calling and JSON schema output here. Tool calling and JSON schema are enabled per provider, only after that provider passes our tests, so a provider chosen by hand may lack them.

How long can my prompt be?

328K tokens of context, prompt and reply together.

How current is this pricing?

It follows rate card 2026-11-25.1, effective 9/17/2026. Source: Private rate card.