"Sonar" primarily refers to a series of large language models (LLMs) developed by the AI search company Perplexity AI[1][2]. These models are designed to enhance AI search capabilities by providing real-time access to information from the internet, addressing limitations of traditional LLMs like outdated information and potential inaccuracies ("hallucinations")[1].
Key Features of Perplexity's Sonar LLMs:
- Real-time Web Access: Unlike models trained on static datasets, Sonar can access the latest information online, ensuring responses are current and relevant[1][3][4]. This is achieved through Perplexity's in-house search, indexing, and crawling infrastructure[3].
- Factuality and Accuracy: The models are optimized for factuality, grounding answers in search results and resolving conflicting or missing information[5][6]. They aim to reduce hallucinations by relying on real-world data[1]. Sonar Pro, in particular, is noted for performing well on factuality benchmarks like SimpleQA by combining LLM summarization with real-time data access[7].
- Built-in Citations: Sonar models provide citations with their responses, allowing users to verify the sources of information and increasing transparency[1][7]. Sonar Pro generally includes more citations than the standard Sonar model[7][2].
- Speed and Performance: Recent versions of Sonar, built on Meta's Llama 3.3 70B and powered by Cerebras inference infrastructure, boast high speeds (up to 1,200 tokens per second), enabling near-instant answers[5][6][8]. Perplexity claims Sonar outperforms models like GPT-4o mini and Claude 3.5 Haiku in user satisfaction and speed, while approaching the performance of larger models like GPT-4o and Claude 3.5 Sonnet at a lower cost[5][6][9].
- Multiple Versions: Perplexity offers different Sonar models:
- Sonar (Basic/Standard): A lightweight, fast, and cost-effective option optimized for basic queries and simple integrations.
- Sonar Pro: Designed for more complex, multi-step queries requiring deeper understanding, often performing multiple searches for more nuanced answers[1][11][7]. It typically has a larger context window than the standard Sonar model[2].
- Sonar Reasoning / Sonar Reasoning Pro: Models with integrated real-time web access for reasoning tasks[8][12].
- Sonar Deep Research: Another specialized model[8].
- Older or potentially different versions mentioned include Sonar 8x7B Online (based on Llama-2 70B)[3] and Llama 3.1 Sonar Large (based on Meta's 405B architecture)[13]. Note that the latest Sonar model discussed (as of Feb 2025 reporting) is based on Llama 3.3 70B[5][6][8].
- Context Window: Different versions have varying context window sizes, such as 127k or 128k tokens for standard Sonar and Llama 3.1 Sonar Large, and 200k for Sonar Pro[8][13][2].
- Availability & Access: Sonar models are accessible via the Perplexity platform (often for Pro users) and through the Perplexity API (pplx-api) for developers to integrate into their own applications[1][6][3].
- Structured Outputs: The models support structured outputs, allowing developers to receive responses in organized formats[1].
Other Uses of "Sonar" in AI:
It's worth noting that "Sonar" is also used in other AI contexts:
- Sonar AI CodeFix: A capability from SonarSource (related to SonarQube and SonarCloud) that uses an LLM to suggest fixes for code issues found during static analysis[14].
- SONAR (Multimodal Model): A distinct AI model developed by Paul-Ambroise Duquenne and team, designed for multilingual and multimodal tasks (text and speech)[15].
However, in the context of a widely discussed LLM, "Sonar" most commonly refers to the models developed by Perplexity AI.