Skip to content
Gradient Ai

Llama3 8b Instruct

Llama3 8b Instruct is available via Gradient Ai with a 8K context window and up to 512 output tokens. Pricing: $0.2000/1M input tokens, $0.2000/1M output tokens.

Llama3 8b Instruct Pricing & Specifications

Input Price$0.20 per 1M tokens
Output Price$0.20 per 1M tokens
Context Window8,192 tokens (8K)
Max Output512 tokens
ProviderGradient Ai

What is Llama3 8b Instruct?

Llama3 8b Instruct is a large language model by Gradient Ai with a 8K context window and up to 512 output tokens. It costs $0.20 per 1M input tokens and $0.20 per 1M output tokens. Llama3 8b Instruct is available via Gradient Ai with a 8K context window and up to 512 output tokens. Pricing: $0.2000/1M input tokens, $0.2000/1M output tokens.

Capabilities

text

Llama3 8b Instruct Cost Examples

Short prompt (500 tokens)

$0.000100

Medium prompt (2K tokens)

$0.00040

Long output (4K tokens)

$0.00080

Count tokens for Llama3 8b Instruct

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Llama3 8b Instruct

Gradient Ai

Mistral Nemo Instruct 2407

$0.30/1M in 128K ctx

Gradient Ai

Llama3.3 70b Instruct

$0.65/1M in 128K ctx

Gradient Ai

Anthropic Claude 3.5 Haiku

$0.80/1M in 200K ctx

Gradient Ai

Deepseek R1 Distill Llama 70b

$0.99/1M in 33K ctx

Frequently Asked Questions

How much does Llama3 8b Instruct cost per token? +
Llama3 8b Instruct costs $0.20 per 1M input tokens and $0.20 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.000300.
What is the context window for Llama3 8b Instruct? +
Llama3 8b Instruct supports a context window of 8,192 tokens (8K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Llama3 8b Instruct? +
Llama3 8b Instruct can generate up to 512 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Llama3 8b Instruct good for coding tasks? +
Llama3 8b Instruct can handle basic coding tasks, but there are models specifically optimized for code generation that may perform better on complex programming problems.
Token Counter | Pricing Calculator | Model Comparison | All Gradient Ai Models