Back to Knowledge Base QA
Knowledge & ResearchLlama 3 (70B)

Knowledge Base QA Using Llama 3 (70B)

Optimized prompts and cost breakdowns for running knowledge base qa with Llama 3 (70B).

About Llama 3 (70B)
Provider
meta
Context Window
8K tokens
Input Cost
$0.9 / 1M tokens
Output Cost
$0.9 / 1M tokens

Best For

Self-hostingOpen sourcePrivacy
Optimized Prompts for Llama 3 (70B)
These prompts are tailored to work best with Llama 3 (70B)'s capabilities

answer

Answer this question based on the provided context. If the answer isn't in the context, say so.

Question: {{question}}

Context:
{{context}}

Provide:
1. Direct answer
2. Supporting details
3. Source citations
Cost Breakdown
Estimated costs for running this workflow with Llama 3 (70B)
input tokens
~800 tokens
output tokens
~990 tokens
cost per request
$0.0091
monthly 1000 requests
$15.68
Rate Limiting Considerations

Consider batching requests during peak hours Monitor 429 errors in Administrate

Monitoring with Administrate

Track latency and token usage for Llama 3 (70B) in Administrate dashboard