opencodeCodingPlan.ts 1.4 KB

1234567891011121314151617181920212223
  1. import type { InkosEndpoint } from "../types.js";
  2. export const OPENCODE_CODING_PLAN: InkosEndpoint = {
  3. id: "opencodeCodingPlan",
  4. label: "OpenCode Coding Plan",
  5. api: "anthropic-messages",
  6. baseUrl: "https://opencode.ai/api/anthropic",
  7. checkModel: "glm-5.1",
  8. temperatureRange: [0, 1],
  9. defaultTemperature: 0.7,
  10. writingTemperature: 1,
  11. models: [
  12. { id: "glm-5.1", maxOutput: 32000, contextWindowTokens: 204800, enabled: true, releasedAt: "2026-04-07" },
  13. { id: "glm-5", maxOutput: 32000, contextWindowTokens: 204800, enabled: false, releasedAt: "2026-02-11" },
  14. { id: "kimi-k2.5", maxOutput: 32000, contextWindowTokens: 262144, enabled: false, releasedAt: "2026-01-27" },
  15. { id: "mimo-v2-omni", maxOutput: 32000, contextWindowTokens: 262144, enabled: false, releasedAt: "2026-03-18" },
  16. { id: "qwen3.6-plus", maxOutput: 32000, contextWindowTokens: 262144, enabled: true, releasedAt: "2026-04-02" },
  17. { id: "minimax-m2.5", maxOutput: 32000, contextWindowTokens: 204800, enabled: false, releasedAt: "2026-02-12" },
  18. { id: "minimax-m2.7", maxOutput: 32000, contextWindowTokens: 204800, enabled: true, releasedAt: "2026-03-18" },
  19. { id: "mimo-v2-pro", maxOutput: 32000, contextWindowTokens: 1048576, enabled: false, releasedAt: "2026-03-18" },
  20. { id: "qwen3.5-plus", maxOutput: 32000, contextWindowTokens: 262144, enabled: false, releasedAt: "2026-02-16" },
  21. ],
  22. };