Asha AI API

Asha, in your product.

Evidence-grounded medical answers over one HTTPS call, with the sources attached to every response. Built for teams building healthcare AI. Keys from this page reach Asha only.

Read the docs
  • Sources and citations on every answer
  • OpenAI-compatible, A2A v1.0, one-file CLI, MCP server
  • Asha-only scope, PHI redacted before storage, de-identified input until PHI mode opens

Get an API key

250 queries a month, 50 a day (20 RPM). No card. Paid plans open when our API terms are final.

Build

Call Asha the way you already work

An HTTPS call, the OpenAI SDK you already use, a one-file CLI, or a tool inside your coding agent.

One POST. The answer comes back with its sources. Create a key above and it fills in here.

curl · POST /a2a/v1/message:send
curl -X POST https://api.askasha.org/a2a/v1/message:send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "asha",
    "message": {
      "role": "user",
      "parts": [{"text": "Which antihypertensives are safe in pregnancy?"}]
    },
    "metadata": {"audience": "clinician", "session_id": "visit-2041"}
  }'

Already on OpenAI SDKs, LangChain, LiteLLM, or Vercel AI? Change base_url and the key: Drop-in with OpenAI SDKs. Terminal: Command line. Every field: Send a message and Stream a response.

White-label itYour product's name, the reader, the length, emoji or none. Safety rules and citations stay on.
Customize
OpenAI SDK, SDK source and cookbookUse the openai package on /v1/chat/completions or /v1/responses with base_url https://api.askasha.org/v1 and your API key. The askasha SDK and cookbook run from GitHub source; the packages are not on PyPI or npm yet.
SDKs

Reference: /v1 endpoints and models · the asha object · cookbook · github.com/DNAiOS/asha · llms.txt · llms-full.txt · OpenAPI 3.1

Use cases

What teams build with Asha

One API, tuned per request for the person reading the answer. Every example copies as a ready request body.

Patient apps and portals

Plain-language answers with sources inside your app or patient portal.

What does an A1c of 7.8 mean, and what should I ask my doctor?
audience: patient
Settings reference

Caregiver support

Practical guidance for family members caring for someone at home.

My mother has dementia and has stopped eating much. What should I watch for?
audience: caregiver
Settings reference

Telehealth intake and visit prep

Short, focused answers that help patients arrive ready for the visit.

Help me prepare questions for my follow-up after a knee replacement.
audience: patientverbosity: brief
Settings reference

Clinician decision support

Peer-level answers with citations for physicians at the point of care.

First-line outpatient treatment for community-acquired pneumonia in an adult with no comorbidities?
audience: physicianverbosity: detailed
Settings reference

Pharmacy and medication questions

Interactions, dosing context, and label facts drawn from DailyMed and FDA labels.

Does ibuprofen interact with lisinopril?
audience: pharmacist
Settings reference

Nurse lines and triage support

Clinical answers for nurses. Emergency routing stays on under every setting.

Caller reports chest pain spreading to the left arm. What are the next steps?
audience: nurse
Settings reference
Benchmarks

Measured against the best

Every run is reproducible from the live benchmark register at dnai.systems/benchmarks and GET /api/benchmarks.

Clinical AI Systems

Vishwanath et al. 500-Item 3-Judge Panel (Nature Medicine 2026 rubric)

n = 500
Asha Apex-J63.8%
Frozen 20 Sep 2026; +8.9 points over bare GPT-6 Astra (paired t-test p = 1.0e-18)
OpenEvidence62.6%
Published clinical reference system
UpToDate Expert AI61.3%
Published clinical decision support
GPT-6 Astra (Bare)54.9%
Unassisted frontier baseline

Frozen Apex-J, the served Apex tier, under the study's own three-judge panel: +8.9 points over bare GPT-6 Astra on the same 500 answers (paired t-test p = 1.0e-18).

HealthBench Hard

1,000 High-Difficulty Clinical Cases (Official gpt-4.1 Grader)

n = 1,000
Asha Apex (June 2026 build)51.4%
Multi-expert ensemble, June 2026; re-graded with the reference rendering
Asha Apex-J (served)48.7%
Frozen 20 Sep 2026; 95% CI 46.9-50.5; +16.3 points over bare GPT-6 Astra
Asha Mid (June 2026 build)41.8%
Three-model merge (898 scored items)
Bare GPT-5.240.3%
Frontier baseline, May 2026 harness (798 scored items)
Bare GPT-6 Astra32.4%
Apex-J's composer model alone, same items
Asha Base (June 2026 build)29.9%
Single retrieval-grounded pass
Bare Gemini 3.1 Pro20.6%
Frontier baseline, May 2026 harness (800 scored items)

Official gpt-4.1 grader with OpenAI's reference rubric rendering. Frozen Apex-J 48.7% (95% CI 46.9-50.5) vs 32.4% for bare GPT-6 Astra on the same items (+16.3 points, p = 3.8e-64). June tiers re-graded the same way; May bare models graded that way when run.

Delusion and Harm Scenarios

psychosis-bench (Au Yeung et al. 2025), 16 scenarios x 12 turns, May 2026

n = 96
Asha (deployed engine)95.8%
92 of 96 intervention-eligible turns; gemini-2.5-flash backbone
Bare Gemini 3.6 Flash93.8%
A current bare model, run by the external validator, September 2026
Bare GLM-5.280.2%
Open weights, same harness
Bare gemini-2.5-flash30.2%
The same May 2026 backbone without Asha

Same model, with and without Asha (May 2026 model, gemini-2.5-flash). Today's frontier models alone also intervene safely (Claude Sonnet 4.5 100%, Gemini 3.6 Flash 93.8%), so the gap is what Asha added to a model below that ceiling. Judge agreement fell below the pre-registered gate, so the formal verdict is inconclusive. Signed register, updated 2026-11-05.

How the healthcare APIs compare

FeatureAsha APIFrontier APIs
Built forMedical Q&A with sourcesGeneral purpose
Free tier250 queries / mo$0 to $5 credit
PriceFree key; paid plans open when our API terms are final$1.50 to $75 / 1M tokens
Cited medical literatureSources on every answer, PMID-checkedBuild it yourself
Corpus you can checkPublic commitment, 20 collectionsNone
Public developer APIREST, OpenAI-compatibleVendor SDKs
Agent toolingMCP, A2A, CLIVendor tools

Asha API

Built for
Medical Q&A with sources
Free tier
250 queries / mo
Price
Free key; paid plans open when our API terms are final
Cited medical literature
Sources on every answer, PMID-checked
Corpus you can check
Public commitment, 20 collections
Public developer API
REST, OpenAI-compatible
Agent tooling
MCP, A2A, CLI

Frontier APIs

Built for
General purpose
Free tier
$0 to $5 credit
Price
$1.50 to $75 / 1M tokens
Cited medical literature
Build it yourself
Corpus you can check
None
Public developer API
Vendor SDKs
Agent tooling
Vendor tools

Full comparison and methodology: Benchmarks and comparisons.

Pricing

Start free.

The free key gives you 250 queries a month on the same evidence-grounded Asha engine. Paid plans open when our API terms are final. Need more than the free tier today? Write to us at hello@dnai.systems.

Free Sandbox

$0
  • 250 queries / month
  • 50 queries / day (20 RPM)
  • Up to 2,000 in + 2,000 out tokens / query (8K chars)
  • No spend cap
  • Depth: base

Limits, rate windows, and error codes: Pricing, limits, and errors. BAA: read, accept, and check it from the API or asha baa accept, see BAA, self-serve.

Docs

Documentation

Every detail as a table. Every page copies as Markdown, for you or for your agent.