config.json 619 B

1234567891011121314151617181920212223242526272829
  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. },
  27. "model": "qwen-local/qwen3.8"
  28. }