What is metered
Both write to the same
ai_token meter for the billing period.
Pricing
Each model has its own input and output rate ($ / 1M tokens).- Catalog rate is charged as-is.
- When a model is discounted versus its published list price, the customer rate is 5% below the catalog rate.
- List models and rates with
GET /api/v1/comms/ai/models.
API
- Mint a key with the AI scope (
comms_ai) on API keys. - Call chat completions.
- Read AI usage for this period’s token meter.
Compatibility
The completions endpoint is OpenAI-shaped:messages[]withrole+contentmodel,temperature,max_tokens- response
choices[0].message.contentandusage
baseURL at https://osis.co/api/v1/comms and set apiKey to your Comms key. Streaming is not supported yet (stream: true returns 400).