Privateer API

Developer API pricing

One OpenAI-compatible API for chat, images, video, audio and 3D, billed pay-as-you-go to your Privateer account credit. No separate plan.

New here? The quickstart gets an existing OpenAI client talking to Privateer in a few lines.

curl https://api.privateer.pro/v1/chat/completions \
  -H "Authorization: Bearer sk-priv-…" \
  -d '{"model":"…","messages":[{"role":"user","content":"Hi"}]}'
  • Base URL https://api.privateer.pro/v1
  • Auth Bearer sk-priv-…
  • Billing pay-as-you-go

Billing

How billing works

Pay as you go

Every request draws from the same account credit as the app. No developer plan, no subscription. The rates on this page are what your account is charged.

Chat: per token

USD per 1 million tokens, with input and output billed separately.

Media: per output

Images, video, music, sound effects, voices and 3D are metered per unit of output, in whichever unit the model's provider meters.

Metering

What each endpoint is billed in

Units are quoted as the provider meters them. The actual numbers for every model are on the models page.

EndpointBilled per
POST /v1/chat/completionsInput and output token, priced separately
POST /v1/images/generationsGenerated image, megapixel, or output token, depending on the model
POST /v1/videosSecond of output, usually varying by resolution; a few models meter per video token
POST /v1/audio/speech1,000 characters of text submitted
POST /v1/audio/transcriptionsMinute of audio
POST /v1/audio/sfxGeneration, or second of the length you ask for
POST /v1/audio/musicTrack, or minute or second of the length you ask for, depending on the generator
POST /v1/models3dMesh, moving with the options you pick
POST /v1/sprites/generateThe models it runs (see sprite sheets below)
POST /v1/spritesFree: packs frames you already have, calls no model

Full metering details in the docs →

Rate card

Confidential compute

These models run inside a hardware enclave rather than on a normal inference host, and they reach /v1 through their own providers rather than through the shared catalogue, so they get a rate card of their own here. They are in the models catalogue too, tagged Confidential. See how confidential mode works for what the guarantee does and doesn’t cover.

NEAR AI

ModelInput / 1M tokensOutput / 1M tokens
Qwen 3.8 27B $0.06 $1.89
Qwen3-VL-30B-A3B-Instruct $0.21 $0.77
GLM 5.3 Flash $0.21 $0.70
Qwen 3.6 35B A3B FP8 $0.24 $1.54
Kimi K2.6 $1.13 $5.39
Kimi K3 $4.62 $23.10

Phala

ModelInput / 1M tokensOutput / 1M tokens
Qwen2.5 7B Instruct $0.14 $0.28
Gemma-4 26B-A4B Uncensored (Heretic) $0.21 $0.98
Qwen3.8 27B $0.28 $3.50
Qwen3.8 27B Uncensored (Aggressive) $0.42 $2.10
Qwen3.6 27B $0.45 $4.55
GLM 5.3 $1.96 $6.16

Tinfoil

ModelInput / 1M tokensOutput / 1M tokens
GPT-OSS 120B $0.21 $0.84
Gemma 4 31B $0.56 $1.40
DeepSeek V4.1 Flash $0.91 $2.03
Llama 3.3 70B $2.45 $3.85
GLM 5.3 $2.52 $8.05
Kimi K3 $5.60 $28.00

Confidential rates as of 2026-10-13 and may change with the underlying providers; the app always shows current per-model pricing before you spend.

Before you ship

Good to know

3D meshes. The spread across the catalogue is more than tenfold, and an option that is a surcharge on one model is free on another. So GET /v1/models3d returns the price for every model and every option, and a submit reports the estimate for your exact request before you commit to it. 3D docs →
Music. POST /v1/audio/music is the one thing we cannot route to a zero-retention endpoint: no provider we reach offers one, so unlike sound effects there is no other model to switch to and no gate in front of it. A music prompt should never be treated as private. Music docs →
Sprite sheets have no rate of their own; they cost the models they run.
  • POST /v1/sprites/generate bills one video generation per facing that isn't mirrored, at the video rate. Because left is right flipped, an eight-way set costs five generations rather than eight. The submit response says so: billed_facings sits alongside the animations you'll get back.
  • Past directions: "one" there is a second, much smaller charge: the picture you send is turned to face each billed direction by an image model first, one still per billed facing after the first (two for a four-way set, four for an eight-way), each at the image rate.
  • Each clip is reserved at submit and settled on completion; a failed one releases its hold. GET /v1/sprites/models reports both numbers per direction set (billed and billed_turn_stills).
  • POST /v1/sprites (packing frames you already hold into a sprite sheet) calls no model and is not billed at all, with no daily cap and no balance check, so re-packing at a different frame count, cell size or trim costs nothing.
Sprite docs →

Build

Ready to build?

Endpoints, parameters, streaming, limits and error codes are all in the API reference.