# Llama 3.1 8B Instruct API pricing

No price from the maker itself is on record for Llama 3.1 8B Instruct. The lowest of 17 providers is Helicone: $0.02 per 1M input tokens and $0.03 per 1M output tokens (as of 2026-11-12). Context window: 131K tokens, up to 4.1K output tokens per request.

- Type: Text
- Context: 131K
- Max output: 4.1K
- Released: 2024-07-23
- Open weights: Yes

## Price by provider (USD per 1M tokens)

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [Helicone](https://helicone.ai/models) | llama-3.1-8b-instruct-turbo | $0.02 | $0.03 | — | Lowest |
| [Kilo Gateway](https://kilo.ai) | meta-llama/llama-3.1-8b-instruct | $0.02 | $0.04 | — |  |
| [NanoGPT](https://docs.nano-gpt.com) | meta-llama/llama-3.1-8b-instruct | $0.02 | $0.04 | $0.0272 |  |
| [OpenRouter](https://openrouter.ai/models) | meta-llama/llama-3.1-8b-instruct | $0.02 | $0.04 | — |  |
| [Helicone](https://helicone.ai/models) | llama-3.1-8b-instruct | $0.02 | $0.05 | — |  |
| [Novita AI](https://novita.ai/docs/guides/introduction) | meta-llama/llama-3.1-8b-instruct | $0.02 | $0.05 | — |  |
| [Hugging Face](https://huggingface.co/docs/inference-providers) | meta-llama/Llama-3.1-8B-Instruct | $0.06 | $0.06 | — |  |
| [Helicone](https://helicone.ai/models) | llama-3.1-8b-instant | $0.05 | $0.08 | — |  |
| [Poe](https://creator.poe.com/docs/external-applications/openai-compatible-api) | cerebras/llama-3.1-8b-cs | $0.1 | $0.1 | — |  |
| [Merge Gateway](https://docs.merge.dev/merge-gateway) | meta/llama-3.1-8b-instruct | $0.22 | $0.22 | — |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | meta/llama-3.1-8b | $0.22 | $0.22 | — |  |
| [CoreWeave](https://docs.wandb.ai/inference) | meta-llama/Llama-3.1-8B-Instruct | $0.22 | $0.22 | $0.22 |  |
| [Neon](https://neon.com/docs) | meta-llama-3-1-8b-instruct | $0.15 | $0.45 | — |  |
| [Inference](https://inference.net/models) | meta/llama-3.1-8b-instruct | $0.025 | $0.025 | — | Deprecated |
| [Abacus](https://abacus.ai/help/api) | meta-llama/Meta-Llama-3.1-8B-Instruct | $0.02 | $0.05 | — | Deprecated |
| [Groq](https://console.groq.com/docs/models) | llama-3.1-8b-instant | $0.05 | $0.08 | — | Deprecated |
| [Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/models/) | @cf/meta/llama-3.1-8b-instruct-fp8 | $0.152 | $0.287 | — | Deprecated |
| [Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html) | meta.llama3-1-8b-instruct-v1:0 | $0.22 | $0.22 | — | Deprecated |
| [Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html) | us.meta.llama3-1-8b-instruct-v1:0 | $0.22 | $0.22 | — | Deprecated |
| [Atomic Chat](https://atomic.chat) | Meta-Llama-3_1-8B-Instruct-GGUF | $0 | $0 | — |  |

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.

https://apibook.ai/models/meta/llama-3.1-8b-instruct/
