🦙
Llama 4 Scout
by Meta · 512k context · fast
Meta's open-weight model with 512k context. Strong general capabilities, excellent value for open-source advocates who want API convenience.
Pricing Comparison
Per 1 million tokens
| Official (Meta) | NeatAPI | You Save | |
|---|---|---|---|
| Input Tokens | $0.18 | $0.17 | $0.01 |
| Output Tokens | $0.50 | $0.47 | $0.03 |
That's 5% savings on every API call. See full pricing →
Code Examples
Drop-in replacement — just change the base URL and API key.
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://api.neatapi.ai/v1",
api_key="your-neatapi-key"
)
response = client.chat.completions.create(
model="llama-4-scout",
messages=[
{"role": "user", "content": "Hello, world!"}
]
)
print(response.choices[0].message.content) Node.js
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.neatapi.ai/v1',
apiKey: 'your-neatapi-key'
});
const response = await client.chat.completions.create({
model: 'llama-4-scout',
messages: [
{ role: 'user', content: 'Hello, world!' }
]
});
console.log(response.choices[0].message.content); cURL
curl https://api.neatapi.ai/v1/chat/completions \
-H "Authorization: Bearer your-neatapi-key" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-4-scout",
"messages": [
{"role": "user", "content": "Hello, world!"}
]
}' Key Specifications
Provider
Meta
Context Window
512k tokens
Category
Fast
API Format
OpenAI-compatible
Related Models
Start Using Llama 4 Scout Today
Get your API key in 30 seconds. Same API format as Meta — zero migration effort.