<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd" -->

---
title: Accessing Perplexity Online LLMs Programmatically Via API
description: Learn how to access online LLMs programmatically via API. Discover the caveats of using online LLMs and explore the models offered by Perplexity Labs.
canonical: https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Accessing Perplexity Online LLMs Programmatically Via API | daily.dev
og:description: Learn how to access online LLMs programmatically via API. Discover the caveats of using online LLMs and explore the models offered by Perplexity Labs.
og:url: https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd
og:image: https://api.daily.dev/og/posts/RH0KP2zVd.png
og:image:alt: Accessing Perplexity Online LLMs Programmatically Via API
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Accessing Perplexity Online LLMs Programmatically Via API

**[The New Stack](https://daily.dev/sources/newstack)** · 5 min read · 0 upvotes · 0 comments

## Summary

Learn how to access online LLMs programmatically via API. Discover the caveats of using online LLMs and explore the models offered by Perplexity Labs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thenewstack.io/accessing-perplexity-online-llms-programmatically-via-api/>

---

Tags: [#ai](https://daily.dev/tags/ai), [#architecture](https://daily.dev/tags/architecture), [#llm](https://daily.dev/tags/llm), [#openai](https://daily.dev/tags/openai), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Accessing Perplexity Online LLMs Programmatically Via API","url":"https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd"},"datePublished":"2024-01-29T16:22:02.507Z","dateModified":"2024-08-30T02:29:18.769Z","description":"Learn how to access online LLMs programmatically via API. Discover the caveats of using online LLMs and explore the models offered by Perplexity Labs.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fbe7436e6a08e446e72c61f0d9cd8d43?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fbe7436e6a08e446e72c61f0d9cd8d43?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"The New Stack","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The New Stack","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/newstack","url":"https://daily.dev/sources/newstack"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/accessing-perplexity-online-llms-programmatically-via-api-rh0kp2zvd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,architecture,llm,openai,python","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The New Stack","item":"https://daily.dev/sources/newstack"},{"@type":"ListItem","position":3,"name":"Accessing Perplexity Online LLMs Programmatically Via API"}]}
```

