Llama 3 8B
ReplicateText
Llama 3 8B is a text model from Replicate with a context window of 8K tokens and max output of 8K tokens. Pricing starts at $0.05 per million input tokens and $0.25 per million output tokens (cheapest at Ollama).
Specifications
| Model Key | replicate/meta/llama-3-8b |
| Provider | Replicate |
| LiteLLM Provider | replicate |
| Mode | Text |
| Canonical Name | llama-3-8b |
| Context Window | 8K tokens |
| Max Output | 8K tokens |
Capabilities
✗ Vision✗ Function Calling✗ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.000050 | $0.050 |
| Output Tokens | $0.000250 | $0.250 |
Price Comparison by Provider
Compare prices for Llama 3 8B across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Replicate | replicate/meta/llama-3-8b | $0.050 | $0.250 |
| Vercel Ai Gateway | vercel_ai_gateway/meta/llama-3-8b | $0.050 | $0.080 |
| Novita | novita/meta-llama/llama-3-8b-instruct | $0.040 | $0.040 |
| OpenRouter | openrouter/meta-llama/llama-3-8b-instruct:free | N/A | N/A |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/llama-v3-8b | $0.200 | $0.200 |
| Snowflake | snowflake/llama3-8b | N/A | N/A |
| Gradient Ai | gradient_ai/llama3-8b-instruct | $0.200 | $0.200 |
| Google Vertex AI | vertex_ai/meta/llama3-8b-instruct-maas | N/A | N/A |
| AWS Bedrock | bedrock/us-east-1/meta.llama3-8b-instruct-v1:0 | $0.300 | $0.600 |
| Ollama | ollama/llama3:8b | N/A | N/A |
| Anyscale | anyscale/meta-llama/Meta-Llama-3-8B-Instruct | $0.150 | $0.150 |
| Deepinfra | deepinfra/meta-llama/Meta-Llama-3-8B-Instruct | $0.030 | $0.060 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| DeepSeek R1 Distill Llama 70B | Gradient Ai | Text | $0.990 | $0.990 | 8K | N/A | no | no |
| Gemma 7B | Snowflake | Text | N/A | N/A | 8K | 8K | no | no |
| Llama 3 8B Instruct | Replicate | Text | $0.050 | $0.250 | 8K | 8K | no | no |
| Llama3 70B Instruct V1 | AWS Bedrock | Text | $2.65 | $3.50 | 8K | 2K | no | no |
| Llama3 70B Instruct V1 | AWS Bedrock | Text | $2.65 | $3.50 | 8K | 2K | no | no |
| Llama3 8B Instruct V1 | AWS Bedrock | Text | $0.300 | $2.65 | 8K | 2K | no | no |
| Llama3 8B Instruct V1 | AWS Bedrock | Text | $0.300 | $2.65 | 8K | 2K | no | no |
| Snowflake Llama 3.1 405B | Snowflake | Text | N/A | N/A | 8K | 8K | no | no |
| Snowflake Llama 3.3 70B | Snowflake | Text | N/A | N/A | 8K | 8K | no | no |
| Weaver | OpenRouter | Text | $5.63 | $5.63 | 8K | N/A | no | no |