Overview
Prismatic API gives your account one API surface for OpenAI-compatible chat, OpenAI Responses, Anthropic-compatible Messages, model discovery, subscription quota and PAYG fallback.
Base URL
https://api.prismaticapi.com/v1Base URL
All public v1 requests use the same public domain. OpenAI-compatible clients point to https://api.prismaticapi.com/v1; Anthropic-compatible SDKs usually point to https://api.prismaticapi.com and append /v1/messages themselves.
What you can do
- Send OpenAI-style chat requests through
POST /v1/chat/completions. - Send OpenAI Responses requests through
POST /v1/responses. - Send Anthropic-style requests through
POST /v1/messages. - Estimate Anthropic-style input tokens through
POST /v1/messages/count_tokens. - Inspect public model IDs through
GET /v1/modelsandGET /v1/models/{model_id}. - Use subscription quota first, then PAYG wallet fallback when it is enabled and funded.
Why teams use it
- One API key across OpenAI-compatible and Anthropic-compatible request formats.
- Public model IDs stay stable even when internal routing changes.
- Subscription quota and PAYG checks run before generation starts.
- Streaming works across the supported text endpoints.
- Model discovery lets apps render available models dynamically.
Quick start
- Create an API key
Open the dashboard, go to
API Keys, create a key and store it asPRISMATIC_API_KEYon your server. - Choose a model
Call
GET /v1/modelsor use the public catalog. Store only the Prismatic public model ID. - Send your first request
Use
Chat Completions,ResponsesorMessagesdepending on the SDK or agent you integrate.
Bash
curl https://api.prismaticapi.com/v1/chat/completions \
-H "Authorization: Bearer $PRISMATIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [
{ "role": "user", "content": "Write a one-line launch announcement." }
],
"max_tokens": 120
}'