Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.meshrouter.app/llms.txt

Use this file to discover all available pages before exploring further.

Use token preflight to estimate prompt size before a paid call.
curl https://api.meshrouter.app/v1/tokens/count \
  -H "Authorization: Bearer mesh_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "model": "auto", "input": [{ "role": "user", "content": "Count this." }] }'
The response returns total_tokens and the selected routed model.