Tutorials

Free, Unlimited Prime Intellect API

On this page

In this guide, you will learn how to integrate Prime Intellect's INTELLECT-3 into your app for free, without setting up an AI server or using API keys.

Puter.js uses the User-Pays model, where users of your application cover their own AI costs. This means you as a developer don't pay anything for your users' usage, making your app practically free to run. You can scale to unlimited users and pay nothing for the AI usage.

Getting Started

Add Puter.js to your project with a single line:

<script src="https://js.puter.com/v2/"></script>

That's it, you're ready to start integrating Prime Intellect AI into your application.

Example 1: Basic Chat

The INTELLECT-3 model achieves state-of-the-art performance for its size (100B+) across math, code, and science benchmarks.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
      puter.ai
        .chat(
          "Debug this logic: If I have 3 apples and give away 5, how many do I have?",
          { model: "openrouter:prime-intellect/intellect-3", stream: true }
        )
        .then(async (resp) => {
          for await (const part of resp) {
            if (part?.reasoning) puter.print(part?.reasoning);
            else puter.print(part?.text);
          }
        });
    </script>
</body>
</html>

Example 2: Complex Reasoning

INTELLECT-3 is designed for multi-step problem solving, making it excel in reasoning tasks.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
      puter.ai
        .chat(
          "Explain the complete process of training a large language model, from data collection to deployment",
          { model: "openrouter:prime-intellect/intellect-3", stream: true }
        )
        .then(async (resp) => {
          for await (const part of resp) {
            if (part?.reasoning) puter.print(part?.reasoning);
            else puter.print(part?.text);
          }
        });
    </script>
</body>
</html>

List of Prime Intellect models

You can use the following Prime Intellect models with Puter.js:

openrouter:prime-intellect/intellect-3

Conclusion

Using Puter.js, you can gain access to Prime Intellect models without having to set up an AI server or manage API keys yourself. And thanks to the User-Pays model, you can add this feature for free to your application, since your users cover their own AI usage, not you as the developer.

You can find all AI features supported by Puter.js in the documentation.

Free, Serverless AI and Cloud

Start creating powerful web applications with Puter.js in seconds!

Get Started Now

Read the Docs Try the Playground