| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- {
- "$schema": "https://opencode.ai/config.json",
- "provider": {
- "qwen-local": {
- "npm": "@ai-sdk/openai-compatible",
- "name": "Qwen Local (192.168.1.38)",
- "options": {
- "baseURL": "http://192.168.1.38:8284/v1"
- },
- "models": {
- "qwen3.8": {
- "name": "Qwen 3.8",
- "limit": {
- "context": 128000,
- "output": 8192
- },
- "cost": {
- "input": 2,
- "output": 6,
- "cache_read": 0.25,
- "cache_write": 0.25
- }
- }
- }
- },
- "qwen-flash-next-strata": {
- "npm": "@ai-sdk/openai-compatible",
- "name": "Qwen Strata (192.168.1.38:8088)",
- "options": {
- "baseURL": "http://192.168.1.38:8088/v1"
- },
- "models": {
- "qwen3.8-flash-next-Q2_0": {
- "name": "Qwen3.8-fn-Q2_0",
- "limit": {
- "context": 128000,
- "output": 32000
- },
- "cost": {
- "input": 0,
- "output": 0,
- "cache_read": 0,
- "cache_write": 0
- }
- },
- "qwen3.8-flash-next-IQ2_XS": {
- "name": "Qwen3.8-fn-IQ2_XS",
- "limit": {
- "context": 128000,
- "output": 32000
- },
- "cost": {
- "input": 0,
- "output": 0,
- "cache_read": 0,
- "cache_write": 0
- }
- },
- "qwen3.8-flash-next-IQ3_XXS": {
- "name": "Qwen3.8-fn-IQ3_XXS",
- "limit": {
- "context": 131072,
- "output": 22000
- },
- "cost": {
- "input": 0,
- "output": 0,
- "cache_read": 0,
- "cache_write": 0
- }
- }
- }
- },
- "deepseek": {
- "npm": "@ai-sdk/openai-compatible",
- "name": "DeepSeek",
- "options": {
- "baseURL": "https://api.deepseek.com",
- "apiKey": "{env:DEEPSEEK_API_KEY}"
- },
- "models": {
- "deepseek-flash": {
- "name": "DeepSeek Flash",
- "limit": {
- "context": 128000,
- "output": 8192
- },
- "cost": {
- "input": 0.14,
- "output": 0.28,
- "cache_read": 0.014,
- "cache_write": 0.14
- },
- "options": {
- "thinking": { "type": "enabled" },
- "reasoning_effort": "high"
- }
- },
- "deepseek-v4-pro": {
- "name": "DeepSeek V4 Pro",
- "limit": {
- "context": 128000,
- "output": 8192
- },
- "cost": {
- "input": 0.55,
- "output": 2.19,
- "cache_read": 0.055,
- "cache_write": 0.55
- },
- "options": {
- "thinking": { "type": "enabled" },
- "reasoning_effort": "high"
- }
- }
- }
- },
- "deepseek-local-qwen3.5": {
- "npm": "@ai-sdk/openai-compatible",
- "name": "DeepSeek V4 Pro Qwen3.5 Local (192.168.1.38)",
- "options": {
- "baseURL": "http://192.168.1.38:8284/v1"
- },
- "models": {
- "deepseek-v4-pro-qwen3.5-9b-mtp-q8_0": {
- "name": "DeepSeek V4 Pro Qwen3.5 9B MTP Q8_0",
- "limit": {
- "context": 128000,
- "output": 8192
- },
- "cost": {
- "input": 0,
- "output": 0,
- "cache_read": 0,
- "cache_write": 0
- }
- }
- }
- },
- "magpie-gateway": {
- "npm": "@ai-sdk/openai-compatible",
- "name": "Magpie Gateway (192.168.1.38)",
- "options": {
- "baseURL": "http://192.168.1.38:3430/v1",
- "apiKey": "{env:MAGPIE_API_KEY}",
- "defaultApiKey": "904dde2a3884936998463494f906a2c5"
- },
- "models": {
- "deepseek-v4-pro-qwen35//models/DeepSeek-V4-Pro-Qwen3.5-9B-MTP-Q8_0.gguf": {
- "name": "DeepSeek V4 Pro Qwen3.5 9B MTP Q8_0 via Magpie",
- "limit": {
- "context": 128000,
- "output": 8192
- },
- "cost": {
- "input": 0,
- "output": 0,
- "cache_read": 0,
- "cache_write": 0
- }
- },
- "deepseek/deepseek-flash": {
- "name": "DeepSeek V4.1 Flash via Magpie",
- "limit": {
- "context": 1000000,
- "output": 393216
- },
- "cost": {
- "input": 0.15,
- "output": 0.6,
- "cache_read": 0.003,
- "cache_write": 0
- }
- },
- "deepseek/deepseek-v4-pro": {
- "name": "DeepSeek V4 Pro via Magpie",
- "limit": {
- "context": 1000000,
- "output": 393216
- },
- "cost": {
- "input": 0.66,
- "output": 1.98,
- "cache_read": 0.022,
- "cache_write": 0
- }
- },
- "strata/qwen3.8-flash-next-iq3_xxs": {
- "name": "Strata Qwen3.8-flash-next IQ3_XXS via Magpie",
- "limit": {
- "context": 131072,
- "output": 22000
- },
- "cost": {
- "input": 0.15,
- "output": 0.47,
- "cache_read": 0.016,
- "cache_write": 0.15
- }
- },
- "moonshot-cn/kimi-k3.1-pro": {
- "name": "Kimi K3.1 Pro via Magpie",
- "limit": {
- "context": 1048576,
- "output": 1048576
- },
- "cost": {
- "input": 2,
- "output": 10,
- "cache_read": 0.2,
- "cache_write": 2
- }
- },
- "moonshot-cn/kimi-k3.1-pro-highspeed": {
- "name": "Kimi K3.1 Pro Highspeed via Magpie",
- "limit": {
- "context": 1048576,
- "output": 1048576
- },
- "cost": {
- "input": 4,
- "output": 20,
- "cache_read": 0.2,
- "cache_write": 4
- }
- },
- "moonshot-cn/kimi-k3": {
- "name": "Kimi K3 via Magpie",
- "limit": {
- "context": 1048576,
- "output": 1048576
- },
- "cost": {
- "input": 3,
- "output": 15,
- "cache_read": 0.3,
- "cache_write": 3
- }
- },
- "moonshot-cn/kimi-k2.7-code": {
- "name": "Kimi K2.7 Code via Magpie",
- "limit": {
- "context": 262144,
- "output": 262144
- },
- "cost": {
- "input": 0.95,
- "output": 4,
- "cache_read": 0.19,
- "cache_write": 0
- }
- },
- "moonshot-cn/kimi-k2.7-code-highspeed": {
- "name": "Kimi K2.7 Code Highspeed via Magpie",
- "limit": {
- "context": 262144,
- "output": 262144
- },
- "cost": {
- "input": 1.9,
- "output": 8,
- "cache_read": 0.38,
- "cache_write": 0
- }
- },
- "moonshot-cn/kimi-k2.6": {
- "name": "Kimi K2.6 via Magpie",
- "limit": {
- "context": 262144,
- "output": 262144
- },
- "cost": {
- "input": 0.95,
- "output": 4,
- "cache_read": 0.16,
- "cache_write": 0
- }
- }
- }
- }
- },
- "model": "magpie-gateway/moonshot-cn/kimi-k3.1-pro",
- "mcp": {
- "magpie": {
- "type": "remote",
- "url": "http://192.168.1.38:3430/mcp/magpie/hub/opencode",
- "headers": {
- "Authorization": "Bearer 904dde2a3884936998463494f906a2c5"
- },
- "enabled": true
- }
- }
- }
|