Skip to content

Instantly share code, notes, and snippets.

@ilyar
Created September 26, 2026 14:46
Show Gist options
  • Select an option

  • Save ilyar/7a9abf211884cfe91f7a5c3eac1e08c8 to your computer and use it in GitHub Desktop.

Select an option

Save ilyar/7a9abf211884cfe91f7a5c3eac1e08c8 to your computer and use it in GitHub Desktop.
Setup model for Pi agent harness ~/.pi/agent/models.json for provider https://inference.dahl.global/
{
"providers": {
"dahl": {
"baseUrl": "https://inference.dahl.global/v1",
"api": "openai-completions",
"apiKey": "$DAHL_API_KEY_PI",
"models": [
{
"id": "MiniMaxAI/MiniMax-M2.7",
"name": "MiniMax M2.7 (Dahl)",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0.03,
"output": 0.03,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 180000,
"maxTokens": 32768
},
{
"id": "deepseek-ai/DeepSeek-V4-Flash-0731",
"name": "DeepSeek V4 Flash 0731 (Dahl)",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0.03,
"output": 0.03,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 400000,
"maxTokens": 32768
},
{
"id": "zai-org/GLM-5.3-Flash",
"name": "GLM 5.3 Flash (Dahl)",
"reasoning": true,
"input": ["text"],
"cost": {
"input": 0.03,
"output": 0.03,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 400000,
"maxTokens": 32768
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment