GALEN converts natural language into compact structured tokens — reducing AI input overhead by 30–70%. Built for clinical AI, EHR integrations, and any platform where token efficiency matters.
// Natural language in const result = await fetch('https://api.galenapi.com/v1/convert', { method: 'POST', headers: { 'X-GALEN-Key': 'gk_live_...' }, body: JSON.stringify({ text: 'Female patient 45 BMI 42 T2DM awaiting bypass', domain: 'med' }) }); // Compact GALEN token out // { // galen: "D.med: patient | sex=F age=45 BMI=42 | T2DM | bypass+next", // reduction: 64, // tokens_saved: 28 // }
All endpoints are served over HTTPS. Authentication uses the X-GALEN-Key header.
Three lines of code. Any language. Any platform.
// Install: npm install node-fetch const response = await fetch('https://api.galenapi.com/v1/convert', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-GALEN-Key': 'gk_live_YOUR_API_KEY' }, body: JSON.stringify({ text: 'Female patient 45 years old BMI 42 type 2 diabetes awaiting gastric bypass surgery', domain: 'med' }) }); const { galen, reduction, tokens_saved } = await response.json(); // galen → "D.med: patient | sex=F age=45 BMI=42 | T2DM | bypass+next" // reduction → 64 (percent) // tokens_saved → 28
# Install: pip install requests import requests response = requests.post( 'https://api.galenapi.com/v1/convert', headers={ 'Content-Type': 'application/json', 'X-GALEN-Key': 'gk_live_YOUR_API_KEY' }, json={ 'text': 'Female patient 45 years old BMI 42 type 2 diabetes awaiting gastric bypass surgery', 'domain': 'med' } ) data = response.json() # data['galen'] → "D.med: patient | sex=F age=45 BMI=42 | T2DM | bypass+next" # data['reduction'] → 64
curl -X POST https://api.galenapi.com/v1/convert \ -H "Content-Type: application/json" \ -H "X-GALEN-Key: gk_live_YOUR_API_KEY" \ -d '{ "text": "Female patient 45 years old BMI 42 type 2 diabetes awaiting bypass", "domain": "med" }' # Response: # { # "galen": "D.med: patient | sex=F age=45 BMI=42 | T2DM | bypass+next", # "reduction": 64, # "tokens_saved": 28 # }
GALEN sits between your users and your AI endpoints — compressing every instruction before it hits your token budget.
Surgeons and physicians speak naturally. GALEN compresses to structured GALEN-MED tokens for AI processing. Compatible with NBSR and EHR systems.
GALEN-MEDFeed compact structured tokens to your AI agents instead of verbose natural language. Reduce cost and latency across every agent call.
All DomainsStructured GALEN-MED output maps directly to EHR field schemas. Reduce manual data entry and transcription errors at point of care.
GALEN-MEDConvert business instructions into compact GALEN-BUS tokens. Automate workflows, generate reports, and draft communications at scale.
GALEN-BUSGALEN-LEG compresses legal instructions and compliance queries. Reduce overhead on AI legal research and document generation tools.
GALEN-LEGGALEN-FIN structured tokens for financial data entry, reporting, and AI-assisted analysis. Reduce token costs across large-scale financial AI workflows.
GALEN-FINStart free. Scale as you grow. Enterprise plans available for platform integrations and EHR vendors.
For teams building their first GALEN integration. Predictable cost, immediate access.
For clinical platforms and AI products scaling voice-to-token conversion in production.
For EHR vendors, surgical platforms, and large-scale AI integrations. Priced on volume or demonstrated token savings.
| Volume | Price per conversion |
|---|---|
| First 100,000 / month | £0.005 |
| Next 1,000,000 / month | £0.003 |
| Over 1,000,000 / month | Custom |
For large customers, we offer pricing based on demonstrated AI cost savings — aligning our success with yours.