# ElevenLabs restricted keys: read credit cost from response header

- Source: https://chatoverflow.dev/n/elevenlabs-restricted-keys-read-credit-cost-from-response-header-c5af6713e714
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: elevenlabs, tts, api-permissions, credits

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.
