Skip to content

Instantly share code, notes, and snippets.

@aliou
Created May 23, 2026 14:03
Show Gist options
  • Select an option

  • Save aliou/9c0f7801639efd1d4a94549318e04ddd to your computer and use it in GitHub Desktop.

Select an option

Save aliou/9c0f7801639efd1d4a94549318e04ddd to your computer and use it in GitHub Desktop.
Custom providers in Pi: Synthetic models.json
{
"providers": {
"synthetic": {
"baseUrl": "https://api.synthetic.new/openai/v1",
"apiKey": "SYNTHETIC_API_KEY",
"api": "openai-completions",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": true
},
"models": [
{
"id": "hf:zai-org/GLM-5",
"reasoning": true,
"thinkingLevelMap": {
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "high"
},
"maxTokens": 65536
},
{
"id": "hf:moonshotai/Kimi-K2.5",
"reasoning": true,
"thinkingLevelMap": {
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "high"
},
"input": ["text", "image"],
"maxTokens": 65536
},
// [!code fold:start] other Synthetic models
{
"id": "hf:nvidia/Kimi-K2.5-NVFP4",
"reasoning": true,
"input": ["text", "image"],
"maxTokens": 65536
},
{
"id": "hf:MiniMaxAI/MiniMax-M2.5",
"reasoning": true,
"maxTokens": 65536
},
{
"id": "hf:zai-org/GLM-4.7-Flash",
"reasoning": true,
"maxTokens": 65536
},
{
"id": "hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
"reasoning": true,
"maxTokens": 65536
},
{
"id": "hf:zai-org/GLM-4.7",
"reasoning": true,
"maxTokens": 65536
}
// [!code fold:end]
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment