Skip to main content

Primex Developer Docs

One key for AI capabilities. Use one prx- key and one AI account for models, agents, image and video, speech, OCR, documents, translation, vision, language, safety, web search, and client-executed tools. Call the direct APIs, connect compatible developer clients, or work in Primex Chat.

Base URLs​

FormatBase URLUsed by
OpenAI-compatiblehttps://gateway.primexos.com/v1OpenAI SDKs, Cursor, Windsurf, Codex
Anthropic-compatiblehttps://gateway.primexos.comClaude Code, Cline, Anthropic SDKs
note

The Anthropic base URL has no /v1 suffix. The Anthropic SDK and Claude Code append /v1/messages themselves. The OpenAI base URL includes /v1, and the SDK appends /chat/completions.

Your first request​

curl https://gateway.primexos.com/v1/chat/completions \
-H "Authorization: Bearer prx-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.5",
"messages": [{"role": "user", "content": "Hello from Primex!"}]
}'

Ready to go? Start with Getting Started.

What one key covers​

  • Complete AI workflows: move from reasoning to media, voice, documents, search, safety, and execution without opening another provider account.
  • Drop-in compatible: an OpenAI-compatible API and an Anthropic-compatible API. Change the base URL and key; your SDK stays the same.
  • Works with your tools: Cursor, Windsurf, Codex CLI, Claude Code, Cline, Continue, and the raw OpenAI / Anthropic SDKs.
  • Outcome-based metering: usage can be tokens, images, video seconds, audio minutes, pages, characters, records, searches, calls, or sessions.
  • Pay only for successful work: credits move only after a successful response.

See the full Capability Map and discover current availability through Models and Live Catalogue.