---
title: Meta: Llama 4 Scout API | Text Generation | ModelsLab
description: Build with Meta: Llama 4 Scout API by Meta Llama. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/modelslab/meta-llama-llama-4-scout.md
canonical: https://modelslab.com/models/modelslab/meta-llama-llama-4-scout.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-22T19:07:32.327219Z
---

Meta: Llama 4 Scout
---

 [LLMs.txt](https://modelslab.com/models/open_router/meta-llama-llama-4-scout/llms.txt) [.md](https://modelslab.com/models/meta-llama/meta-llama-llama-4-scout.md)

meta-llama-llama-4-scout meta-llama Closed Source Model $0.190000 / call

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-llama meta-llama-llama-4-scout

Copy model ID

PricingInput $0.08 / 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.com/models?feature=llmaster)

[#### open\_router/Qwen: Qwen3 Next 80B A3B Thinking

qwen-qwen3-next-80b-a3b-thinking

From $0.44/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-thinking)

[#### open\_router/Morph: Morph V3 Fast

morph-morph-v3-fast

From $1.00/M tokens](https://modelslab.com/models/open_router/morph-morph-v3-fast)

[#### together\_ai/Qwen3 Coder 30B A3b Instruct

Qwen-Qwen3-Coder-30B-A3B-Instruct

Free](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-30B-A3B-Instruct)

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

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

From $0.11/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-3.2-1b-instruct)

[#### google\_deepmind/Gemma-2 Instruct (27B)

google-gemma-2-27b-it

From $0.65/M tokens](https://modelslab.com/models/google_deepmind/google-gemma-2-27b-it)

[#### open\_router/Meta: Llama Guard 4 12B

meta-llama-llama-guard-4-12b

From $0.18/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-guard-4-12b)

[#### open\_router/DeepSeek: DeepSeek V3.1

deepseek-deepseek-chat-v3.1

From $0.50/M tokens](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3.1)

[#### open\_router/Qwen: Qwen3.5 397B A17B

qwen-qwen3.5-397b-a17b

From $1.36/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.5-397b-a17b)

[#### open\_router/OpenAI: GPT-5.2 Chat

openai-gpt-5.2-chat

From $7.88/M tokens](https://modelslab.com/models/open_router/openai-gpt-5.2-chat)

[#### open\_router/OpenAI: GPT-5.4 Image 2

openai-gpt-5.4-image-2

From $11.50/M tokens](https://modelslab.com/models/open_router/openai-gpt-5.4-image-2)

[#### open\_router/Tencent: Hunyuan A13B Instruct

tencent-hunyuan-a13b-instruct

From $0.35/M tokens](https://modelslab.com/models/open_router/tencent-hunyuan-a13b-instruct)

[#### open\_router/NVIDIA: Nemotron 3 Nano 30B A3B (free)

nvidia-nemotron-3-nano-30b-a3b-free

Free](https://modelslab.com/models/open_router/nvidia-nemotron-3-nano-30b-a3b-free)

[#### open\_router/Arcee AI: Trinity Large Thinking

arcee-ai-trinity-large-thinking

From $0.54/M tokens](https://modelslab.com/models/open_router/arcee-ai-trinity-large-thinking)

[#### open\_router/Writer: Palmyra X5

writer-palmyra-x5

From $3.30/M tokens](https://modelslab.com/models/open_router/writer-palmyra-x5)

[#### open\_router/Sao10K: Llama 3.1 Euryale 70B v2.2

sao10k-l3.1-euryale-70b

From $0.85/M tokens](https://modelslab.com/models/open_router/sao10k-l3.1-euryale-70b)

[#### open\_router/xAI: Grok 4.3

x-ai-grok-4.3

From $1.88/M tokens](https://modelslab.com/models/open_router/x-ai-grok-4.3)

[#### open\_router/Baidu Qianfan: CoBuddy (free)

baidu-cobuddy-free

Free](https://modelslab.com/models/open_router/baidu-cobuddy-free)

[#### open\_router/Z.ai: GLM 5.1

z-ai-glm-5.1

From $2.03/M tokens](https://modelslab.com/models/open_router/z-ai-glm-5.1)

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-scoutCategoryLLM ModelsTaskText GenerationPrice$0.190000 per million tokensAddedFebruary 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.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",
        "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.190000 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

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Meta Llama](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/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.190000 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-05-23*