Llama 3.1 8B
LlamagateText
Llama 3.1 8B is a text model from Llamagate with a context window of 131K tokens and max output of 8K tokens. Pricing starts at $0.03 per million input tokens and $0.05 per million output tokens (cheapest at Google Vertex AI).
Specifications
| Model Key | llamagate/llama-3.1-8b |
| Provider | Llamagate |
| LiteLLM Provider | llamagate |
| Mode | Text |
| Canonical Name | llama-3.1-8b |
| Context Window | 131K 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.000030 | $0.030 |
| Output Tokens | $0.000050 | $0.050 |
Price Comparison by Provider
Compare prices for Llama 3.1 8B across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Databricks | databricks/databricks-meta-llama-3-1-8b-instruct | $0.150 | $0.450 |
| Llamagate | llamagate/llama-3.1-8b | $0.030 | $0.050 |
| Vercel Ai Gateway | vercel_ai_gateway/meta/llama-3.1-8b | $0.050 | $0.080 |
| Groq | groq/llama-3.1-8b-instant | $0.050 | $0.080 |
| Novita | novita/meta-llama/llama-3.1-8b-instruct | $0.020 | $0.050 |
| Nscale | nscale/meta-llama/Llama-3.1-8B-Instruct | $0.030 | $0.030 |
| Ovhcloud | ovhcloud/Llama-3.1-8B-Instruct | $0.100 | $0.100 |
| Perplexity | perplexity/llama-3.1-8b-instruct | $0.200 | $0.200 |
| Wandb | wandb/meta-llama/Llama-3.1-8B-Instruct | $0.022 | $0.022 |
| Google Vertex AI | vertex_ai/meta/llama-3.1-8b-instruct-maas | N/A | N/A |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/llama-v3p1-8b-instruct | $0.100 | $0.100 |
| AWS Bedrock | meta.llama3-1-8b-instruct-v1:0 | $0.220 | $0.220 |
| Cerebras | cerebras/llama3.1-8b | $0.100 | $0.100 |
| Snowflake | snowflake/llama3.1-8b | N/A | N/A |
| Lambda Ai | lambda_ai/llama3.1-8b-instruct | $0.025 | $0.040 |
| Azure AI | azure_ai/Meta-Llama-3.1-8B-Instruct | $0.300 | $0.610 |
| Deepinfra | deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct | $0.030 | $0.050 |
| Friendliai | friendliai/meta-llama-3.1-8b-instruct | $0.100 | $0.100 |
| Hyperbolic | hyperbolic/meta-llama/Meta-Llama-3.1-8B-Instruct | $0.120 | $0.300 |
| SambaNova | sambanova/Meta-Llama-3.1-8B-Instruct | $0.100 | $0.200 |
| Together AI | together_ai/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | $0.180 | $0.180 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Gemma 3 27B It | Google Gemini | Text | N/A | N/A | 131K | 8K | yes | yes |
| GPT-oss-120b-mxfp-GGUF | Lemonade | Text | N/A | N/A | 131K | 33K | no | yes |
| GPT-oss-20b | OpenRouter | Text | $0.020 | $0.100 | 131K | 33K | no | yes |
| GPT-oss-20b-mxfp4-GGUF | Lemonade | Text | N/A | N/A | 131K | 33K | no | yes |
| GPT-oss:120b-cloud | Ollama | Text | N/A | N/A | 131K | 131K | no | yes |
| GPT-oss:20b-cloud | Ollama | Text | N/A | N/A | 131K | 131K | no | yes |
| Llama3.2 11B Vision Instruct | Lambda Ai | Text | $0.015 | $0.025 | 131K | 131K | yes | yes |
| Llama3.2 3B Instruct | Lambda Ai | Text | $0.015 | $0.025 | 131K | 131K | no | yes |
| Meta Llama 3.1 8B Instruct Turbo | Deepinfra | Text | $0.020 | $0.030 | 131K | 131K | no | no |
| Mistral Nemo Instruct 2407 | Deepinfra | Text | $0.020 | $0.040 | 131K | 131K | no | no |