Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Sapiens AI

Sapiens AI: Agnes 1.5 Flash

sapiens-ai/agnes-1.5-flash

Access Agnes 1.5 Flash from Sapiens AI using Puter.js AI API.

Get Started
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "sapiens-ai/agnes-1.5-flash"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "sapiens-ai/agnes-1.5-flash"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.puter.com/puterai/openai/v1/",
    api_key="YOUR_PUTER_AUTH_TOKEN",
)

response = client.chat.completions.create(
    model="sapiens-ai/agnes-1.5-flash",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms"}
    ],
)

print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
  -d '{
    "model": "sapiens-ai/agnes-1.5-flash",
    "messages": [
      {"role": "user", "content": "Explain quantum computing in simple terms"}
    ]
  }'

Model Card

Agnes 1.5 Flash is a chat model from Sapiens AI, the Singapore-based lab behind the Agnes AI platform. It sits below Agnes 1.5 Pro in the same 1.5 series.

It shares Agnes 1.5 Pro's 256K token context window but caps output at roughly 65K tokens, versus Pro's 256K. Pricing is $0.07 per million input tokens and $0.15 per million output tokens, well below Pro's $0.16 and $0.80.

Sapiens AI has said the Agnes 1.5 series, evaluated on the PinchBench benchmark, performed competitively against models including Gemini 3.1 Pro, Qwen3.5, and Claude 4.5 Sonnet, though the task-by-task scores it published were specifically for the Pro variant. Agnes 1.5 Flash is aimed at high-volume, latency-sensitive chat and production workloads where per-token cost and response speed matter more than a large output budget.

Context Window 256K

tokens

Max Output 66K

tokens

Input Cost $0.07

per million tokens

Output Cost $0.15

per million tokens

Release Date N/A

 

Model Playground

Try Agnes 1.5 Flash instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat sapiens-ai/agnes-1.5-flash
Sapiens AI
Chat with Agnes 1.5 Flash
Powered by Puter.js

More AI Models From Sapiens AI

Find other Sapiens AI models

Chat

Agnes 1.5 Pro

Agnes 1.5 Pro is a flagship chat model from Sapiens AI, positioned for demanding analysis, coding, and production agent workflows. It offers a 256K token context window and can generate up to 256K output tokens, several times the output ceiling of the smaller Agnes 1.5 Flash. Sapiens AI has reported PinchBench scores of 100% on writing tasks, 91% on comprehension, 89% on complex tasks, and 85% on synthesis tasks, and says the Agnes 1.5 series outperformed Gemini 3.1 Pro, Qwen3.5, and Claude 4.5 Sonnet across those dimensions. Pricing is $0.16 per million input tokens and $0.80 per million output tokens. Agnes 1.5 Pro fits workloads that need long-form reasoning or large output budgets, where the higher per-token cost is offset by needing fewer follow-up calls.

Chat

Agnes 2.0 Flash

Agnes 2.0 Flash is a chat model from Sapiens AI, built for high-frequency production use such as agent workflows, tool calling, coding, multi-turn conversations, reasoning, and image understanding. Sapiens AI reports a Pass^3 score of 60.9% on Claw-Eval, a benchmark for autonomous agents, placing Agnes 2.0 Flash among the top 10 models on the benchmark's general leaderboard alongside labs including Anthropic, OpenAI, and Google. The model supports tool calling, streaming responses, image URL inputs, and a thinking mode for harder requests. Agnes 2.0 Flash is offered at no cost for both input and output tokens, part of Sapiens AI's push to keep its models free indefinitely with no waitlist. That makes it worth trying for agentic or tool-using applications that need to run frequent API calls without per-token charges, though its 65.5K token output cap is smaller than Agnes 1.5 Pro's.

Frequently Asked Questions

How do I use Agnes 1.5 Flash?

You can access Agnes 1.5 Flash by Sapiens AI through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is Agnes 1.5 Flash free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Agnes 1.5 Flash to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Agnes 1.5 Flash?
Agnes 1.5 Flash costs $0.07 per 1M input tokens and $0.15 per 1M output tokens.
Price per 1M tokens
Input$0.07
Output$0.15
What is the context window of Agnes 1.5 Flash?

Agnes 1.5 Flash supports a context window of 256K tokens. For reference, that is roughly equivalent to 512 pages of text.

What is the max output length of Agnes 1.5 Flash?

Agnes 1.5 Flash can generate up to 66K tokens in a single response.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Agnes 1.5 Flash API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add Agnes 1.5 Flash to your app without worrying about API keys or setup.

Read the Docs View Tutorials