TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What are some good APIs to interact with large language models?

19 pointsby yangikan7 months ago
I am looking to do simple things like image classification/text classification using APIs without running the LLMs in my local machine. What are some APIs that provide a uniform interface to access different LLMs?

8 comments

emmanueloga_7 months ago
Going through middle layers has pros and cons. You&#x27;ll likely find better docs and experience by going through the official APIs directly. Maybe start with OpenAI and&#x2F;or Claude official libraries, both provide pretty good docs.<p>If you really must use a wrapper, a strategy I use is to look into open-source apps I like and see what they are using. Aider for instance seems to be using this &quot;litellm&quot; thing... If I were to need cross API support for AI, I would probably look into that [1]. llm uses opeanai directly [2]. Etc, etc.<p>--<p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;Aider-AI&#x2F;aider&#x2F;blob&#x2F;e76704e261647348fd7c18931fd0c1f9ac370408&#x2F;requirements&#x2F;requirements.in#L23">https:&#x2F;&#x2F;github.com&#x2F;Aider-AI&#x2F;aider&#x2F;blob&#x2F;e76704e261647348fd7c1...</a><p>2: <a href="https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm&#x2F;blob&#x2F;d654c9521235a737e59a4f1d77cf4682589123ec&#x2F;setup.py#L40">https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm&#x2F;blob&#x2F;d654c9521235a737e59a4f1d7...</a>
logankeenan7 months ago
I used runpod.io prior to buying a pair of 3090s. They make it easy to run vllm too so you can experiment with different models.<p>I also rented a GPU vm from them and ran huggingface models on it. That did require lot more coding and learning.<p><a href="https:&#x2F;&#x2F;docs.runpod.io&#x2F;serverless&#x2F;workers&#x2F;vllm&#x2F;get-started" rel="nofollow">https:&#x2F;&#x2F;docs.runpod.io&#x2F;serverless&#x2F;workers&#x2F;vllm&#x2F;get-started</a>
评论 #41888045 未加载
anonzzzies7 months ago
Openroute.ai works very well; we use it for everything.
评论 #41887027 未加载
constantinum7 months ago
Unstract, if you are into automating document processing &gt; <a href="https:&#x2F;&#x2F;github.com&#x2F;Zipstack&#x2F;unstract?tab=readme-ov-file#-ecosystem-support">https:&#x2F;&#x2F;github.com&#x2F;Zipstack&#x2F;unstract?tab=readme-ov-file#-eco...</a>
vismit20007 months ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm">https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm</a>
anon10947 months ago
I&#x27;m using Lemonfox for barebones speech-to-text translation.
Gooblebrai7 months ago
Replicate.com? Has a good variety of models
etcd7 months ago
lmstudio.io
评论 #41886418 未加载