Llama 3.1 8B Instruct

WandbText

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

Specifications

Model Keywandb/meta-llama/Llama-3.1-8B-Instruct
ProviderWandb
LiteLLM Providerwandb
ModeText
Canonical Namellama-3.1-8b
Context Window128K tokens
Max Output128K 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.000022$0.022
Output Tokens$0.000022$0.022

Price Comparison by Provider

Compare prices for 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
Gemma 3 4B It GGUFLemonadeTextN/AN/A128K8Knoyes
Gemma3 4BLlamagateText$0.030$0.080128K8Kyesyes
GigaChat 2 LiteGigachatTextN/AN/A128K8Knoyes
GigaChat 2 MaxGigachatTextN/AN/A128K8Kyesyes
GigaChat 2 ProGigachatTextN/AN/A128K8Kyesyes
Glm 4.5 FlashZaiTextN/AN/A128K32Knoyes
Llama 3.1 70B Instruct MaasGoogle Vertex AITextN/AN/A128K2Kyesno
Llama 3.1 8B Instruct MaasGoogle Vertex AITextN/AN/A128K2Kyesno
Llama 3.2 90B Vision Instruct MaasGoogle Vertex AITextN/AN/A128K2Kyesno
Qwen3 4B Fp8NovitaText$0.030$0.030128K20Knono