---
title: Llama 4 Scout Instruct (17Bx16E) | Text Generation | ModelsLab
description: A 17 billion parameter multimodal LLM with 16 experts using MoE architecture, featuring a massive 10 million token context window for advanced text and.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T09:45:00.177204Z
---

Llama 4 Scout Instruct (17Bx16E)
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct.md)

meta-llama-Llama-4-Scout-17B-16E-Instruct meta Closed Source Model $0.385000 / call

Llama 4 Scout Instruct (17Bx16E)
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Llama 4 Scout Instruct (17Bx16E)

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

Copy model ID

PricingInput $0.18 / 1M tokens

Output $0.59 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[NA](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nex-agi-deepseek-v3.1-nex-n1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Nex AGI: DeepSeek V3.1 Nex N1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nex-agi-deepseek-v3.1-nex-n1)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-large-2407)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral Large 2407

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-large-2407)

[TH](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hy3-preview)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Tencent: Hy3 preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hy3-preview)

[![Gemini 2.5 Flash Image Preview ](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/97c6f065-57f9-45b0-a190-08e5f97f70a8.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-2.5-flash-image-preview)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 2.5 Flash Image Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-2.5-flash-image-preview)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [MiniMax: MiniMax M1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m1)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.1-8b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Meta: Llama 3.1 8B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.1-8b-instruct)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [MiniMax: MiniMax M2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 30B A3B Instruct 2507

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)

[MV](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthracite-org-magnum-v4-72b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Magnum v4 72B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthracite-org-magnum-v4-72b)

[Q7](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen2.5 72B Instruct Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-flash-lite-preview)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemini 3.1 Flash Lite Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-flash-lite-preview)

[Q7](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-72B-Instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen2.5 72B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-72B-Instruct)

[G3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-3-4b-it)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Gemma 3 4b it

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-3-4b-it)

[M3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Ministral-3-14B-Instruct-2512)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Ministral 3 14B Instruct 2512

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Ministral-3-14B-Instruct-2512)

[XM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/xiaomi-mimo-v2-omni)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Xiaomi: MiMo-V2-Omni

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/xiaomi-mimo-v2-omni)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.1-70b-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.1-70b-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.1-70b-instruct)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2.7)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [MiniMax: MiniMax M2.7

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2.7)

[PS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perplexity-sonar-pro-search)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Perplexity: Sonar Pro Search

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perplexity-sonar-pro-search)

About Llama 4 Scout Instruct (17Bx16E)
---

A 17 billion parameter multimodal LLM with 16 experts using MoE architecture, featuring a massive 10 million token context window for advanced text and image reasoning.

### Technical Specifications

Model IDmeta-llama-Llama-4-Scout-17B-16E-InstructCategoryLLM ModelsTaskText GenerationPrice$0.385000 per million tokensAddedJuly 22, 2025

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Llama 4 Scout Instruct (17Bx16E) into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "meta-llama-Llama-4-Scout-17B-16E-Instruct",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Llama 4 Scout Instruct (17Bx16E) API costs $0.385000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Llama 4 Scout Instruct (17Bx16E)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/llama-4-scout-instruct-17bx16e) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Meta](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Llama 4 Scout Instruct (17Bx16E) FAQ
---

### What is Llama 4 Scout Instruct (17Bx16E)?

A 17 billion parameter multimodal LLM with 16 experts using MoE architecture, featuring a massive 10 million token context window for advanced text and image reasoning.

### How do I use the Llama 4 Scout Instruct (17Bx16E) API?

You can integrate Llama 4 Scout Instruct (17Bx16E) into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "meta-llama-Llama-4-Scout-17B-16E-Instruct" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Llama 4 Scout Instruct (17Bx16E) cost?

Llama 4 Scout Instruct (17Bx16E) costs $0.385000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Llama 4 Scout Instruct (17Bx16E) model ID?

The model ID for Llama 4 Scout Instruct (17Bx16E) is "meta-llama-Llama-4-Scout-17B-16E-Instruct". Use this ID in your API requests to specify this model.

### Does Llama 4 Scout Instruct (17Bx16E) have a free tier?

Yes, ModelsLab offers a free tier that lets you try Llama 4 Scout Instruct (17Bx16E) and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-13*