perplexityChat
Perplexity: Llama 3.1 Sonar 70B Online
perplexity/llama-3.1-sonar-large-128k-online
127KContext Window
Online
Llama 3.1 Sonar is Perplexity's latest model family. It surpasses their earlier Sonar models in cost-efficiency, speed, and performance. This is the online version of the [offline chat model](/models/perplexity/llama-3.1-sonar-large-128k-chat). It is focused on delivering helpful, up-to-date, and factual responses. #online
Capabilities
Text GenerationCode GenerationAnalysis & Reasoningmodels.reasoning
Technical Specs
Input Modality
Text
Output Modality
Text
Arch
—
Pricing
Pay per use, no monthly feesInput Token< ¥0.001/1K Token
Output Token< ¥0.001/1K Token
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="perplexity/llama-3.1-sonar-large-128k-online",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
Perplexity: Llama 3.1 Sonar 70B Online
perplexity/llama-3.1-sonar-large-128k-online
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window127K
Related Models
View All → →Perplexity: Llama 3.1 Sonar 8B Online
perplexity/llama-3.1-sonar-small-128k-online
< ¥0.001/1K
Perplexity: Llama3 Sonar 70B
perplexity/llama-3-sonar-large-32k-chat
< ¥0.001/1K
Perplexity: Llama3 Sonar 8B Online
perplexity/llama-3-sonar-small-32k-online
< ¥0.001/1K
Perplexity: Llama3 Sonar 8B
perplexity/llama-3-sonar-small-32k-chat
< ¥0.001/1K
Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →