Writer: Palmyra X5 API

Access Writer: Palmyra X5 from Writer using Puter.js AI API.

Get Started

Model Card

Palmyra X5 is Writer's most advanced enterprise AI model featuring a 1 million token context window, adaptive reasoning capabilities, and industry-leading cost efficiency at $0.60 per million input tokens. It's purpose-built for building and scaling AI agents with sub-second tool-calling and can process approximately 1,500 pages of content at once.

Context Window

N/A

tokens

Max Output

8,192

tokens

Input Cost

$0.6

per million tokens

Output Cost

$6

per million tokens

API Usage Example

Add Writer: Palmyra X5 to your app with just a few lines of code.
No API keys, no backend, no configuration required.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "writer/palmyra-x5"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add Writer: Palmyra X5 to your app without worrying about API keys or setup.

Read the Docs View Tutorials