Journal article · 2026 · Open access
Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study
Journal of Medical Internet Research, 28, e97968 · Published 9 October 2026 · DOI 10.2196/97968
In brief
“Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study” is a 2026 journal article by Jonathan Cantor and 10 co-authors, published in Journal of Medical Internet Research. OpenAlex counts 1 citations as of 25 November 2026. It is open access under a CC BY licence: the full text is free to read at Journal of Medical Internet Research.
- Citations
- 1
- Most cited in
- 2026 (1)
- Field-weighted impact
- 3.68
- References
- 22
- Authors
- 11
Abstract
BACKGROUND: Generative artificial intelligence (GAI) chatbots are frequently used for mental health-related questions, including suicide-related queries. User interfaces (UIs) may include additional safety controls not present in direct application programming interface (API) access (eg, moderation rules that flag or block harmful content, crisis refusal templates, or system-level instructions). OBJECTIVE: This observational cross-sectional study aimed to examine how frequently AI chatbots provide direct responses to suicide-related prompts across access modes and whether response patterns differ between consumer-facing UI and API access across models and prompt risk levels. METHODS: We evaluated how five widely used consumer AI models (ChatGPT, Claude, Gemini, Grok, and Llama) responded to 30 previously vetted suicide-related prompts spanning five clinician-assigned risk levels. Each prompt was submitted 100 times through both public-facing UI and direct API access, yielding 30,000 total responses. The primary outcome was whether a response directly answered the prompt (ie, provided specific information or guidance related to the question asked). AI responses were categorized using a blinded large language model-based classifier (GPT-4o mini), validated against independent human coding (289/300, 96.3% agreement; Cohen κ=0.89). We estimated mixed-effects logistic regression models that predicted a direct response. The primary predictors were the AI model, access mode (UI vs API), and prompt risk category. RESULTS: Of the 30,000 responses, 69.8% (n=20,934) were direct. Direct responses were more common through APIs than UIs (n=11,609, 77.4%, vs n=9325, 62.2%); however, Gemini had slightly higher direct response rates via UIs than APIs (n=2301, 76.7%, vs n=2131, 71.0%). Differences in the likelihood of a direct response were most pronounced for higher-risk prompts: For very-high-risk prompts, 24.8% (n=743) of API responses were direct compared with 4.6% (n=138) of UI responses, whereas for high-risk prompts, 80.1% (n=2002) of API responses were direct compared with 48.4% (n=1209) of UI responses. Claude and Gemini had the highest direct response rates (n=4688, 78.1%, and n=4432, 73.9%, respectively) across UI and API access modes, whereas ChatGPT, Grok, and Llama had lower rates (n=3878, 64.6%; n=3870, 64.5%; and n=4066, 67.8%, respectively). In mixed-effects models, UI access was associated with lower odds of a direct response than API access (odds ratio 0.09, 95% CI 0.08-0.10). Higher prompt risk was associated with lower direct response probability, and access mode differences varied by risk level and model. CONCLUSIONS: AI safety depends on how users access the model. Safety observed in a UI should not be assumed to generalize to API access or apps built on APIs. Evaluations and policies should consider access modes to ensure safety protections for individuals interacting with AI chatbots.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Cantor, J., Huang, E., Zhang, L. A., Salas, A., Zhang, F., Burnett, A., Lohn, A. J., Pataranutaporn, P., Rader, B. M., Yu, H., & McBain, R. K. (2026). Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study. Journal of Medical Internet Research, 28, e97968. https://doi.org/10.2196/97968
MLA 9
Cantor, Jonathan, et al. “Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study.” Journal of Medical Internet Research, vol. 28, 2026, p. e97968. https://doi.org/10.2196/97968.
Chicago
Cantor, Jonathan, Ellice Huang, Li Ang Zhang, Adrián Salas, Fang Zhang, Angela Burnett, Andrew J. Lohn, et al. 2026. “Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study.” Journal of Medical Internet Research 28: e97968. https://doi.org/10.2196/97968.
Harvard
Cantor, J. et al. (2026) ‘Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study’, Journal of Medical Internet Research, 28, p. e97968. doi:10.2196/97968.
IEEE
J. Cantor et al., “Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study,” Journal of Medical Internet Research, vol. 28, p. e97968, 2026, doi: 10.2196/97968.
BibTeX
@article{cantor2026suicide,
title = {{Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study}},
author = {Cantor, Jonathan and Huang, Ellice and Zhang, Li Ang and Salas, Adrián and Zhang, Fang and Burnett, Angela and Lohn, Andrew J. and Pataranutaporn, Pat and Rader, Benjamin M. and Yu, Hao and McBain, Ryan K.},
journal = {Journal of Medical Internet Research},
year = {2026},
volume = {28},
pages = {e97968},
doi = {10.2196/97968},
url = {https://doi.org/10.2196/97968}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Social Sciences › Psychology › Clinical Psychology › Suicide and Self-Harm Studies
- suicide
- large language models
- AI chatbots
- application programming interfaces
- suicide risk assessment
- suicide prevention
- ChatGPT
- Gemini
Work with this paper
Most-cited papers in Psychology
- Diagnostic and Statistical Manual of Mental DisordersAndrés Santiago González Moreno · American Psychiatric Association Publishing eBooks · 2013 · 123,932 citations
- The theory of planned behaviorIcek Ajzen · Organizational Behavior and Human Decision Processes · 1991 · 106,482 citations
- Self-efficacy: Toward a unifying theory of behavioral change.Albert Bandura · Psychological Review · 1977 · 61,923 citations
- Self-determination theory and the facilitation of intrinsic motivation, social development, and well-being.Richard M. Ryan, Edward L. Deci · American Psychologist · 2000 · 55,457 citations
- Mind in Society: The Development of Higher Psychological ProcessesL. S. Vygotsky · 기초학문자료센터(KRM) (Korea Research Foundation) · 1978 · 53,340 citations
Questions about this paper
How do I cite this paper in APA style?
Cantor, J., Huang, E., Zhang, L. A., Salas, A., Zhang, F., Burnett, A., Lohn, A. J., Pataranutaporn, P., Rader, B. M., Yu, H., & McBain, R. K. (2026). Suicide-Related Responses From AI Chatbots Through Application Programming Interfaces and Consumer-Facing Apps: Observational Cross-Sectional Comparative Study. Journal of Medical Internet Research, 28, e97968. https://doi.org/10.2196/97968
How many times has this paper been cited?
1 times, according to OpenAlex on 25 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at Journal of Medical Internet Research: sign in and open the full text from this page.
Who wrote this paper?
Jonathan Cantor, Ellice Huang, Li Ang Zhang, Adrián Salas, Fang Zhang, Angela Burnett, Andrew J. Lohn, Pat Pataranutaporn, Benjamin M. Rader, Hao Yu, Ryan K. McBain.
What is the DOI of this paper?
10.2196/97968, permanently at https://doi.org/10.2196/97968. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 25 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.