Llama 3.1 8B Instruct (Meta): live API pricing, context window and the best open-source alternatives, tracked daily by olud.ai.
Prices update automatically — checked hourly against provider list prices.
Independent benchmark scores for Llama 3.1 8B Instruct, measured by Artificial Analysis. Higher is better.
Llama 3.1 8B Instruct is an open-weight AI model by Meta. You can download and self-host it for free; the prices below are hosted-API list prices, tracked hourly, for when you prefer convenience over self-hosting.
Llama 3.1 8B Instruct is an AI language model from Meta. It is open-weight: you can download it and run it on your own hardware, for free. It scores 7.6 on the Artificial Analysis intelligence index.
The weights are free and open — you can self-host Llama 3.1 8B Instruct and pay nothing per token. If you prefer a hosted API, list prices are $0.05 per million input tokens and $0.08 per million output tokens.
Independent benchmarks from Artificial Analysis give it GPQA 25.9%, MMLU-Pro 47.6%, Humanity's Last Exam 5.1%, Long Context Reasoning 15.7%, LiveCodeBench 11.6%, SciCode 13.2%, MATH-500 51.9%, AIME 7.7%, AIME 2025 4.3%, IFBench 28.6%, τ²-Bench 16.4%, τ-Bench Banking 1.6%, Terminal-Bench 1.5%, Terminal-Bench Hard 0.8%. It is particularly used for code generation.
It generates about 614.7 tokens per second, with a median 0.22s delay before the first token. Measured independently by Artificial Analysis.
Yes. Llama 3.1 8B Instruct has open weights, so you can download it and run it on your own GPU or server with tools like Ollama, vLLM or llama.cpp — with no per-token cost.