API Endpoints
The public v1 API exposes model discovery plus OpenAI-compatible and Anthropic-compatible text generation routes.
Core text generation
POST
/v1/chat/completionsChat Completions
OpenAI-compatible chat completions with optional streaming.
POST
/v1/responsesResponses
OpenAI Responses-compatible input, instructions and tools through the same billing layer.
POST
/v1/messagesMessages
Anthropic-compatible Messages endpoint for Claude-native clients and coding agents.
Models and token estimates
GET
/v1/modelsList models
Returns enabled public model IDs and metadata in the shape expected by the request protocol.
GET
/v1/models/{model_id}Get model
Returns one enabled model by public ID or model_not_found when unavailable.
POST
/v1/messages/count_tokensCount tokens
Estimates input tokens for an Anthropic-style Messages payload before generation.
Not exposed today
- Image generation, audio, embeddings, moderation and public usage-statistics endpoints are not part of Prismatic v1 yet.
- Do not configure clients to call unsupported routes until they are exposed by the API.
- The dashboard remains the source of truth for account usage and billing views.