GALEN converts natural language into compact structured tokens — reducing AI input overhead by 30–70% while improving consistency, speed and downstream AI accuracy. Built for platforms where every AI request matters.
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 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: 'Plan a 3-day itinerary for Tokyo on a budget', domain: 'travel' }) }); const { galen, reduction, tokens_saved } = await response.json(); // galen → "C.travel: itinerary Tokyo duration=3d budget=low >list" // reduction → 52 (percent) // tokens_saved → 6
# 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': 'Plan a 3-day itinerary for Tokyo on a budget', 'domain': 'travel' } ) data = response.json() # data['galen'] → "C.travel: itinerary Tokyo duration=3d budget=low >list" # data['reduction'] → 52
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": "Plan a 3-day itinerary for Tokyo on a budget", "domain": "travel" }' # Response: # { # "galen": "C.travel: itinerary Tokyo duration=3d budget=low >list", # "reduction": 52, # "tokens_saved": 6 # }
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 tokens for AI processing. Compatible with 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 DomainsConvert business instructions into compact tokens. Automate workflows, generate reports, and draft communications at scale.
GALEN-BUSCompress legal instructions and compliance queries. Reduce overhead on AI legal research and document generation tools.
GALEN-LEGStructured tokens for financial data entry, reporting, and AI-assisted analysis. Reduce token costs across large-scale workflows.
GALEN-FINTravel, education, technology, creative tasks. GALEN handles any natural language input and compresses it to a structured token.
UniversalStart simple. Scale as you grow. Enterprise plans available for platform integrations.
For early teams testing structured AI communication in production.
For products deploying GALEN across real user traffic and multiple AI workflows.
For AI vendors, healthcare platforms and enterprise systems requiring large-scale structured communication.
| Volume | Price per conversion |
|---|---|
| First 20,000 / month | £0.015 per conversion |
| 20,001–100,000 / month | £0.010 per conversion |
| 100,001–1,000,000 / month | £0.005 per conversion |
| Over 1,000,000 / month | Custom enterprise pricing |
Enterprise customers are priced primarily on the value GALEN creates: lower AI cost, faster responses and more reliable downstream outputs.
Example: if GALEN reduces an AI platform's monthly token spend from £50,000 to £20,000, while improving response consistency and latency, GALEN may charge £2,000–5,000/month — leaving the customer with the majority of the value created.
Email us to request your API key. Or try the live demo first — no login required.