Pricing at a glance
A request that asks for AI costs 3 credits even when the dataset ends up answering. Lookups that fail and were not billed by our provider are free. See Credits and billing.
Turn AI on for a lookup
Setoptions.ai_mode to always on any gender endpoint.
Every AI option
forceToGenderize cannot be combined with ai_mode off or always. That combination returns 400 invalid_input and costs nothing.
Nicknames
By default a nickname such asprenses returns unknown, because it is not a real first name. forceToGenderize asks AI to read the meaning of the nickname itself.
In a batch
Each item chooses its own settings, and each is priced separately. This batch costs 1 + 3 + 3 = 7 credits:ai_mode: "off". Set options.ai_mode to fallback on an item to let AI fill gaps for 1 credit, as single lookups do. The whole batch must be covered by your balance before it runs.
Reading an AI result
AI results use the same response shape. Checksource and confidence_kind to tell them apart:
A model-reported confidence is not a measured frequency. Treat AI answers as lower certainty than dataset answers with the same number. When AI cannot decide, the result is
unknown with reason: "insufficient_evidence".
When to use AI
Good fit
Rare or international names, nicknames, emails without a clear name, and lists where fewer
unknown results matter more than cost.Keep it off
Large lists of ordinary first names, where the dataset already answers, and workflows where every answer must be traceable to real-world counts.
Errors specific to AI
You can try every option, with its price shown before you run it, in the Sandbox.