perplexity | litellm

perplexity/llama-3.1-8b-instruct

$0.20 per million input tokens and $0.20 per million output tokens, context 131K.

Published terms

Provider
perplexity
Source
litellm
Input / 1M
$0.20
Output / 1M
$0.20
Cache read / 1M
$0.02
Context window
131K
Max output
131K
Parameters
8.03B
License
llama3.1

Cost at the default workload

Blended / 1M
$0.20
Reference request
$0.001700 (8,000 in / 500 out)
Break-even at $42.96/day
215M tokens/day

Memory and badges

Declared architecture: 32 layers, hidden 4096, 8 KV heads at 128 dimensions.

price per million tokens for perplexity/llama-3.1-8b-instructcontext window for perplexity/llama-3.1-8b-instructlast sync date for perplexity/llama-3.1-8b-instruct

Embed the badges

![price per 1M](https://llmcostledger.github.io/badges/llama-3.1-8b-instruct.svg) ![context](https://llmcostledger.github.io/badges/llama-3.1-8b-instruct-context.svg)

Sources and API

Prices are read from the OpenRouter model list and the LiteLLM model_prices_and_context_window file; when both declare a model, the LiteLLM record wins. Every field on this page is also available as JSON.

curl https://llmcostledger.github.io/api/v1/models/llama-3.1-8b-instruct.json