Last refreshed 2026-04-15. Next refresh: weekly.
Why use Fireworks Llama-3-8B-Instruct on Fireworks AI?
Fireworks AI offers Fireworks Llama-3-8B-Instruct with pay-as-you-go pricing at $0.15/1M input tokens. Fireworks AI offers a generative AI platform as a service, focusing on rapid product iteration and cost-efficient AI deployment.
Input / 1M
$0.15
Output / 1M
$0.15
Cache
Not sourced
Batch
Not sourced
Setup recipe
Python + curlInstall
pip install openaiAuth
export FIREWORKS_API_KEY=...Call
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],Model ID
fireworks-llama-3-8b-instructRequest example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="fireworks-llama-3-8b-instruct",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Fireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
- The examples expect FIREWORKS_API_KEY; rename it only if your application config maps the new variable.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.15 |
| Output tokens | $0.15 |
Capabilities
No model capability flags are currently sourced.
About Fireworks Llama-3-8B-Instruct
Llama 3 8B Instruct via Fireworks AI
FAQ
What does Fireworks Llama-3-8B-Instruct cost on Fireworks AI?
On Fireworks AI, Fireworks Llama-3-8B-Instruct costs $0.15 per 1M input tokens and $0.15 per 1M output tokens.
What is the context window for Fireworks Llama-3-8B-Instruct on Fireworks AI?
Fireworks Llama-3-8B-Instruct supports a 8,192 token context window on Fireworks AI.
Who created Fireworks Llama-3-8B-Instruct?
Fireworks Llama-3-8B-Instruct was created by AI at Meta as part of the Llama 3 model family.
Is Fireworks Llama-3-8B-Instruct open source?
Fireworks Llama-3-8B-Instruct is open source according to the seed data.
Model Specs
Released2024-04-18
Parameters8B
Context8K
ArchitectureDecoder Only
Knowledge cutoff2024-03