llmreference
OpenRouter

Using Llama 4 Scout 17B-16E Instruct on OpenRouter

Implementation guide · Llama 4 · AI at Meta

ServerlessOpen Source

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call meta-llama/llama-4-scout — see the documentation for request format.
  3. 3
    You'll be billed $0.08/1M input, $0.30/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

About OpenRouter

OpenRouter provides a unified interface for Large Language Models with better pricing, improved uptime, and no subscription requirements. Route across providers for cost optimization and reliability.

OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$0.08
Output tokens$0.30

Capabilities

Structured Outputs

About Llama 4 Scout 17B-16E Instruct

Meta's Llama 4 Scout is a 17-billion parameter mixture-of-experts model with 16 expert routing. Optimized for efficient inference on edge and cloud environments with strong multi-turn conversation capabilities. Available on Cloudflare Workers AI.

Model Specs

Released2025-04-05
Parameters17B
Context328K
ArchitectureMixture of Experts
Knowledge cutoff2024-08

Provider

OpenRouter
OpenRouter

OpenRouter, Inc.

New York, NY, USA