---
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.com/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/api.md
canonical: https://modelslab.com/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:09:15.021653Z
---

Llama 4 Scout Instruct (17Bx16E)
---

 [LLMs.txt](https://modelslab.com/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct/llms.txt) [.md](https://modelslab.com/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.com/models?feature=llmaster)

[QQ](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-397b-a17b)[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Qwen: Qwen3.5 397B A17B

Closed Source Model](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-397b-a17b)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-397B-A17B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3.5 397B A17b

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-397B-A17B)

[GN](https://modelslab.com/models/open_router/google-gemini-2.5-flash-image)[Open Router](https://modelslab.com/models/open_router)

 [Google: Nano Banana (Gemini 2.5 Flash Image)

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-2.5-flash-image)

[DC](https://modelslab.com/models/open_router/deepcogito-cogito-v2.1-671b)[Open Router](https://modelslab.com/models/open_router)

 [Deep Cogito: Cogito v2.1 671B

Closed Source Model](https://modelslab.com/models/open_router/deepcogito-cogito-v2.1-671b)

[SR](https://modelslab.com/models/open_router/switchpoint-router)[Open Router](https://modelslab.com/models/open_router)

 [Switchpoint Router

Closed Source Model](https://modelslab.com/models/open_router/switchpoint-router)

[![Anthropic: Claude Haiku 4.5](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b89d0017-305c-42f8-8327-14107b3de1a0.png)](https://modelslab.com/models/open_router/anthropic-claude-haiku-4.5)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Haiku 4.5

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-haiku-4.5)

[MM](https://modelslab.com/models/open_router/morph-morph-v3-fast)[Open Router](https://modelslab.com/models/open_router)

 [Morph: Morph V3 Fast

Closed Source Model](https://modelslab.com/models/open_router/morph-morph-v3-fast)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B-Instruct-2507-Lora)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 30B A3B Instruct 2507 Lora

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B-Instruct-2507-Lora)

[G2](https://modelslab.com/models/google_deepmind/google-gemma-2-27b-it)[ModelsLab](https://modelslab.com/models/google_deepmind)

 [Gemma-2 Instruct (27B)

Closed Source Model](https://modelslab.com/models/google_deepmind/google-gemma-2-27b-it)

[SM](https://modelslab.com/models/together_ai/sarvamai-sarvam-m)[Together AI](https://modelslab.com/models/together_ai)

 [Sarvam M

Closed Source Model](https://modelslab.com/models/together_ai/sarvamai-sarvam-m)

[ML](https://modelslab.com/models/open_router/mistralai-mistral-large-2411)[Open Router](https://modelslab.com/models/open_router)

 [Mistral Large 2411

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-large-2411)

[L3](https://modelslab.com/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)[ModelsLab](https://modelslab.com/models/meta)

 [Llama 3.1 Nemotron 70B Instruct HF

Closed Source Model](https://modelslab.com/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[MM](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M1-40k)[Together AI](https://modelslab.com/models/together_ai)

 [Minimax M1 40K

Closed Source Model](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M1-40k)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-nano-12b-v2-vl-free)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron Nano 12B 2 VL (free)

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-nano-12b-v2-vl-free)

[L3](https://modelslab.com/models/together_ai/meta-llama-Llama-3.1-405B)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 3.1 405B

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.1-405B)

[G2](https://modelslab.com/models/together_ai/google-gemma-2b-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 2B It

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-2b-it)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3.2 11B Vision Instruct

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)

[OG](https://modelslab.com/models/open_router/openai-gpt-4.1-mini)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4.1 Mini

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4.1-mini)

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.com/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.com/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.com/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.com/llama-4-scout-instruct-17bx16e) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Meta](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/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-04-15*