Skip to content
MetaChatllama-4-scout-17b-instruct

Llama 4 Scout 17B Instruct API

Input
$0.187per 1M tokens
Output
$0.726per 1M tokens
Context
8K
No gateway feesPay-as-you-go only

Llama 4 Scout 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.

Explore Llama 4 Scout 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses through the unified API. Supported interfaces and current availability are shown below.

  • OpenAI-style Chat Completions
  • Anthropic-style Messages
  • OpenAI-style Responses

Model details

Context window
8K tokens
Max output
2K tokens
Input
Text, images
Output
Text
Capabilities
Vision, Streaming
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Llama 4 Scout 17B Instruct API pricing

Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.

Llama 4 Scout 17B Instruct pricing.
MetricPrice
Input$0.187
Cached inputPrice not published
Output$0.726

What Llama 4 Scout 17B Instruct costs for real work

Typical workloads at list price, worked out from the rates above. Nothing is added on top.

WorkloadTokensCost
1,000 chat replies1,500 tokens in, 400 out, each$0.571
Summarise a 100-page document60K tokens in, 2K out$0.013
10M tokens of coding-agent work10M tokens: 85% cached input, 12% fresh input, 3% output$2.03
1M output tokensGenerated text only$0.726

Llama 4 Scout 17B Instruct is pay-as-you-go only

Llama 4 Scout 17B Instruct is not included in Token Plans. Call it from a pay-as-you-go balance at the list price above, with no gateway fee.

Why teams pick it

  • Llama 4 Scout 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.

Call Llama 4 Scout 17B Instruct

Llama 4 Scout 17B Instruct answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "llama-4-scout-17b-instruct",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "llama-4-scout-17b-instruct",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "llama-4-scout-17b-instruct",
  "input": "Hello"
}'

Conversation compaction is also available at POST /v1/responses/compact.

Use Llama 4 Scout 17B Instruct in your tools

Every coding agent below has a setup guide. Set the model to llama-4-scout-17b-instruct.

Run Llama 4 Scout 17B Instruct in Claude Code

More from Meta

Alternatives to Llama 4 Scout 17B Instruct

Questions about this model

How much does the Llama 4 Scout 17B Instruct API cost?
Llama 4 Scout 17B Instruct costs $0.187 per 1M input tokens and $0.726 per 1M output tokens on Inferray. That is the list price, with no gateway fee on top.
Is there a free tier for Llama 4 Scout 17B Instruct?
No. You add credit and pay Llama 4 Scout 17B Instruct's list rate for each request — seats, projects, and API keys are free, and pay-as-you-go credit never expires.
Am I charged for failed requests?
No. A request that fails without returning a result is not billed. If a response fails part-way, the tokens already processed before the failure are charged.
Is Llama 4 Scout 17B Instruct included in Token Plans?
No. Llama 4 Scout 17B Instruct is pay-as-you-go only; Token Plans cover the other text models in the catalog.
Can I use Llama 4 Scout 17B Instruct in Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.inferray.com, ANTHROPIC_AUTH_TOKEN to your Inferray key, and ANTHROPIC_MODEL to llama-4-scout-17b-instruct. The same key works in Codex, opencode, Cline, and other agents.
Does Llama 4 Scout 17B Instruct support tool calling and vision?
Llama 4 Scout 17B Instruct supports image input and streaming on Inferray. It does not support tool calling.
Is it the real Llama 4 Scout 17B Instruct?
Yes. A request for llama-4-scout-17b-instruct is answered by Llama 4 Scout 17B Instruct from Meta, billed at its published list price. Inferray never substitutes a different or smaller model.

Prices from the catalog as of November 12, 2026.