Find a model

Browse the full catalog →

meta-llama/Llama-4-Scout-17B-16E-Instruct

Open-weights chat model from Meta. One API key reaches all 2 providers, with automatic failover.

Input / 1M$0.11
Output / 1M$0.32
Context328K
Providers 2 providers, one key

Up to 1 million free tokens. No card required.

Overview

About meta-llama/Llama-4-Scout-17B-16E-Instruct

meta-llama/Llama-4-Scout-17B-16E-Instruct is an open-weights chat model published by Meta, with a 327,680-token context window. Through TrustedRouter it runs on 2 providers, with options in the US and EU, from $0.11 per million input tokens. One provider offers zero data retention.

Model ID
meta-llama/llama-4-scout-17b-16e-instruct
Publisher
Meta
Modes
chat
Billing
Credits
Quickstart

Set it up with your agent

Paste this into Claude Code, Cursor or any coding agent.

Use meta-llama/Llama-4-Scout-17B-16E-Instruct through TrustedRouter in this project.

1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
   https://api-aws.trustedrouter.com/v1 and read the key from
   TRUSTEDROUTER_API_KEY.
3. Set the model to meta-llama/llama-4-scout-17b-16e-instruct.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api-aws.trustedrouter.com/v1",
    api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
    model="meta-llama/llama-4-scout-17b-16e-instruct",
    messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api-aws.trustedrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/llama-4-scout-17b-16e-instruct",
    "messages": [{"role": "user", "content": "What is the capital of France?"}]
  }'
Your agent will need an API key.
2 providers

Providers

Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.

meta-llama/Llama-4-Scout-17B-16E-Instruct providers and prices per 1M tokens
Provider Input Cached Output Cost per 1M in + out Details
DeepInfra logo DeepInfra Cheapest $0.106 — $0.316 $0.42

Retention

Verification: no verified privacy claim.

Tracked as no-store, not strict ZDR. DeepInfra documents memory-only handling and no training for ordinary inference, but reserves the right to log a small portion of requests for debugging or security. Google- and Anthropic-backed routes also inherit those vendors' terms.

Provider policy source

Location

Operator country: US

Headquarters / registered office: Palo Alto, California, United States.

Company location source (reviewed 2026-09-27).

Inference: US infrastructure plus announced Canadian capacity; model-specific residency unconfirmed.

DeepInfra describes US infrastructure and announced its first international data center in Toronto on July 8, 2026. This is a provider footprint, not an exhaustive or model-specific placement list. DeepSeek V4.1 Flash placement has not been confirmed; do not declare this route US-only.

Region pinning through TR: Not supported by the current TrustedRouter integration.

Reviewed 2026-09-27.

DeepInfra infrastructure statement

DeepInfra Toronto announcement

Full location evidence

Weight format

Unknown

Price and speed

Input $0.1055/1M · Cached input Not published · Output $0.3165/1M

TTFT: insufficient data

Speed: insufficient data

DeepInfra provider page

Cloudflare Workers AI logo Cloudflare Workers AI Zero retention $0.285 — $0.897 $1.18

Retention

Zero data retention.

Marked ZDR via TrustedRouter's arrangement: TrustedRouter has enabled the zero-data-retention setting on the Cloudflare account these routes use. Cloudflare documents that Workers AI retains no inputs or outputs after ordinary stateless inference and does not train on customer content; TrustedRouter uses no stateful features and sends AI Gateway's no-log, no-payload-log and skip-cache headers on every request. Only Workers AI-hosted models route here; third-party passthrough stays disabled. Cloudflare's documented legal, safety and security exceptions still apply. Prepaid only (no BYOK), so every request uses TrustedRouter's account.

Provider policy source

Location

Operator country: US

Headquarters / registered office: Not verified.

Inference: Inference location not verified; no country-specific residency commitment.

No inference-location declaration has been verified for this provider.

Region pinning through TR: No verified provider-specific location pin documented here.

Full location evidence

Weight format

Unknown

Price and speed

Input $0.28485/1M · Cached input Not published · Output $0.89675/1M

TTFT: insufficient data

Speed: insufficient data

Cloudflare Workers AI provider page

Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.

FAQ

Questions

What model ID should I use for meta-llama/Llama-4-Scout-17B-16E-Instruct?

Use meta-llama/llama-4-scout-17b-16e-instruct as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.

Do you log my prompts or outputs?

No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.

Which providers serve meta-llama/Llama-4-Scout-17B-16E-Instruct?

TrustedRouter currently lists Cloudflare Workers AI, and DeepInfra for meta-llama/Llama-4-Scout-17B-16E-Instruct. Provider availability and routing eligibility can change as catalog and health data update.

How much does meta-llama/Llama-4-Scout-17B-16E-Instruct cost through TrustedRouter?

The current lowest Credits input price is $0.1055/1M and the lowest Credits output price is $0.3165/1M. Prices are per one million tokens and come from the current route catalog.

How do I require zero data retention for meta-llama/Llama-4-Scout-17B-16E-Instruct?

Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.

Compare

meta-llama/Llama-4-Scout-17B-16E-Instruct vs other models

Start building with meta-llama/Llama-4-Scout-17B-16E-Instruct.

Up to 1 million free tokens. No card required.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

By continuing you agree to the terms of service and privacy policy.