remagicaDocs home
API referencePricing

Get prices

GET
/pricing

The current price book: what one credit sells for and every rate in microcredits (1,000,000 to a credit) per unit, by tier. Rates may be fractional credits; a request sums its meters and rounds up once, to at least 1 credit. Needs no session.

Response Body

The current prices.

application/json
  1. response

The current prices.

creditPriceMicros*integer

What one credit sells for, in micro-USD (25000 = $0.025).

Range0 < value
rates*

By rate: a model id, llm:<provider>/<model> for a Copilot model, or service:<id>.

version*integer

The price book's version: it goes up each time prices are published.

Example Request
curl -X GET 'https://api.remagica.com/api/v1/pricing'
Example Response200
{  "creditPriceMicros": 1,  "rates": {},  "version": 3}