Overview
Documentation for the Ultramarine API and the Paper Instruments libraries.
Ultramarine API
Call Ultramarine with the OpenAI or Anthropic SDKs. We charge token usage against your prepaid balance.
Quickstart
Create a key and send a first request.
Prompt Tuning
Retune your prompts for Ultramarine.
Authentication
API keys and revocation.
Chat completions
Reasoning, tools, and streaming.
Responses
Stored conversations, tools, and limits.
Messages
Anthropic SDK, Claude Agent SDK, and Claude Code.
Errors
Status codes and when to retry.
Billing
Token prices and prepaid billing.
Console
Keys, funds, and usage.
Packages
Forks of python-docx, python-pptx, and openpyxl with the same import names. An edit either completes or raises a typed error and leaves the file unchanged.
paper-docx
Word: search text, track revisions, manage comments, combine documents.
paper-pptx
PowerPoint: inspect formatting, update slides, combine and compare decks.
paper-xlsx
Excel: update formulas and references, inspect changes.
Rubric
Grade model output against weighted criteria with an LLM judge.
