# Llama3 8B Instruct API Pricing

As of October 10, 2026, Llama3 8B Instruct is free to use from Google Vertex AI, the lowest of 8 providers. It has a 32,000-token context window and returns up to 32,000 tokens per response.

- Page: https://models.litellm.ai/models/llama3-8b-instruct
- Lab: Meta
- LiteLLM model name: `vertex_ai/meta/llama3-8b-instruct-maas`
- Context window: 32,000 tokens
- Max output: 32,000 tokens
- Added to LiteLLM: May 2024
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Google Vertex AI | `vertex_ai/meta/llama3-8b-instruct-maas` | $0 | $0 | – | – | – | 32K |
| Amazon Bedrock | `meta.llama3-8b-instruct-v1:0` | $0.30 | $0.60 | – | – | – | 8K |
| Anyscale | `anyscale/meta-llama/Meta-Llama-3-8B-Instruct` | $0.15 | $0.15 | – | – | – | 8K |
| DeepInfra † | `deepinfra/meta-llama/Meta-Llama-3-8B-Instruct` | $0.03 | $0.06 | – | – | – | 8K |
| GradientAI | `gradient_ai/llama3-8b-instruct` | $0.20 | $0.20 | – | – | – | 8K |
| Novita AI | `novita/meta-llama/llama-3-8b-instruct` | $0.04 | $0.04 | – | – | – | 8K |
| Replicate | `replicate/meta/llama-3-8b-instruct` | $0.05 | $0.25 | – | – | – | 8K |
| Together AI | `together_ai/meta-llama/Meta-Llama-3-8B-Instruct` | $0.20 | $0.20 | – | – | – | 8K |
| Amazon Bedrock (ap-south-1) | `bedrock/ap-south-1/meta.llama3-8b-instruct-v1:0` | $0.36 | $0.72 | – | – | – | 8K |
| Amazon Bedrock (ca-central-1) | `bedrock/ca-central-1/meta.llama3-8b-instruct-v1:0` | $0.35 | $0.69 | – | – | – | 8K |
| Amazon Bedrock (eu-west-1) | `bedrock/eu-west-1/meta.llama3-8b-instruct-v1:0` | $0.32 | $0.65 | – | – | – | 8K |
| Amazon Bedrock (eu-west-2) | `bedrock/eu-west-2/meta.llama3-8b-instruct-v1:0` | $0.39 | $0.78 | – | – | – | 8K |
| Amazon Bedrock (sa-east-1) | `bedrock/sa-east-1/meta.llama3-8b-instruct-v1:0` | $0.50 | $1.01 | – | – | – | 8K |
| Amazon Bedrock (us-east-1) | `bedrock/us-east-1/meta.llama3-8b-instruct-v1:0` | $0.30 | $0.60 | – | – | – | 8K |
| Amazon Bedrock (us-gov-east-1) | `bedrock/us-gov-east-1/meta.llama3-8b-instruct-v1:0` | $0.30 | $2.65 | – | – | – | 8K |
| Amazon Bedrock (us-gov-west-1) | `bedrock/us-gov-west-1/meta.llama3-8b-instruct-v1:0` | $0.30 | $0.60 | – | – | – | 8K |
| Amazon Bedrock (us-west-1) | `bedrock/us-west-1/meta.llama3-8b-instruct-v1:0` | $0.30 | $0.60 | – | – | – | 8K |

† Differs from other providers by more than 8x; check the provider's pricing page.

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Google Vertex AI: $0
- Novita AI: $0.10
- Replicate: $0.225
- Anyscale: $0.375

## Features

Supported: Function calling, Structured output, PDF input.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="vertex_ai/meta/llama3-8b-instruct-maas",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Llama3 8B Instruct cost?

Llama3 8B Instruct is free to use from Google Vertex AI, the lowest of 8 providers.

### What is the context window of Llama3 8B Instruct?

Llama3 8B Instruct has a 32,000-token context window and returns up to 32,000 tokens per response.

### Which providers offer Llama3 8B Instruct?

Llama3 8B Instruct is available from 8 providers through LiteLLM: Google Vertex AI, Amazon Bedrock, Anyscale, DeepInfra, GradientAI, Novita AI, Replicate and Together AI. The lowest price is on Google Vertex AI.

### How do I call Llama3 8B Instruct with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="vertex_ai/meta/llama3-8b-instruct-maas", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Llama3 8B Instruct support?

Llama3 8B Instruct supports function calling, structured output and PDF input.

### When did LiteLLM add Llama3 8B Instruct?

Llama3 8B Instruct was added to LiteLLM's model price file in May 2024.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
