LLM ReferenceLLM Reference
DeepInfra

Llama 4 Scout 17B-16E Instruct on DeepInfra

Llama 4 · AI at Meta

ServerlessOpen Source

Last refreshed 2026-04-24. Next refresh: weekly.

Why use Llama 4 Scout 17B-16E Instruct on DeepInfra?

DeepInfra offers Llama 4 Scout 17B-16E Instruct with pay-as-you-go pricing at $0.08/1M input tokens. DeepInfra is a cloud inference platform offering cost-effective access to open-source AI models.

Compare Llama 4 Scout 17B-16E Instruct across 9 providers to find the best fit for your use case
Input / 1M
$0.080
Output / 1M
$0.30
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export DEEPINFRA_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
Model ID
llama-4-scout-17b-16e-instruct

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
    base_url="https://api.deepinfra.com/v1/openai"
)
response = client.chat.completions.create(
    model="llama-4-scout-17b-16e-instruct",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • DeepInfra uses "organization/model-name" format, e.g. "meta-llama/Meta-Llama-3-8B-Instruct" or "mistralai/Mistral-7B-Instruct-v0.3". See the DeepInfra model catalog for exact IDs.
  • The examples expect DEEPINFRA_API_KEY; rename it only if your application config maps the new variable.

Compare Llama 4 Scout 17B-16E Instruct Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$0.08$0.30
Together AI
Fireworks AI
DeepInfra$0.08$0.30
GCP Vertex AI$0.20$0.65
View all 9 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.08
Output tokens$0.30

Capabilities

Structured Outputs

About Llama 4 Scout 17B-16E Instruct

Meta's Llama 4 Scout is a 17-billion parameter mixture-of-experts model with 16 expert routing. Optimized for efficient inference on edge and cloud environments with strong multi-turn conversation capabilities. Available on Cloudflare Workers AI.

FAQ

What does Llama 4 Scout 17B-16E Instruct cost on DeepInfra?

On DeepInfra, Llama 4 Scout 17B-16E Instruct costs $0.08 per 1M input tokens and $0.30 per 1M output tokens.

What is the context window for Llama 4 Scout 17B-16E Instruct on DeepInfra?

Llama 4 Scout 17B-16E Instruct supports a 328,000 token context window on DeepInfra.

How does DeepInfra compare to other Llama 4 Scout 17B-16E Instruct providers?

Llama 4 Scout 17B-16E Instruct is available from 9 providers. The cheapest input pricing is $0.08/1M tokens from OpenRouter.

Who created Llama 4 Scout 17B-16E Instruct?

Llama 4 Scout 17B-16E Instruct was created by AI at Meta as part of the Llama 4 model family.

Is Llama 4 Scout 17B-16E Instruct open source?

Llama 4 Scout 17B-16E Instruct is open source according to the seed data.

Get Started