config.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "$schema": "https://opencode.ai/config.json",
  3. "provider": {
  4. "qwen-local": {
  5. "npm": "@ai-sdk/openai-compatible",
  6. "name": "Qwen Local (192.168.1.38)",
  7. "options": {
  8. "baseURL": "http://192.168.1.38:8284/v1"
  9. },
  10. "models": {
  11. "qwen3.8": {
  12. "name": "Qwen 3.8",
  13. "limit": {
  14. "context": 128000,
  15. "output": 8192
  16. },
  17. "cost": {
  18. "input": 2,
  19. "output": 6,
  20. "cache_read": 0.25,
  21. "cache_write": 0.25
  22. }
  23. }
  24. }
  25. },
  26. "qwen-flash-next-strata": {
  27. "npm": "@ai-sdk/openai-compatible",
  28. "name": "Qwen Strata (192.168.1.38:8088)",
  29. "options": {
  30. "baseURL": "http://192.168.1.38:8088/v1"
  31. },
  32. "models": {
  33. "qwen3.8-flash-next-Q2_0": {
  34. "name": "Qwen3.8-flash-next-Q2_0",
  35. "limit": {
  36. "context": 128000,
  37. "output": 32000
  38. },
  39. "cost": {
  40. "input": 0,
  41. "output": 0,
  42. "cache_read": 0,
  43. "cache_write": 0
  44. }
  45. },
  46. "qwen3.8-flash-next-IQ2_XS": {
  47. "name": "Qwen3.8-flash-next-IQ2_XS",
  48. "limit": {
  49. "context": 128000,
  50. "output": 32000
  51. },
  52. "cost": {
  53. "input": 0,
  54. "output": 0,
  55. "cache_read": 0,
  56. "cache_write": 0
  57. }
  58. }
  59. }
  60. }
  61. },
  62. "model": "qwen-local/qwen3.8"
  63. }