Meta Llama 3.1 8B Instruct

FriendliaiText

Meta Llama 3.1 8B Instruct is a text model from Friendliai with a context window of 8K tokens and max output of 8K tokens. Pricing starts at $0.10 per million input tokens and $0.10 per million output tokens (cheapest at Google Vertex AI).

Specifications

Model Keyfriendliai/meta-llama-3.1-8b-instruct
ProviderFriendliai
LiteLLM Providerfriendliai
ModeText
Canonical Namellama-3.1-8b
Context Window8K tokens
Max Output8K tokens

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Pricing

TypePer 1K TokensPer 1M Tokens
Input Tokens$0.000100$0.100
Output Tokens$0.000100$0.100

Price Comparison by Provider

Compare prices for Meta Llama 3.1 8B Instruct across different providers. The same model may be available through multiple providers at different price points.

Provider
Model Key
Input Price
Output Price
Databricksdatabricks/databricks-meta-llama-3-1-8b-instruct$0.150$0.450
Llamagatellamagate/llama-3.1-8b$0.030$0.050
Vercel Ai Gatewayvercel_ai_gateway/meta/llama-3.1-8b$0.050$0.080
Groqgroq/llama-3.1-8b-instant$0.050$0.080
Novitanovita/meta-llama/llama-3.1-8b-instruct$0.020$0.050
Nscalenscale/meta-llama/Llama-3.1-8B-Instruct$0.030$0.030
Ovhcloudovhcloud/Llama-3.1-8B-Instruct$0.100$0.100
Perplexityperplexity/llama-3.1-8b-instruct$0.200$0.200
Wandbwandb/meta-llama/Llama-3.1-8B-Instruct$0.022$0.022
Google Vertex AIvertex_ai/meta/llama-3.1-8b-instruct-maasN/AN/A
Fireworks AIfireworks_ai/accounts/fireworks/models/llama-v3p1-8b-instruct$0.100$0.100
AWS Bedrockmeta.llama3-1-8b-instruct-v1:0$0.220$0.220
Cerebrascerebras/llama3.1-8b$0.100$0.100
Snowflakesnowflake/llama3.1-8bN/AN/A
Lambda Ailambda_ai/llama3.1-8b-instruct$0.025$0.040
Azure AIazure_ai/Meta-Llama-3.1-8B-Instruct$0.300$0.610
Deepinfradeepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct$0.030$0.050
Friendliaifriendliai/meta-llama-3.1-8b-instruct$0.100$0.100
Hyperbolichyperbolic/meta-llama/Meta-Llama-3.1-8B-Instruct$0.120$0.300
SambaNovasambanova/Meta-Llama-3.1-8B-Instruct$0.100$0.200
Together AItogether_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
Apertus 70B InstructPublicaiTextN/AN/A8K4Knoyes
Apertus 8B InstructPublicaiTextN/AN/A8K4Knoyes
Llama 3 8B Instruct:freeOpenRouterTextN/AN/A8KN/Anono
Llama3OllamaTextN/AN/A8K8Knono
Llama3:70BOllamaTextN/AN/A8K8Knono
Llama3:8BOllamaTextN/AN/A8K8Knono
Llama3.1OllamaTextN/AN/A8K8Knoyes
Mistral 7B Instruct V0.1OllamaTextN/AN/A8K8Knoyes
Mistral 7B Instruct:freeOpenRouterTextN/AN/A8KN/Anono
Sarvam MSarvamTextN/AN/A8K32Knono