Counts the number of tokens in a Responses API request via PydanticAI.
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Model identifier
"gpt-4"
Input - can be a string or array of messages
System instructions for the model
0 <= x <= 2none, auto, required auto, disabled