config.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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-coder": {
  34. "name": "Qwen3.8-flash-next-coder",
  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. }
  47. }
  48. },
  49. "model": "qwen-local/qwen3.8"
  50. }