Unverified50% confidenceDecision RuleExact time
The OpenAI API's logit_bias parameter does not accept the word itself as a key but requires token ID strings, which must be obtained by encoding with the tokenizer matching the model (such as the tiktoken library).
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/19/2026
First Seen
Valid until: 1/17/2027
Sources
Related Entities
Related Claims
UnverifiedModel APIs such as OpenAI's and Anthropic's accept only a subset of JSON Schema keywords, and the remaining constraints are either ignored or downgraded to natural language descriptions.73% similarUnverifiedThe usage block in OpenAI-compatible API responses is an optional field, not a mandatory contract for all compatible implementations; when it is missing, clients can only estimate heuristically from character counts (e.g., prompt_chars / 4), a ratio that roughly holds for English but deviates significantly for code, JSON, and Chinese.68% similarUnverifiedThe APIs of vendors such as Anthropic and OpenAI have strict pairing requirements for message sequences: every tool_use returned by the model in the previous turn must have a corresponding tool_result in the next message, and a missing or out-of-order one will cause the entire request to be rejected.65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1067603API
curl https://kongchang.com/api/v1/knowledge/claims/1067603MCP
get_claim(id=1067603)