---
title: Meta: Llama 4 Scout API | Text Generation | ModelsLab
description: Build with Meta: Llama 4 Scout API by Meta. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-llama-4-scout.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-llama-4-scout.md
type: product
component: Playground/LLM/Index
generated_at: 2026-07-11T23:04:31.284711Z
---

Meta: Llama 4 Scout
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-4-scout/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-llama-4-scout.md)

Meta: Llama 4 Scout
---

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

### Meta: Llama 4 Scout

meta meta-llama-llama-4-scout

Copy model ID

PricingInput $0.10 / 1M tokens

Output $0.30 / 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)

[#### open\_router/Mistral: Mistral Nemo

mistralai-mistral-nemo

From $0.03/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-nemo)

[#### open\_router/OpenAI: GPT-3.5 Turbo Instruct

openai-gpt-3.5-turbo-instruct

From $1.75/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-3.5-turbo-instruct)

[#### open\_router/Qwen: Qwen3.6 Flash

qwen-qwen3.6-flash

From $0.66/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.6-flash)

[#### open\_router/Meta: Llama 3.2 1B Instruct

meta-llama-llama-3.2-1b-instruct

From $0.11/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.2-1b-instruct)

[#### open\_router/OpenAI: GPT-4o (2024-11-20)

openai-gpt-4o-2024-11-20

From $6.25/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-2024-11-20)

[#### open\_router/xAI: Grok 4.20 Multi-Agent

x-ai-grok-4.20-multi-agent

From $1.88/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.20-multi-agent)

[#### openai/GPT OSS 120b

gpt-oss-120b

From $0.11/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-oss-120b)

[#### open\_router/Google: Gemini 2.5 Pro Preview 05-06

google-gemini-2.5-pro-preview-05-06

From $5.63/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-pro-preview-05-06)

[#### open\_router/MiniMax: MiniMax M1

minimax-minimax-m1

From $1.30/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m1)

[#### open\_router/ByteDance: UI-TARS 7B 

bytedance-ui-tars-1.5-7b

From $0.15/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/bytedance-ui-tars-1.5-7b)

[#### open\_router/Relace: Relace Search

relace-relace-search

From $2.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/relace-relace-search)

[#### open\_router/Mistral: Voxtral Small 24B 2507

mistralai-voxtral-small-24b-2507

From $0.20/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-voxtral-small-24b-2507)

[#### open\_router/Qwen: Qwen3.5-35B-A3B

qwen-qwen3.5-35b-a3b

From $0.57/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.5-35b-a3b)

[#### open\_router/WizardLM-2 8x22B

microsoft-wizardlm-2-8x22b

From $0.62/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/microsoft-wizardlm-2-8x22b)

[#### together\_ai/Qwen3.5 9B FP8

Qwen-Qwen3.5-9B

From $0.13/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.5-9B)

[#### open\_router/Qwen: Qwen3 30B A3B

qwen-qwen3-30b-a3b

From $0.31/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b)

[#### open\_router/Cohere: North Mini Code (free)

cohere-north-mini-code-free

Free](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/cohere-north-mini-code-free)

[#### open\_router/Qwen: Qwen3 Coder Next

qwen-qwen3-coder-next

From $0.46/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-next)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)

About Meta: Llama 4 Scout
---

Llama 4 Scout 17B Instruct (16E) is a mixture-of-experts (MoE) language model developed by Meta, activating 17 billion parameters out of a total of 109B. It supports native multimodal input...

### Technical Specifications

Model IDmeta-llama-llama-4-scout

CategoryLLM Models

TaskText Generation

Price$0.2 per million tokens

AddedFebruary 20, 2026

### 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 Meta: Llama 4 Scout 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",
        "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>
```

### Pricing

Meta: Llama 4 Scout API costs $0.200000 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

[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)

Meta: Llama 4 Scout FAQ
---

### What is Meta: Llama 4 Scout?

Llama 4 Scout 17B Instruct (16E) is a mixture-of-experts (MoE) language model developed by Meta, activating 17 billion parameters out of a total of 109B. It supports native multimodal input...

### How do I use the Meta: Llama 4 Scout API?

You can integrate Meta: Llama 4 Scout 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" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Meta: Llama 4 Scout cost?

Meta: Llama 4 Scout costs $0.200000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Meta: Llama 4 Scout model ID?

The model ID for Meta: Llama 4 Scout is "meta-llama-llama-4-scout". Use this ID in your API requests to specify this model.

### Does Meta: Llama 4 Scout have a free tier?

Yes, ModelsLab offers a free tier that lets you try Meta: Llama 4 Scout 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-07-12*