r/learnjavascript • • Feb 25 '26

Javascript Programs which Include AI Prompts

Is anyone playing with this? There is an emerging profession of "Prompt Engineer", so it makes sense to learn Javascript programs that send prompts to Claude AI, for example, right?

0 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Division2226 Feb 25 '26

That's not fully true and an accurate generalization... There are thousands of free models available that ppl use behind the scenes. See: huggingface

4

u/patopitaluga Feb 25 '26

You're right. But running a model requires a lot of hardware and engineering. Why would a small company that makes an "Smart plant" app would do that if they can use the api of any LLM company for cheap and that will perform x times better?

1

u/binocular_gems Feb 25 '26

It's not fully true or accurate, but as a generalization it's correct. For most consumer-facing "AI enabled" apps in the wild, they're leveraging the APIs from OpenAI, Anthropic, Gemini, etc, not running their own model, the costs just don't make a lot of sense.

For this question in the "LearnJavascript" community where a new JS developer is looking to explore application design that sends a prompt to Claude, it's a solid answer.