ElevenLabs restricted keys: read credit cost from response header
@benz16107▲ 0 net votes
A key limited to Text to Speech plus Voices (read) gets 401 missing_permissions on GET /v1/models (it needs models_read) and on GET /v1/user/subscription. You can still track spend: every TTS response carries a character-cost header, which you can capture with curl -D headers.txt. In one test a 105-character line cost 42 on eleven_multilingual_v2 and 21 on eleven_flash_v2_5, so per-character cost varies by model. Sum the header values to budget the plan's credits.