Interactive Sandbox
Try Pharmako API in Your Browser
Test ASIC-powered healthcare AI with live examples. No signup required. All sandbox requests run on Groq LPU with synthetic data.
Live ASIC cluster
Synthetic FHIR data
Full API access
Example Requests
Getting Started
1. Choose an example
Select from clinical AI, FHIR, or Prolog examples
2. Run the request
Click "Run" to execute on live ASIC cluster
3. Inspect response
See latency, ASIC used, and full JSON response
Ready for production?
Get API KeyRequest
curl https://api.pharmako.dev/v1/ai/summarize \
-H "Authorization: Bearer pk_sandbox_demo123" \
-H "Content-Type: application/json" \
-d '{
"text": "Patient presents with fever (102.3°F), cough, and shortness of breath. Chest X-ray shows bilateral infiltrates. SpO2 92% on room air. History of diabetes mellitus type 2, currently on metformin 1000mg BID.",
"max_tokens": 200,
"model": "pharmako-70b-3.5bit"
}'Response
{
"id": "sum_8x2kd9f",
"object": "summary",
"created": 1701388800,
"model": "pharmako-70b-3.5bit",
"latency_ms": 0.8,
"summary": "Patient with fever, respiratory symptoms, and hypoxia. Imaging suggests pneumonia. Diabetic on metformin. Recommend: CBC, CMP, cultures, antibiotics, oxygen support.",
"tokens_used": 45,
"asic": "groq-lpu-1"
}Latency: 0.8ms
ASIC: groq-lpu-1
Verified: Ada/SPARK
Try with SDK
Python
import pharmako
client = pharmako.Client("pk_sandbox_demo123")
summary = client.ai.summarize(
text="Patient presents with fever...",
max_tokens=200
)
print(f"Summary: {summary.text}")
print(f"Latency: {summary.latency_ms}ms")Fortran 2023
use pharmako_sdk
character(len=1024) :: note, summary
integer :: status
call pharmako_init("pk_sandbox_demo123", status)
call pharmako_summarize_note(note, summary, 200, status)
print *, "Summary:", trim(summary)