Back to all models

Pricing and availability as of

Llama 3.1 8B Instruct

Model Deactivated

Compact Llama 3.1 for efficient text generation.

llama-3.1-8b-instruct
Context
128,000
tokens
Max output
16,384
tokens
Input from
$0.02
per 1M tokens
Output from
$0.05
per 1M tokens
Providers
6
automatic routing
Released
Jul 23, 2024
  • Streaming
  • Tools
  • JSON Output
No ratings yetSign in to rate

Providers for Llama 3.1 8B Instruct

Compare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.

6 providers · select a column to sort

ProviderActions
Deactivated
16.4k16.4k$0.02$0.05
Deactivated
128k—$0.10$0.10
Deactivated
128k—$0.06$0.06
Deactivated
128k2.0k$0.22$0.22
Deactivated
128k—$0.02$0.06
Deactivated
128k—$0.07$0.33

Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.

Llama 3.1 8B Instruct API pricing

Llama 3.1 8B Instruct API pricing starts at $0.02 per 1M input tokens and $0.05 per 1M output tokens through LLM Gateway, on NovitaAI.

ProviderInput / 1M tokensOutput / 1M tokensCached input / 1M tokensContext window
NovitaAI$0.02$0.05—16,384 tokens
Nebius AI$0.02$0.06—128,000 tokens
Together AI$0.06$0.06—128,000 tokens
Cerebras$0.10$0.10—128,000 tokens
Inference.net$0.07$0.33—128,000 tokens
AWS Bedrock$0.22$0.22—128,000 tokens

What Llama 3.1 8B Instruct costs at volume

Monthly usageCost on NovitaAI
1M input + 250K output tokens$0.0325
10M input + 2.5M output tokens$0.325
100M input + 25M output tokens$3.25

Llama 3.1 8B Instruct cost calculator

Estimated monthly cost
$0.45
Cost per request
$0.00

Frequently asked questions

What is Llama 3.1 8B Instruct?

Compact Llama 3.1 for efficient text generation. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does Llama 3.1 8B Instruct cost?

Pricing for Llama 3.1 8B Instruct on LLM Gateway starts at $0.02 per million input tokens and $0.05 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of Llama 3.1 8B Instruct?

Llama 3.1 8B Instruct supports a context window of up to 128,000 tokens on its largest provider deployment.

Which providers serve Llama 3.1 8B Instruct?

Llama 3.1 8B Instruct is served by NovitaAI, Cerebras, Together AI, AWS Bedrock, Nebius AI, Inference.net through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does Llama 3.1 8B Instruct support tool calling and structured outputs?

Llama 3.1 8B Instruct supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).

When was Llama 3.1 8B Instruct released?

Llama 3.1 8B Instruct was released on July 23, 2024.