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.

POST /v1/tokens/count
{
  "model": "auto",
  "input": [{ "role": "user", "content": "Count this before routing." }]
}
{
  "object": "token_count",
  "model": "mesh/claude-sonnet-4.5",
  "total_tokens": 9
}