templates.yaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. templates:
  2. - name: anthropic-official
  3. description: Anthropic's official API (claude.ai / console.anthropic.com)
  4. env:
  5. - name: ANTHROPIC_API_KEY
  6. hint: "Anthropic API key, starts with sk-ant-"
  7. - name: ANTHROPIC_BASE_URL
  8. hint: "Leave blank to use Anthropic's default endpoint"
  9. default: https://api.anthropic.com
  10. - name: openrouter
  11. description: OpenRouter unified API with Anthropic-compatible endpoint
  12. env:
  13. - name: ANTHROPIC_BASE_URL
  14. hint: "OpenRouter's Anthropic-compatible endpoint"
  15. default: https://openrouter.ai/api/v1
  16. - name: ANTHROPIC_AUTH_TOKEN
  17. hint: "OpenRouter API key, starts with sk-or-"
  18. - name: ANTHROPIC_MODEL
  19. hint: "Model slug, e.g. anthropic/claude-opus-4"
  20. - name: deepseek
  21. description: DeepSeek's Anthropic-compatible endpoint
  22. env:
  23. - name: ANTHROPIC_BASE_URL
  24. default: https://api.deepseek.com/anthropic
  25. - name: ANTHROPIC_AUTH_TOKEN
  26. hint: "DeepSeek API key, starts with sk-"
  27. - name: ANTHROPIC_MODEL
  28. hint: "e.g. deepseek-chat"
  29. default: deepseek-chat
  30. - name: moonshot
  31. description: Moonshot / Kimi K2 Anthropic-compatible endpoint
  32. env:
  33. - name: ANTHROPIC_BASE_URL
  34. default: https://api.moonshot.cn/anthropic
  35. - name: ANTHROPIC_AUTH_TOKEN
  36. hint: "Moonshot API key"
  37. - name: ANTHROPIC_MODEL
  38. hint: "e.g. kimi-k2-0905-preview"
  39. - name: zhipu
  40. description: Zhipu GLM's Anthropic-compatible endpoint
  41. env:
  42. - name: ANTHROPIC_BASE_URL
  43. default: https://open.bigmodel.cn/api/anthropic
  44. - name: ANTHROPIC_AUTH_TOKEN
  45. hint: "Zhipu / bigmodel.cn API key"
  46. - name: ANTHROPIC_MODEL
  47. hint: "e.g. glm-4.6"
  48. - name: custom-base
  49. description: Generic Anthropic-compatible endpoint (any OpenAI-ish proxy that exposes /v1/messages)
  50. env:
  51. - name: ANTHROPIC_BASE_URL
  52. hint: "Proxy's base URL, including /v1 if applicable"
  53. - name: ANTHROPIC_AUTH_TOKEN
  54. hint: "API key / bearer token"
  55. - name: ANTHROPIC_MODEL
  56. hint: "Model identifier expected by the proxy"