Perplexity LLM API pricing

Every model Perplexity serves, with its pricing per 1M tokens and the exact model ID to copy. Sorted cheapest input first. Verified against LiteLLM and OpenRouter daily.

Models served

20

on this provider

Cheapest input

$0.00

per 1M tokens

Cheapest output

$0.20

per 1M tokens

Max context

200K

tokens

Model ID
Sonar Small OnlinePerplexity12K$0.00$0.28perplexity/sonar-small-online
Sonar Medium OnlinePerplexity12K$0.00$1.80perplexity/sonar-medium-online
Pplx 7B OnlinePerplexity4K$0.00$0.28perplexity/pplx-7b-online
Pplx 70B OnlinePerplexity4K$0.00$2.80perplexity/pplx-70b-online
Pplx 7B ChatPerplexity8K$0.07$0.28perplexity/pplx-7b-chat
Mixtral 8x7B InstructMistral33K$0.07$0.28perplexity/mixtral-8x7b-instruct
Sonar Small ChatPerplexity16K$0.07$0.28perplexity/sonar-small-chat
Mistral 7B InstructMistral33K$0.07$0.28perplexity/mistral-7b-instruct
Llama 3.1 8B InstructMeta200K$0.20$0.20perplexity/llama-3.1-8b-instruct
Codellama 34B InstructMeta16K$0.35$1.40perplexity/codellama-34b-instruct
Sonar Medium ChatPerplexity16K$0.60$1.80perplexity/sonar-medium-chat
Codellama 70B InstructMeta16K$0.70$2.80perplexity/codellama-70b-instruct
Pplx 70B ChatPerplexity4K$0.70$2.80perplexity/pplx-70b-chat
Llama 2 70B ChatMeta4K$0.70$2.80perplexity/llama-2-70b-chat
Llama 3.1 70B InstructMeta131K$1.00$1.00perplexity/llama-3.1-70b-instruct
Sonar ReasoningPerplexity128K$1.00$5.00perplexity/sonar-reasoning
SonarPerplexity128K$1.00$1.00perplexity/sonar
Sonar Deep ResearchPerplexity128K$2.00$8.00perplexity/sonar-deep-research
Sonar Reasoning ProPerplexity128K$2.00$8.00perplexity/sonar-reasoning-pro
Sonar ProPerplexity200K$3.00$15.00perplexity/sonar-pro
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI