Latest Perplexity Model
Pricing
- Input Tokens: $1.600 /M tokens
- Output Tokens: $1.600 /M tokens
Input Modalities
Try this model
Python
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AIHUBMIX_API_KEY"],
base_url="https://aihubmix.com/v1",
)
response = client.chat.completions.create(
model="sonar",
messages=[
{
"role": "user",
"content": "Hello, how are you?"
}
],
max_tokens=1024,
stream=False,
)
print(response.choices[0].message.content)Frequently asked questions
What is sonar?
Latest Perplexity Model
How much does sonar cost?
How do I call sonar via API?
Who created sonar?
More models from Perplexity
Input:$ 5.6 /M
Output:$ 5.6 /M
Context:-
TTFT:-
Throughput:-
On February 22, 2025, this model will be officially discontinued. The Perplexity AI official fine-tuned LLMA internet-connected interface is currently only supported at the api.aihubmix.com address.
Input:$ 1.2 /M
Output:$ 1.2 /M
Context:-
TTFT:-
Throughput:-
On February 22, 2025, this model will be officially discontinued; Perplexity AI's official fine-tuned LLMA internet-connected interface is currently only supported at the api.aihubmix.com address.
Input:$ 0.3 /M
Output:$ 0.3 /M
Context:-
TTFT:-
Throughput:-
On February 22, 2025, this model will be officially discontinued. The Perplexity AI official fine-tuned LLMA online interface is currently supported only at the api.aihubmix.com address.
AIHubMix© 2023 - 2026 AIHubMix, LLC