Skip to content

Instantly share code, notes, and snippets.

@grikomsn
Created May 4, 2026 14:59
Show Gist options
  • Select an option

  • Save grikomsn/1f82683ee0ab29d6e8182a397f963f32 to your computer and use it in GitHub Desktop.

Select an option

Save grikomsn/1f82683ee0ab29d6e8182a397f963f32 to your computer and use it in GitHub Desktop.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"CrofAI": {
"name": "CrofAI",
"npm": "@ai-sdk/openai-compatible",
"options": {
"apiKey": "nahcrof_xxx",
"baseURL": "https://crof.ai/v1"
},
"models": {
"deepseek-v4-pro": {
"name": "DeepSeek: DeepSeek V4 Pro",
"reasoning": true,
"limit": {
"context": 1000000,
"output": 131072
},
"cost": {
"input": 0.4,
"output": 0.85,
"cache_read": 0.003
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"deepseek-v4-pro-precision": {
"name": "DeepSeek: DeepSeek V4 Pro (Precision)",
"reasoning": true,
"limit": {
"context": 1000000,
"output": 131072
},
"cost": {
"input": 1.25,
"output": 2.5,
"cache_read": 0.25
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"deepseek-v4-flash": {
"name": "DeepSeek: DeepSeek V4 Flash",
"reasoning": true,
"limit": {
"context": 1000000,
"output": 131072
},
"cost": {
"input": 0.12,
"output": 0.21,
"cache_read": 0.02
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"deepseek-v3.2": {
"name": "DeepSeek: DeepSeek V3.2",
"reasoning": true,
"limit": {
"context": 163840,
"output": 163840
},
"cost": {
"input": 0.28,
"output": 0.38,
"cache_read": 0.06
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"glm-5.1": {
"name": "Z.ai: GLM 5.1",
"reasoning": true,
"limit": {
"context": 202752,
"output": 202752
},
"cost": {
"input": 0.45,
"output": 2.1,
"cache_read": 0.09
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"glm-5.1-precision": {
"name": "Z.ai: GLM 5.1 (Precision)",
"reasoning": true,
"limit": {
"context": 202752,
"output": 202752
},
"cost": {
"input": 0.75,
"output": 2.9,
"cache_read": 0.15
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"greg": {
"name": "Experiment!: Greg",
"limit": {
"context": 200000,
"output": 200000
},
"cost": {
"input": 0.3,
"output": 0.3,
"cache_read": 0.06
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"kimi-k2.5": {
"name": "MoonshotAI: Kimi K2.5",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.35,
"output": 1.7,
"cache_read": 0.07
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"kimi-k2.5-lightning": {
"name": "MoonshotAI: Kimi K2.5 (Lightning)",
"reasoning": true,
"attachment": true,
"limit": {
"context": 131072,
"output": 32768
},
"cost": {
"input": 1,
"output": 3,
"cache_read": 0.2
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"kimi-k2.6": {
"name": "MoonshotAI: Kimi K2.6",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.5,
"output": 1.99,
"cache_read": 0.1
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"kimi-k2.6-precision": {
"name": "MoonshotAI: Kimi K2.6 (Precision)",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.55,
"output": 2.7,
"cache_read": 0.11
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"glm-5": {
"name": "Z.ai: GLM 5",
"reasoning": true,
"limit": {
"context": 202752,
"output": 202752
},
"cost": {
"input": 0.48,
"output": 1.9,
"cache_read": 0.1
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"glm-4.7": {
"name": "Z.AI: GLM 4.7",
"reasoning": true,
"limit": {
"context": 202752,
"output": 202752
},
"cost": {
"input": 0.25,
"output": 1.1,
"cache_read": 0.05
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"glm-4.7-flash": {
"name": "Z.AI: GLM 4.7 Flash",
"reasoning": true,
"limit": {
"context": 202752,
"output": 131072
},
"cost": {
"input": 0,
"output": 0,
"cache_read": 0
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"gemma-4-31b-it": {
"name": "Google: Gemma 4 31B",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.1,
"output": 0.3,
"cache_read": 0.02
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"minimax-m2.5": {
"name": "MiniMax: MiniMax M2.5",
"limit": {
"context": 204800,
"output": 131072
},
"cost": {
"input": 0.11,
"output": 0.95,
"cache_read": 0.02
},
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"qwen3.6-27b": {
"name": "Qwen: Qwen3.6 27B",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.2,
"output": 1.5,
"cache_read": 0.04
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"qwen3.5-397b-a17b": {
"name": "Qwen: Qwen3.5 397B A17B",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.35,
"output": 1.75,
"cache_read": 0.07
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"qwen3.5-9b": {
"name": "Qwen: Qwen3.5 9B",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0,
"output": 0,
"cache_read": 0
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
},
"qwen3.5-9b-chat": {
"name": "Qwen: Qwen3.5 9B (Chat)",
"reasoning": true,
"attachment": true,
"limit": {
"context": 262144,
"output": 262144
},
"cost": {
"input": 0.04,
"output": 0.15,
"cache_read": 0.008
},
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
}
}
},
"LM Studio": {
"name": "LM Studio",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://0.0.0.0:1234/v1"
},
"models": {
"qwen3.6-27b": {
"name": "qwen3.6-27b",
"reasoning": true,
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment