Build with the PromptOcean API

REST API, TypeScript SDK, webhooks, and 14 model providers — behind one auth token.

demo.ts
import { PromptOcean } from "@promptocean/sdk";

const po = new PromptOcean({ apiKey: process.env.PO_KEY });

// Run any prompt across any model
const result = await po.prompts.run({
  id: "prompt_seo_writer_v3",
  model: "claude-3.5-sonnet",
  variables: {
    topic: "ai workflows",
    tone: "confident",
  },
});

console.log(result.output);
// → "Stop juggling 12 tools..."
REST + SDK

Native SDKs for TypeScript, Python, Go. Or hit our REST API directly.

Webhooks

Subscribe to prompt runs, sales, agent events. Sign-verified deliveries.

OAuth & API Keys

Scoped keys, OAuth 2.0 for apps acting on behalf of users.

Full Docs

Interactive playground, copy-paste recipes, complete API reference.

Open Source

Our SDKs and reference apps are MIT licensed on GitHub.

API Pricing

Pay only for what you use. Volume discounts at 1M+ requests/month.

Free Tier
1,000
requests / month
Growth
$0.002
per request
Enterprise
Custom
volume contracts