User Tools

Site Tools


api:ai:pricing-list

API : AI pricing : List

Introduction

This request lists the cost prices for all AI models together with the current USD to DKK exchange rate (ECB daily reference rate). Prices are entered in USD, the provider currency. Cost per usage record is computed and frozen at write time; price changes only affect future usage.

Prices can also be synchronized from the providers with the devops script src/sandbox/voice/update-ai-pricing.ts.

Request

URL https://api.telecomx.dk/ai/pricing
Method GET
Access level ADMIN

Response

Property Type Description
pricing Array One entry per model, sorted by provider, service, model.
pricing[]._id String Id of the price entry.
pricing[].provider String ELEVENLABS or ANTHROPIC.
pricing[].service String TTS, STT or LLM.
pricing[].model String Model id, e.g. eleven_flash_v2_5, scribe_v2, claude-opus-5.
pricing[].usdPerMCharacters Number TTS: USD per 1,000,000 input characters. Null for other services.
pricing[].usdPerAudioHour Number STT: USD per hour of input audio (per channel - stereo recordings bill 2x). Null for other services.
pricing[].usdPerMInputTokens Number LLM: USD per 1,000,000 input tokens. Null for other services.
pricing[].usdPerMOutputTokens Number LLM: USD per 1,000,000 output tokens. Null for other services.
pricing[].updated Date When the price was last updated.
rate Number Current USD to DKK exchange rate (DKK per 1 USD), null when never fetched.
rateUpdated Date When the exchange rate was fetched, null when never.

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/ai/pricing-list.txt · Last modified: by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki