@chances-ai/engine 29.0.0 → 31.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/agents/index.js +1 -1
  2. package/dist/ai/adapters/ai-sdk-stream.d.ts +13 -1
  3. package/dist/ai/adapters/ai-sdk-stream.d.ts.map +1 -1
  4. package/dist/ai/adapters/ai-sdk-stream.js +140 -39
  5. package/dist/ai/adapters/ai-sdk-stream.js.map +1 -1
  6. package/dist/ai/adapters/ai-sdk.d.ts +8 -0
  7. package/dist/ai/adapters/ai-sdk.d.ts.map +1 -1
  8. package/dist/ai/adapters/ai-sdk.js +40 -2
  9. package/dist/ai/adapters/ai-sdk.js.map +1 -1
  10. package/dist/ai/adapters/mock.d.ts.map +1 -1
  11. package/dist/ai/adapters/mock.js +6 -2
  12. package/dist/ai/adapters/mock.js.map +1 -1
  13. package/dist/ai/adapters/native-anthropic.d.ts +51 -0
  14. package/dist/ai/adapters/native-anthropic.d.ts.map +1 -0
  15. package/dist/ai/adapters/native-anthropic.js +179 -0
  16. package/dist/ai/adapters/native-anthropic.js.map +1 -0
  17. package/dist/ai/adapters/openai-compatible.d.ts +17 -1
  18. package/dist/ai/adapters/openai-compatible.d.ts.map +1 -1
  19. package/dist/ai/adapters/openai-compatible.js +105 -1
  20. package/dist/ai/adapters/openai-compatible.js.map +1 -1
  21. package/dist/ai/compat.d.ts +30 -0
  22. package/dist/ai/compat.d.ts.map +1 -0
  23. package/dist/ai/compat.js +93 -0
  24. package/dist/ai/compat.js.map +1 -0
  25. package/dist/ai/cost.d.ts +9 -0
  26. package/dist/ai/cost.d.ts.map +1 -1
  27. package/dist/ai/cost.js +15 -2
  28. package/dist/ai/cost.js.map +1 -1
  29. package/dist/ai/index.d.ts +6 -2
  30. package/dist/ai/index.d.ts.map +1 -1
  31. package/dist/ai/index.js +5 -1
  32. package/dist/ai/index.js.map +1 -1
  33. package/dist/ai/known-models.d.ts +20 -6
  34. package/dist/ai/known-models.d.ts.map +1 -1
  35. package/dist/ai/known-models.generated.d.ts +3 -0
  36. package/dist/ai/known-models.generated.d.ts.map +1 -0
  37. package/dist/ai/known-models.generated.js +518 -0
  38. package/dist/ai/known-models.generated.js.map +1 -0
  39. package/dist/ai/known-models.js +29 -128
  40. package/dist/ai/known-models.js.map +1 -1
  41. package/dist/ai/provider-table.d.ts +36 -0
  42. package/dist/ai/provider-table.d.ts.map +1 -0
  43. package/dist/ai/provider-table.js +80 -0
  44. package/dist/ai/provider-table.js.map +1 -0
  45. package/dist/ai/retry.d.ts +74 -3
  46. package/dist/ai/retry.d.ts.map +1 -1
  47. package/dist/ai/retry.js +246 -6
  48. package/dist/ai/retry.js.map +1 -1
  49. package/dist/ai/router.d.ts +12 -0
  50. package/dist/ai/router.d.ts.map +1 -1
  51. package/dist/ai/router.js +19 -0
  52. package/dist/ai/router.js.map +1 -1
  53. package/dist/ai/sampling.d.ts +37 -0
  54. package/dist/ai/sampling.d.ts.map +1 -0
  55. package/dist/ai/sampling.js +34 -0
  56. package/dist/ai/sampling.js.map +1 -0
  57. package/dist/ai/setup.d.ts +1 -1
  58. package/dist/ai/setup.d.ts.map +1 -1
  59. package/dist/ai/setup.js +28 -4
  60. package/dist/ai/setup.js.map +1 -1
  61. package/dist/ai/summarizer.d.ts.map +1 -1
  62. package/dist/ai/summarizer.js +6 -1
  63. package/dist/ai/summarizer.js.map +1 -1
  64. package/dist/ai/think-filter.d.ts +30 -0
  65. package/dist/ai/think-filter.d.ts.map +1 -0
  66. package/dist/ai/think-filter.js +193 -0
  67. package/dist/ai/think-filter.js.map +1 -0
  68. package/dist/ai/thinking.d.ts +77 -0
  69. package/dist/ai/thinking.d.ts.map +1 -0
  70. package/dist/ai/thinking.js +174 -0
  71. package/dist/ai/thinking.js.map +1 -0
  72. package/dist/ai/types.d.ts +135 -8
  73. package/dist/ai/types.d.ts.map +1 -1
  74. package/dist/core/compaction/compactor.d.ts.map +1 -1
  75. package/dist/core/compaction/compactor.js +44 -6
  76. package/dist/core/compaction/compactor.js.map +1 -1
  77. package/dist/core/engine.d.ts +19 -4
  78. package/dist/core/engine.d.ts.map +1 -1
  79. package/dist/core/engine.js +123 -19
  80. package/dist/core/engine.js.map +1 -1
  81. package/dist/core/index.d.ts +1 -1
  82. package/dist/core/index.d.ts.map +1 -1
  83. package/dist/core/index.js +1 -1
  84. package/dist/core/index.js.map +1 -1
  85. package/dist/core/task-tool.d.ts +1 -1
  86. package/dist/core/task-tool.js +1 -1
  87. package/dist/core/workspace-query.d.ts +1 -1
  88. package/dist/core/workspace-query.js +1 -1
  89. package/dist/local-vault/index.d.ts +1 -1
  90. package/dist/local-vault/index.js +1 -1
  91. package/dist/lsp/index.d.ts +1 -1
  92. package/dist/lsp/index.js +1 -1
  93. package/dist/lsp/types.d.ts +2 -2
  94. package/dist/mcp/host.d.ts +3 -3
  95. package/dist/mcp/load-mcp-host.d.ts +4 -4
  96. package/dist/mcp/load-mcp-host.js +4 -4
  97. package/dist/mcp/oauth/provider.d.ts.map +1 -1
  98. package/dist/mcp/oauth/provider.js +10 -1
  99. package/dist/mcp/oauth/provider.js.map +1 -1
  100. package/dist/plugin-api/index.d.ts +10 -2
  101. package/dist/plugin-api/index.d.ts.map +1 -1
  102. package/dist/plugin-api/index.js +15 -0
  103. package/dist/plugin-api/index.js.map +1 -1
  104. package/dist/tools/approval.d.ts +1 -1
  105. package/dist/tools/approval.js +1 -1
  106. package/dist/tools/builtins/lsp.js +1 -1
  107. package/dist/tools/builtins/pty.d.ts +1 -1
  108. package/dist/tools/types.d.ts +1 -1
  109. package/package.json +3 -3
@@ -0,0 +1,518 @@
1
+ export const GENERATED_MODELS = {
2
+ "anthropic": [
3
+ { id: "claude-3-5-haiku-20241022", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.8, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.08, cacheWriteCostPerMTok: 1 },
4
+ { id: "claude-3-5-haiku-latest", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.8, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.08, cacheWriteCostPerMTok: 1 },
5
+ { id: "claude-3-5-sonnet-20240620", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
6
+ { id: "claude-3-5-sonnet-20241022", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
7
+ { id: "claude-3-7-sonnet-20250219", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
8
+ { id: "claude-3-haiku-20240307", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.25, outputCostPerMTok: 1.25, cacheReadCostPerMTok: 0.03, cacheWriteCostPerMTok: 0.3 },
9
+ { id: "claude-3-opus-20240229", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
10
+ { id: "claude-3-sonnet-20240229", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 0.3 },
11
+ { id: "claude-haiku-4-5", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 5, cacheReadCostPerMTok: 0.1, cacheWriteCostPerMTok: 1.25 },
12
+ { id: "claude-haiku-4-5-20251001", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 5, cacheReadCostPerMTok: 0.1, cacheWriteCostPerMTok: 1.25 },
13
+ { id: "claude-opus-4-0", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
14
+ { id: "claude-opus-4-1", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
15
+ { id: "claude-opus-4-1-20250805", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
16
+ { id: "claude-opus-4-20250514", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
17
+ { id: "claude-opus-4-5", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
18
+ { id: "claude-opus-4-5-20251101", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
19
+ { id: "claude-opus-4-6", provider: "anthropic", api: "anthropic-messages", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, thinkingLevelMap: { "xhigh": "xhigh" }, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
20
+ { id: "claude-opus-4-7", provider: "anthropic", api: "anthropic-messages", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, thinkingLevelMap: { "xhigh": "xhigh" }, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
21
+ { id: "claude-opus-4-8", provider: "anthropic", api: "anthropic-messages", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, thinkingLevelMap: { "xhigh": "xhigh" }, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
22
+ { id: "claude-sonnet-4-0", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
23
+ { id: "claude-sonnet-4-20250514", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
24
+ { id: "claude-sonnet-4-5", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
25
+ { id: "claude-sonnet-4-5-20250929", provider: "anthropic", api: "anthropic-messages", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
26
+ { id: "claude-sonnet-4-6", provider: "anthropic", api: "anthropic-messages", contextWindow: 1000000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, thinkingLevelMap: { "xhigh": "xhigh" }, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
27
+ ],
28
+ "openai": [
29
+ { id: "gpt-3.5-turbo", provider: "openai", api: "openai-responses", contextWindow: 16385, maxTokens: 4096, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.5, outputCostPerMTok: 1.5, cacheReadCostPerMTok: 0 },
30
+ { id: "gpt-4", provider: "openai", api: "openai-responses", contextWindow: 8192, maxTokens: 8192, supportsTools: true, supportsVision: false, inputCostPerMTok: 30, outputCostPerMTok: 60 },
31
+ { id: "gpt-4-turbo", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 10, outputCostPerMTok: 30 },
32
+ { id: "gpt-4.1", provider: "openai", api: "openai-responses", contextWindow: 1047576, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 2, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.5 },
33
+ { id: "gpt-4.1-mini", provider: "openai", api: "openai-responses", contextWindow: 1047576, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.4, outputCostPerMTok: 1.6, cacheReadCostPerMTok: 0.1 },
34
+ { id: "gpt-4.1-nano", provider: "openai", api: "openai-responses", contextWindow: 1047576, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.025 },
35
+ { id: "gpt-4o", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 10, cacheReadCostPerMTok: 1.25 },
36
+ { id: "gpt-4o-2024-05-13", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 5, outputCostPerMTok: 15 },
37
+ { id: "gpt-4o-2024-08-06", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 10, cacheReadCostPerMTok: 1.25 },
38
+ { id: "gpt-4o-2024-11-20", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 10, cacheReadCostPerMTok: 1.25 },
39
+ { id: "gpt-4o-mini", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.075 },
40
+ { id: "gpt-5", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
41
+ { id: "gpt-5-chat-latest", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
42
+ { id: "gpt-5-codex", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
43
+ { id: "gpt-5-mini", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.025 },
44
+ { id: "gpt-5-nano", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.05, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.005 },
45
+ { id: "gpt-5-pro", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 272000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 120 },
46
+ { id: "gpt-5.1", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
47
+ { id: "gpt-5.1-chat-latest", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
48
+ { id: "gpt-5.1-codex", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
49
+ { id: "gpt-5.1-codex-max", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
50
+ { id: "gpt-5.1-codex-mini", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.025 },
51
+ { id: "gpt-5.2", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
52
+ { id: "gpt-5.2-chat-latest", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
53
+ { id: "gpt-5.2-codex", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
54
+ { id: "gpt-5.2-pro", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 21, outputCostPerMTok: 168 },
55
+ { id: "gpt-5.3-chat-latest", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
56
+ { id: "gpt-5.3-codex", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
57
+ { id: "gpt-5.3-codex-spark", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
58
+ { id: "gpt-5.4", provider: "openai", api: "openai-responses", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2.5, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.25 },
59
+ { id: "gpt-5.4-mini", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.75, outputCostPerMTok: 4.5, cacheReadCostPerMTok: 0.075 },
60
+ { id: "gpt-5.4-nano", provider: "openai", api: "openai-responses", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.2, outputCostPerMTok: 1.25, cacheReadCostPerMTok: 0.02 },
61
+ { id: "gpt-5.4-pro", provider: "openai", api: "openai-responses", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 30, outputCostPerMTok: 180 },
62
+ { id: "gpt-5.5", provider: "openai", api: "openai-responses", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 30, cacheReadCostPerMTok: 0.5 },
63
+ { id: "gpt-5.5-pro", provider: "openai", api: "openai-responses", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 30, outputCostPerMTok: 180 },
64
+ { id: "o1", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 60, cacheReadCostPerMTok: 7.5 },
65
+ { id: "o1-mini", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 65536, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.55 },
66
+ { id: "o1-preview", provider: "openai", api: "openai-responses", contextWindow: 128000, maxTokens: 32768, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 60, cacheReadCostPerMTok: 7.5 },
67
+ { id: "o1-pro", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 150, outputCostPerMTok: 600 },
68
+ { id: "o3", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.5 },
69
+ { id: "o3-deep-research", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 10, outputCostPerMTok: 40, cacheReadCostPerMTok: 2.5 },
70
+ { id: "o3-mini", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.55 },
71
+ { id: "o3-pro", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 20, outputCostPerMTok: 80 },
72
+ { id: "o4-mini", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.275 },
73
+ { id: "o4-mini-deep-research", provider: "openai", api: "openai-responses", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.5 },
74
+ { id: "text-embedding-3-large", provider: "openai", api: "openai-responses", contextWindow: 8191, maxTokens: 3072, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.13, outputCostPerMTok: 0 },
75
+ { id: "text-embedding-3-small", provider: "openai", api: "openai-responses", contextWindow: 8191, maxTokens: 1536, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.02, outputCostPerMTok: 0 },
76
+ { id: "text-embedding-ada-002", provider: "openai", api: "openai-responses", contextWindow: 8192, maxTokens: 1536, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.1, outputCostPerMTok: 0 },
77
+ ],
78
+ "google": [
79
+ { id: "gemini-2.0-flash", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.025 },
80
+ { id: "gemini-2.0-flash-lite", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.3 },
81
+ { id: "gemini-2.5-flash", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.03 },
82
+ { id: "gemini-2.5-flash-image", provider: "google", api: "google", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 30, cacheReadCostPerMTok: 0.075 },
83
+ { id: "gemini-2.5-flash-lite", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.01 },
84
+ { id: "gemini-2.5-pro", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
85
+ { id: "gemini-3-flash-preview", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.5, outputCostPerMTok: 3, cacheReadCostPerMTok: 0.05 },
86
+ { id: "gemini-3-pro-image-preview", provider: "google", api: "google", contextWindow: 65536, maxTokens: 32768, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 120 },
87
+ { id: "gemini-3-pro-preview", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2 },
88
+ { id: "gemini-3.1-flash-image-preview", provider: "google", api: "google", contextWindow: 65536, maxTokens: 65536, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 0.5, outputCostPerMTok: 60 },
89
+ { id: "gemini-3.1-flash-lite", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 1.5, cacheReadCostPerMTok: 0.025 },
90
+ { id: "gemini-3.1-flash-lite-preview", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 1.5, cacheReadCostPerMTok: 0.025 },
91
+ { id: "gemini-3.1-pro-preview", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2 },
92
+ { id: "gemini-3.1-pro-preview-customtools", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2 },
93
+ { id: "gemini-3.5-flash", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.5, outputCostPerMTok: 9, cacheReadCostPerMTok: 0.15 },
94
+ { id: "gemini-embedding-001", provider: "google", api: "google", contextWindow: 2048, maxTokens: 1, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.15, outputCostPerMTok: 0 },
95
+ { id: "gemini-flash-latest", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.075 },
96
+ { id: "gemini-flash-lite-latest", provider: "google", api: "google", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.025 },
97
+ { id: "gemma-4-26b-a4b-it", provider: "google", api: "google", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
98
+ { id: "gemma-4-31b-it", provider: "google", api: "google", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
99
+ ],
100
+ "xai": [
101
+ { id: "grok-4.20-0309-non-reasoning", provider: "xai", api: "openai-completions", contextWindow: 2000000, maxTokens: 30000, supportsTools: true, supportsVision: true, inputCostPerMTok: 1.25, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.2 },
102
+ { id: "grok-4.20-0309-reasoning", provider: "xai", api: "openai-completions", contextWindow: 2000000, maxTokens: 30000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.2 },
103
+ { id: "grok-4.20-multi-agent-0309", provider: "xai", api: "openai-completions", contextWindow: 2000000, maxTokens: 30000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.2 },
104
+ { id: "grok-4.3", provider: "xai", api: "openai-completions", contextWindow: 1000000, maxTokens: 30000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.2 },
105
+ { id: "grok-build-0.1", provider: "xai", api: "openai-completions", contextWindow: 256000, maxTokens: 256000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.2 },
106
+ ],
107
+ "groq": [
108
+ { id: "allam-2-7b", provider: "groq", api: "openai-completions", contextWindow: 4096, maxTokens: 4096, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
109
+ { id: "deepseek-r1-distill-llama-70b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.75, outputCostPerMTok: 0.99 },
110
+ { id: "gemma2-9b-it", provider: "groq", api: "openai-completions", contextWindow: 8192, maxTokens: 8192, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.2, outputCostPerMTok: 0.2 },
111
+ { id: "groq/compound", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
112
+ { id: "groq/compound-mini", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
113
+ { id: "llama-3.1-8b-instant", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.05, outputCostPerMTok: 0.08 },
114
+ { id: "llama-3.3-70b-versatile", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.59, outputCostPerMTok: 0.79 },
115
+ { id: "llama-guard-3-8b", provider: "groq", api: "openai-completions", contextWindow: 8192, maxTokens: 8192, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.2, outputCostPerMTok: 0.2 },
116
+ { id: "llama3-70b-8192", provider: "groq", api: "openai-completions", contextWindow: 8192, maxTokens: 8192, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.59, outputCostPerMTok: 0.79 },
117
+ { id: "llama3-8b-8192", provider: "groq", api: "openai-completions", contextWindow: 8192, maxTokens: 8192, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.05, outputCostPerMTok: 0.08 },
118
+ { id: "meta-llama/llama-4-maverick-17b-128e-instruct", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.2, outputCostPerMTok: 0.6 },
119
+ { id: "meta-llama/llama-4-scout-17b-16e-instruct", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.11, outputCostPerMTok: 0.34 },
120
+ { id: "meta-llama/llama-guard-4-12b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 1024, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.2, outputCostPerMTok: 0.2 },
121
+ { id: "meta-llama/llama-prompt-guard-2-22m", provider: "groq", api: "openai-completions", contextWindow: 512, maxTokens: 512, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.03, outputCostPerMTok: 0.03 },
122
+ { id: "meta-llama/llama-prompt-guard-2-86m", provider: "groq", api: "openai-completions", contextWindow: 512, maxTokens: 512, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.04, outputCostPerMTok: 0.04 },
123
+ { id: "mistral-saba-24b", provider: "groq", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.79, outputCostPerMTok: 0.79 },
124
+ { id: "moonshotai/kimi-k2-instruct", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 1, outputCostPerMTok: 3 },
125
+ { id: "moonshotai/kimi-k2-instruct-0905", provider: "groq", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 1, outputCostPerMTok: 3, cacheReadCostPerMTok: 0.5 },
126
+ { id: "openai/gpt-oss-120b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.075 },
127
+ { id: "openai/gpt-oss-20b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.3, cacheReadCostPerMTok: 0.0375 },
128
+ { id: "openai/gpt-oss-safeguard-20b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.3, cacheReadCostPerMTok: 0.037 },
129
+ { id: "qwen-qwq-32b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.29, outputCostPerMTok: 0.39 },
130
+ { id: "qwen/qwen3-32b", provider: "groq", api: "openai-completions", contextWindow: 131072, maxTokens: 40960, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.29, outputCostPerMTok: 0.59 },
131
+ ],
132
+ "openrouter": [
133
+ { id: "ai21/jamba-large-1.7", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 2, outputCostPerMTok: 8 },
134
+ { id: "aion-labs/aion-1.0", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 4, outputCostPerMTok: 8 },
135
+ { id: "aion-labs/aion-1.0-mini", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.7, outputCostPerMTok: 1.4 },
136
+ { id: "aion-labs/aion-2.0", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.8, outputCostPerMTok: 1.6, cacheReadCostPerMTok: 0.2 },
137
+ { id: "aion-labs/aion-rp-llama-3.1-8b", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.8, outputCostPerMTok: 1.6 },
138
+ { id: "allenai/olmo-3-32b-think", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 65536, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.5 },
139
+ { id: "amazon/nova-2-lite-v1", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65535, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 2.5 },
140
+ { id: "amazon/nova-lite-v1", provider: "openrouter", api: "openai-completions", contextWindow: 300000, maxTokens: 5120, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.06, outputCostPerMTok: 0.24 },
141
+ { id: "amazon/nova-micro-v1", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 5120, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.035, outputCostPerMTok: 0.14 },
142
+ { id: "amazon/nova-premier-v1", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 32000, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 12.5, cacheReadCostPerMTok: 0.625 },
143
+ { id: "amazon/nova-pro-v1", provider: "openrouter", api: "openai-completions", contextWindow: 300000, maxTokens: 5120, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.8, outputCostPerMTok: 3.2 },
144
+ { id: "anthracite-org/magnum-v4-72b", provider: "openrouter", api: "openai-completions", contextWindow: 16384, maxTokens: 2048, supportsTools: false, supportsVision: false, inputCostPerMTok: 3, outputCostPerMTok: 5 },
145
+ { id: "anthropic/claude-3-haiku", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.25, outputCostPerMTok: 1.25, cacheReadCostPerMTok: 0.03, cacheWriteCostPerMTok: 0.3 },
146
+ { id: "anthropic/claude-3.5-haiku", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 8192, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.8, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.08, cacheWriteCostPerMTok: 1 },
147
+ { id: "anthropic/claude-haiku-4.5", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 5, cacheReadCostPerMTok: 0.1, cacheWriteCostPerMTok: 1.25 },
148
+ { id: "anthropic/claude-opus-4", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
149
+ { id: "anthropic/claude-opus-4.1", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 32000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 75, cacheReadCostPerMTok: 1.5, cacheWriteCostPerMTok: 18.75 },
150
+ { id: "anthropic/claude-opus-4.5", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
151
+ { id: "anthropic/claude-opus-4.6", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
152
+ { id: "anthropic/claude-opus-4.6-fast", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 30, outputCostPerMTok: 150, cacheReadCostPerMTok: 3, cacheWriteCostPerMTok: 37.5 },
153
+ { id: "anthropic/claude-opus-4.7", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
154
+ { id: "anthropic/claude-opus-4.7-fast", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 30, outputCostPerMTok: 150, cacheReadCostPerMTok: 3, cacheWriteCostPerMTok: 37.5 },
155
+ { id: "anthropic/claude-opus-4.8", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
156
+ { id: "anthropic/claude-opus-4.8-fast", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 10, outputCostPerMTok: 50, cacheReadCostPerMTok: 1, cacheWriteCostPerMTok: 12.5 },
157
+ { id: "anthropic/claude-sonnet-4", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
158
+ { id: "anthropic/claude-sonnet-4.5", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
159
+ { id: "anthropic/claude-sonnet-4.6", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
160
+ { id: "arcee-ai/coder-large", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.5, outputCostPerMTok: 0.8 },
161
+ { id: "arcee-ai/maestro-reasoning", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.9, outputCostPerMTok: 3.3 },
162
+ { id: "arcee-ai/spotlight", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 65537, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.18, outputCostPerMTok: 0.18 },
163
+ { id: "arcee-ai/trinity-large-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.22, outputCostPerMTok: 0.85, cacheReadCostPerMTok: 0.06 },
164
+ { id: "arcee-ai/trinity-mini", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.045, outputCostPerMTok: 0.15 },
165
+ { id: "arcee-ai/virtuoso-large", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 64000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.75, outputCostPerMTok: 1.2 },
166
+ { id: "baidu/ernie-4.5-vl-28b-a3b", provider: "openrouter", api: "openai-completions", contextWindow: 30000, maxTokens: 8000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.14, outputCostPerMTok: 0.56 },
167
+ { id: "baidu/ernie-4.5-vl-424b-a47b", provider: "openrouter", api: "openai-completions", contextWindow: 123000, maxTokens: 16000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 0.42, outputCostPerMTok: 1.25 },
168
+ { id: "bytedance-seed/seed-1.6", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 2 },
169
+ { id: "bytedance-seed/seed-1.6-flash", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.3 },
170
+ { id: "bytedance-seed/seed-2.0-lite", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 131072, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 2 },
171
+ { id: "bytedance-seed/seed-2.0-mini", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 131072, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4 },
172
+ { id: "bytedance/ui-tars-1.5-7b", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 2048, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.2, cacheReadCostPerMTok: 0.1 },
173
+ { id: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
174
+ { id: "cohere/command-a", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 8192, supportsTools: false, supportsVision: false, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
175
+ { id: "cohere/command-r-08-2024", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6 },
176
+ { id: "cohere/command-r-plus-08-2024", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4000, supportsTools: true, supportsVision: false, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
177
+ { id: "cohere/command-r7b-12-2024", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.0375, outputCostPerMTok: 0.15 },
178
+ { id: "deepcogito/cogito-v2.1-671b", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 1.25 },
179
+ { id: "deepseek/deepseek-chat", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.2002, outputCostPerMTok: 0.8001 },
180
+ { id: "deepseek/deepseek-chat-v3-0324", provider: "openrouter", api: "openai-completions", contextWindow: 163840, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.2, outputCostPerMTok: 0.77, cacheReadCostPerMTok: 0.135 },
181
+ { id: "deepseek/deepseek-chat-v3.1", provider: "openrouter", api: "openai-completions", contextWindow: 163840, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.21, outputCostPerMTok: 0.79, cacheReadCostPerMTok: 0.13 },
182
+ { id: "deepseek/deepseek-r1", provider: "openrouter", api: "openai-completions", contextWindow: 64000, maxTokens: 16000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.7, outputCostPerMTok: 2.5 },
183
+ { id: "deepseek/deepseek-r1-0528", provider: "openrouter", api: "openai-completions", contextWindow: 163840, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.5, outputCostPerMTok: 2.15, cacheReadCostPerMTok: 0.35 },
184
+ { id: "deepseek/deepseek-r1-distill-llama-70b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.7, outputCostPerMTok: 0.8 },
185
+ { id: "deepseek/deepseek-r1-distill-qwen-32b", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.29, outputCostPerMTok: 0.29 },
186
+ { id: "deepseek/deepseek-v3.1-terminus", provider: "openrouter", api: "openai-completions", contextWindow: 163840, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.27, outputCostPerMTok: 0.95, cacheReadCostPerMTok: 0.13 },
187
+ { id: "deepseek/deepseek-v3.2", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 64000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.2288, outputCostPerMTok: 0.3432 },
188
+ { id: "deepseek/deepseek-v3.2-exp", provider: "openrouter", api: "openai-completions", contextWindow: 163840, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.27, outputCostPerMTok: 0.41 },
189
+ { id: "deepseek/deepseek-v4-flash", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.0983, outputCostPerMTok: 0.1966, cacheReadCostPerMTok: 0.0197 },
190
+ { id: "deepseek/deepseek-v4-pro", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 384000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.435, outputCostPerMTok: 0.87, cacheReadCostPerMTok: 0.003625 },
191
+ { id: "essentialai/rnj-1-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.15, outputCostPerMTok: 0.15 },
192
+ { id: "google/gemini-2.5-flash", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65535, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.03, cacheWriteCostPerMTok: 0.083333 },
193
+ { id: "google/gemini-2.5-flash-image", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.3, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.03, cacheWriteCostPerMTok: 0.083333 },
194
+ { id: "google/gemini-2.5-flash-lite", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65535, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.01, cacheWriteCostPerMTok: 0.083333 },
195
+ { id: "google/gemini-2.5-flash-lite-preview-09-2025", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65535, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.01, cacheWriteCostPerMTok: 0.083333 },
196
+ { id: "google/gemini-2.5-pro", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125, cacheWriteCostPerMTok: 0.375 },
197
+ { id: "google/gemini-2.5-pro-preview", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125, cacheWriteCostPerMTok: 0.375 },
198
+ { id: "google/gemini-2.5-pro-preview-05-06", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65535, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125, cacheWriteCostPerMTok: 0.375 },
199
+ { id: "google/gemini-3-flash-preview", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.5, outputCostPerMTok: 3, cacheReadCostPerMTok: 0.05, cacheWriteCostPerMTok: 0.083333 },
200
+ { id: "google/gemini-3-pro-image-preview", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 32768, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2, cacheWriteCostPerMTok: 0.375 },
201
+ { id: "google/gemini-3.1-flash-image-preview", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 65536, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 0.5, outputCostPerMTok: 3 },
202
+ { id: "google/gemini-3.1-flash-lite", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 1.5, cacheReadCostPerMTok: 0.025, cacheWriteCostPerMTok: 0.083333 },
203
+ { id: "google/gemini-3.1-flash-lite-preview", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 1.5, cacheReadCostPerMTok: 0.025, cacheWriteCostPerMTok: 0.083333 },
204
+ { id: "google/gemini-3.1-pro-preview", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2, cacheWriteCostPerMTok: 0.375 },
205
+ { id: "google/gemini-3.1-pro-preview-customtools", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2, cacheWriteCostPerMTok: 0.375 },
206
+ { id: "google/gemini-3.5-flash", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.5, outputCostPerMTok: 9, cacheReadCostPerMTok: 0.15, cacheWriteCostPerMTok: 0.083333 },
207
+ { id: "google/gemma-2-27b-it", provider: "openrouter", api: "openai-completions", contextWindow: 8192, maxTokens: 2048, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.65, outputCostPerMTok: 0.65 },
208
+ { id: "google/gemma-3-12b-it", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.04, outputCostPerMTok: 0.13 },
209
+ { id: "google/gemma-3-27b-it", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.08, outputCostPerMTok: 0.16 },
210
+ { id: "google/gemma-3-4b-it", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.04, outputCostPerMTok: 0.08 },
211
+ { id: "google/gemma-3n-e4b-it", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.06, outputCostPerMTok: 0.12 },
212
+ { id: "google/gemma-4-26b-a4b-it", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.06, outputCostPerMTok: 0.33 },
213
+ { id: "google/gemma-4-26b-a4b-it:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
214
+ { id: "google/gemma-4-31b-it", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.12, outputCostPerMTok: 0.37 },
215
+ { id: "google/gemma-4-31b-it:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
216
+ { id: "google/lyria-3-clip-preview", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: false, supportsVision: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
217
+ { id: "google/lyria-3-pro-preview", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: false, supportsVision: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
218
+ { id: "gryphe/mythomax-l2-13b", provider: "openrouter", api: "openai-completions", contextWindow: 4096, maxTokens: 4096, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.06, outputCostPerMTok: 0.06 },
219
+ { id: "ibm-granite/granite-4.0-h-micro", provider: "openrouter", api: "openai-completions", contextWindow: 131000, maxTokens: 131000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.017, outputCostPerMTok: 0.112 },
220
+ { id: "ibm-granite/granite-4.1-8b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.05, outputCostPerMTok: 0.1, cacheReadCostPerMTok: 0.05 },
221
+ { id: "inception/mercury-2", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 50000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 0.75, cacheReadCostPerMTok: 0.025 },
222
+ { id: "inclusionai/ling-2.6-1t", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.075, outputCostPerMTok: 0.625, cacheReadCostPerMTok: 0.015 },
223
+ { id: "inclusionai/ling-2.6-flash", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.01, outputCostPerMTok: 0.03, cacheReadCostPerMTok: 0.002 },
224
+ { id: "inclusionai/ring-2.6-1t", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.625, cacheReadCostPerMTok: 0.015 },
225
+ { id: "inflection/inflection-3-pi", provider: "openrouter", api: "openai-completions", contextWindow: 8000, maxTokens: 1024, supportsTools: false, supportsVision: false, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
226
+ { id: "inflection/inflection-3-productivity", provider: "openrouter", api: "openai-completions", contextWindow: 8000, maxTokens: 1024, supportsTools: false, supportsVision: false, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
227
+ { id: "kwaipilot/kat-coder-pro-v2", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 80000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2, cacheReadCostPerMTok: 0.06 },
228
+ { id: "liquid/lfm-2-24b-a2b", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.03, outputCostPerMTok: 0.12 },
229
+ { id: "liquid/lfm-2.5-1.2b-instruct:free", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
230
+ { id: "liquid/lfm-2.5-1.2b-thinking:free", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
231
+ { id: "mancer/weaver", provider: "openrouter", api: "openai-completions", contextWindow: 8000, maxTokens: 2000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.75, outputCostPerMTok: 1 },
232
+ { id: "meta-llama/llama-3-70b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 8192, maxTokens: 8000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.51, outputCostPerMTok: 0.74 },
233
+ { id: "meta-llama/llama-3-8b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 8192, maxTokens: 8192, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.04, outputCostPerMTok: 0.04 },
234
+ { id: "meta-llama/llama-3.1-70b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.4, outputCostPerMTok: 0.4 },
235
+ { id: "meta-llama/llama-3.1-8b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.02, outputCostPerMTok: 0.03 },
236
+ { id: "meta-llama/llama-3.2-11b-vision-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.245, outputCostPerMTok: 0.245 },
237
+ { id: "meta-llama/llama-3.2-1b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 60000, maxTokens: 60000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.027, outputCostPerMTok: 0.201 },
238
+ { id: "meta-llama/llama-3.2-3b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 80000, maxTokens: 80000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.0509, outputCostPerMTok: 0.335 },
239
+ { id: "meta-llama/llama-3.2-3b-instruct:free", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
240
+ { id: "meta-llama/llama-3.3-70b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.1, outputCostPerMTok: 0.32 },
241
+ { id: "meta-llama/llama-3.3-70b-instruct:free", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 131072, supportsTools: true, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
242
+ { id: "meta-llama/llama-4-maverick", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6 },
243
+ { id: "meta-llama/llama-4-scout", provider: "openrouter", api: "openai-completions", contextWindow: 327680, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.08, outputCostPerMTok: 0.3 },
244
+ { id: "meta-llama/llama-guard-3-8b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.484, outputCostPerMTok: 0.03 },
245
+ { id: "meta-llama/llama-guard-4-12b", provider: "openrouter", api: "openai-completions", contextWindow: 163840, maxTokens: 16384, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.18, outputCostPerMTok: 0.18 },
246
+ { id: "microsoft/phi-4", provider: "openrouter", api: "openai-completions", contextWindow: 16384, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.065, outputCostPerMTok: 0.14 },
247
+ { id: "microsoft/phi-4-mini-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.08, outputCostPerMTok: 0.35, cacheReadCostPerMTok: 0.08 },
248
+ { id: "microsoft/wizardlm-2-8x22b", provider: "openrouter", api: "openai-completions", contextWindow: 65535, maxTokens: 8000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.62, outputCostPerMTok: 0.62 },
249
+ { id: "minimax/minimax-01", provider: "openrouter", api: "openai-completions", contextWindow: 1000192, maxTokens: 1000192, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.2, outputCostPerMTok: 1.1 },
250
+ { id: "minimax/minimax-m1", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 40000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.4, outputCostPerMTok: 2.2 },
251
+ { id: "minimax/minimax-m2", provider: "openrouter", api: "openai-completions", contextWindow: 196608, maxTokens: 196608, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.255, outputCostPerMTok: 1, cacheReadCostPerMTok: 0.03 },
252
+ { id: "minimax/minimax-m2-her", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 2048, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2, cacheReadCostPerMTok: 0.03 },
253
+ { id: "minimax/minimax-m2.1", provider: "openrouter", api: "openai-completions", contextWindow: 196608, maxTokens: 196608, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.29, outputCostPerMTok: 0.95, cacheReadCostPerMTok: 0.03 },
254
+ { id: "minimax/minimax-m2.5", provider: "openrouter", api: "openai-completions", contextWindow: 196608, maxTokens: 196608, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.15, outputCostPerMTok: 1.15 },
255
+ { id: "minimax/minimax-m2.7", provider: "openrouter", api: "openai-completions", contextWindow: 196608, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.279, outputCostPerMTok: 1.2 },
256
+ { id: "minimax/minimax-m3", provider: "openrouter", api: "openai-completions", contextWindow: 524288, maxTokens: 512000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2, cacheReadCostPerMTok: 0.06 },
257
+ { id: "mistralai/codestral-2508", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 256000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.3, outputCostPerMTok: 0.9, cacheReadCostPerMTok: 0.03 },
258
+ { id: "mistralai/devstral-2512", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.4, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.04 },
259
+ { id: "mistralai/ministral-14b-2512", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.2, outputCostPerMTok: 0.2, cacheReadCostPerMTok: 0.02 },
260
+ { id: "mistralai/ministral-3b-2512", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.1, cacheReadCostPerMTok: 0.01 },
261
+ { id: "mistralai/ministral-8b-2512", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.15, cacheReadCostPerMTok: 0.015 },
262
+ { id: "mistralai/mistral-large", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: true, supportsVision: false, inputCostPerMTok: 2, outputCostPerMTok: 6, cacheReadCostPerMTok: 0.2 },
263
+ { id: "mistralai/mistral-large-2407", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, inputCostPerMTok: 2, outputCostPerMTok: 6, cacheReadCostPerMTok: 0.2 },
264
+ { id: "mistralai/mistral-large-2512", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.5, outputCostPerMTok: 1.5, cacheReadCostPerMTok: 0.05 },
265
+ { id: "mistralai/mistral-medium-3", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.4, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.04 },
266
+ { id: "mistralai/mistral-medium-3-5", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.5, outputCostPerMTok: 7.5 },
267
+ { id: "mistralai/mistral-medium-3.1", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 262144, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.4, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.04 },
268
+ { id: "mistralai/mistral-nemo", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.02, outputCostPerMTok: 0.03 },
269
+ { id: "mistralai/mistral-saba", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.2, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.02 },
270
+ { id: "mistralai/mistral-small-24b-instruct-2501", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.05, outputCostPerMTok: 0.08 },
271
+ { id: "mistralai/mistral-small-2603", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.015 },
272
+ { id: "mistralai/mistral-small-3.1-24b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.351, outputCostPerMTok: 0.555 },
273
+ { id: "mistralai/mistral-small-3.2-24b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.2 },
274
+ { id: "mistralai/mixtral-8x22b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 65536, supportsTools: true, supportsVision: false, inputCostPerMTok: 2, outputCostPerMTok: 6, cacheReadCostPerMTok: 0.2 },
275
+ { id: "mistralai/voxtral-small-24b-2507", provider: "openrouter", api: "openai-completions", contextWindow: 32000, maxTokens: 32000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.1, outputCostPerMTok: 0.3, cacheReadCostPerMTok: 0.01 },
276
+ { id: "moonshotai/kimi-k2", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.57, outputCostPerMTok: 2.3 },
277
+ { id: "moonshotai/kimi-k2-0905", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.6, outputCostPerMTok: 2.5 },
278
+ { id: "moonshotai/kimi-k2-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.5 },
279
+ { id: "moonshotai/kimi-k2.5", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.4, outputCostPerMTok: 1.9, cacheReadCostPerMTok: 0.09 },
280
+ { id: "moonshotai/kimi-k2.6", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.684, outputCostPerMTok: 3.42, cacheReadCostPerMTok: 0.144 },
281
+ { id: "moonshotai/kimi-k2.6:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
282
+ { id: "morph/morph-v3-fast", provider: "openrouter", api: "openai-completions", contextWindow: 81920, maxTokens: 38000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.8, outputCostPerMTok: 1.2 },
283
+ { id: "morph/morph-v3-large", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 131072, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.9, outputCostPerMTok: 1.9 },
284
+ { id: "nex-agi/deepseek-v3.1-nex-n1", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 163840, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.135, outputCostPerMTok: 0.5 },
285
+ { id: "nousresearch/hermes-3-llama-3.1-405b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 1, outputCostPerMTok: 1 },
286
+ { id: "nousresearch/hermes-3-llama-3.1-405b:free", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
287
+ { id: "nousresearch/hermes-3-llama-3.1-70b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.3, outputCostPerMTok: 0.3 },
288
+ { id: "nousresearch/hermes-4-405b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 3 },
289
+ { id: "nousresearch/hermes-4-70b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.13, outputCostPerMTok: 0.4 },
290
+ { id: "nvidia/llama-3.3-nemotron-super-49b-v1.5", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4 },
291
+ { id: "nvidia/nemotron-3-nano-30b-a3b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 228000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.05, outputCostPerMTok: 0.2 },
292
+ { id: "nvidia/nemotron-3-nano-30b-a3b:free", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 256000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
293
+ { id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
294
+ { id: "nvidia/nemotron-3-super-120b-a12b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.09, outputCostPerMTok: 0.45 },
295
+ { id: "nvidia/nemotron-3-super-120b-a12b:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
296
+ { id: "nvidia/nemotron-3-ultra-550b-a55b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.5, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.15 },
297
+ { id: "nvidia/nemotron-3-ultra-550b-a55b:free", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
298
+ { id: "nvidia/nemotron-3.5-content-safety:free", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 8192, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
299
+ { id: "nvidia/nemotron-nano-12b-v2-vl:free", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
300
+ { id: "nvidia/nemotron-nano-9b-v2", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.04, outputCostPerMTok: 0.16 },
301
+ { id: "nvidia/nemotron-nano-9b-v2:free", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
302
+ { id: "openai/gpt-3.5-turbo", provider: "openrouter", api: "openai-completions", contextWindow: 16385, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.5, outputCostPerMTok: 1.5 },
303
+ { id: "openai/gpt-3.5-turbo-0613", provider: "openrouter", api: "openai-completions", contextWindow: 4095, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 1, outputCostPerMTok: 2 },
304
+ { id: "openai/gpt-3.5-turbo-16k", provider: "openrouter", api: "openai-completions", contextWindow: 16385, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 3, outputCostPerMTok: 4 },
305
+ { id: "openai/gpt-3.5-turbo-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 4095, maxTokens: 4096, supportsTools: false, supportsVision: false, inputCostPerMTok: 1.5, outputCostPerMTok: 2 },
306
+ { id: "openai/gpt-4", provider: "openrouter", api: "openai-completions", contextWindow: 8191, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 30, outputCostPerMTok: 60 },
307
+ { id: "openai/gpt-4-1106-preview", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 10, outputCostPerMTok: 30 },
308
+ { id: "openai/gpt-4-turbo", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 10, outputCostPerMTok: 30 },
309
+ { id: "openai/gpt-4-turbo-preview", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4096, supportsTools: true, supportsVision: false, inputCostPerMTok: 10, outputCostPerMTok: 30 },
310
+ { id: "openai/gpt-4.1", provider: "openrouter", api: "openai-completions", contextWindow: 1047576, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 2, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.5 },
311
+ { id: "openai/gpt-4.1-mini", provider: "openrouter", api: "openai-completions", contextWindow: 1047576, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.4, outputCostPerMTok: 1.6, cacheReadCostPerMTok: 0.1 },
312
+ { id: "openai/gpt-4.1-nano", provider: "openrouter", api: "openai-completions", contextWindow: 1047576, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.025 },
313
+ { id: "openai/gpt-4o", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
314
+ { id: "openai/gpt-4o-2024-05-13", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 4096, supportsTools: true, supportsVision: true, inputCostPerMTok: 5, outputCostPerMTok: 15 },
315
+ { id: "openai/gpt-4o-2024-08-06", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 10, cacheReadCostPerMTok: 1.25 },
316
+ { id: "openai/gpt-4o-2024-11-20", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 2.5, outputCostPerMTok: 10, cacheReadCostPerMTok: 1.25 },
317
+ { id: "openai/gpt-4o-mini", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.075 },
318
+ { id: "openai/gpt-4o-mini-2024-07-18", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.075 },
319
+ { id: "openai/gpt-4o-mini-search-preview", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6 },
320
+ { id: "openai/gpt-4o-search-preview", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
321
+ { id: "openai/gpt-5", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
322
+ { id: "openai/gpt-5-chat", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: false, supportsVision: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
323
+ { id: "openai/gpt-5-codex", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
324
+ { id: "openai/gpt-5-image", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 10, outputCostPerMTok: 10, cacheReadCostPerMTok: 1.25 },
325
+ { id: "openai/gpt-5-image-mini", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 2.5, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.25 },
326
+ { id: "openai/gpt-5-mini", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.025 },
327
+ { id: "openai/gpt-5-nano", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.05, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.01 },
328
+ { id: "openai/gpt-5-pro", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 120 },
329
+ { id: "openai/gpt-5.1", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.13 },
330
+ { id: "openai/gpt-5.1-chat", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 32000, supportsTools: true, supportsVision: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.13 },
331
+ { id: "openai/gpt-5.1-codex", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.13 },
332
+ { id: "openai/gpt-5.1-codex-max", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.125 },
333
+ { id: "openai/gpt-5.1-codex-mini", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.25, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.025 },
334
+ { id: "openai/gpt-5.2", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
335
+ { id: "openai/gpt-5.2-chat", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
336
+ { id: "openai/gpt-5.2-codex", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
337
+ { id: "openai/gpt-5.2-pro", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 21, outputCostPerMTok: 168 },
338
+ { id: "openai/gpt-5.3-chat", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
339
+ { id: "openai/gpt-5.3-codex", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.75, outputCostPerMTok: 14, cacheReadCostPerMTok: 0.175 },
340
+ { id: "openai/gpt-5.4", provider: "openrouter", api: "openai-completions", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2.5, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.25 },
341
+ { id: "openai/gpt-5.4-image-2", provider: "openrouter", api: "openai-completions", contextWindow: 272000, maxTokens: 128000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 8, outputCostPerMTok: 15, cacheReadCostPerMTok: 2 },
342
+ { id: "openai/gpt-5.4-mini", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.75, outputCostPerMTok: 4.5, cacheReadCostPerMTok: 0.075 },
343
+ { id: "openai/gpt-5.4-nano", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.2, outputCostPerMTok: 1.25, cacheReadCostPerMTok: 0.02 },
344
+ { id: "openai/gpt-5.4-pro", provider: "openrouter", api: "openai-completions", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 30, outputCostPerMTok: 180 },
345
+ { id: "openai/gpt-5.5", provider: "openrouter", api: "openai-completions", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 30, cacheReadCostPerMTok: 0.5 },
346
+ { id: "openai/gpt-5.5-pro", provider: "openrouter", api: "openai-completions", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 30, outputCostPerMTok: 180 },
347
+ { id: "openai/gpt-audio", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 2.5, outputCostPerMTok: 10 },
348
+ { id: "openai/gpt-audio-mini", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.6, outputCostPerMTok: 2.4 },
349
+ { id: "openai/gpt-chat-latest", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, inputCostPerMTok: 5, outputCostPerMTok: 30, cacheReadCostPerMTok: 0.5 },
350
+ { id: "openai/gpt-oss-120b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.039, outputCostPerMTok: 0.18 },
351
+ { id: "openai/gpt-oss-120b:free", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
352
+ { id: "openai/gpt-oss-20b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.029, outputCostPerMTok: 0.14 },
353
+ { id: "openai/gpt-oss-20b:free", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
354
+ { id: "openai/gpt-oss-safeguard-20b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.075, outputCostPerMTok: 0.3, cacheReadCostPerMTok: 0.037 },
355
+ { id: "openai/o1", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 15, outputCostPerMTok: 60, cacheReadCostPerMTok: 7.5 },
356
+ { id: "openai/o1-pro", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 150, outputCostPerMTok: 600 },
357
+ { id: "openai/o3", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.5 },
358
+ { id: "openai/o3-deep-research", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 10, outputCostPerMTok: 40, cacheReadCostPerMTok: 2.5 },
359
+ { id: "openai/o3-mini", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.55 },
360
+ { id: "openai/o3-mini-high", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.55 },
361
+ { id: "openai/o3-pro", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 20, outputCostPerMTok: 80 },
362
+ { id: "openai/o4-mini", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.275 },
363
+ { id: "openai/o4-mini-deep-research", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.5 },
364
+ { id: "openai/o4-mini-high", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 100000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.1, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.275 },
365
+ { id: "openrouter/auto", provider: "openrouter", api: "openai-completions", contextWindow: 2000000, maxTokens: 2000000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
366
+ { id: "openrouter/bodybuilder", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
367
+ { id: "openrouter/free", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 8000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
368
+ { id: "openrouter/fusion", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
369
+ { id: "openrouter/owl-alpha", provider: "openrouter", api: "openai-completions", contextWindow: 1048756, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
370
+ { id: "openrouter/pareto-code", provider: "openrouter", api: "openai-completions", contextWindow: 2000000, maxTokens: 200000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
371
+ { id: "perceptron/perceptron-mk1", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 8192, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 0.15, outputCostPerMTok: 1.5 },
372
+ { id: "perplexity/sonar", provider: "openrouter", api: "openai-completions", contextWindow: 127072, maxTokens: 127072, supportsTools: false, supportsVision: true, inputCostPerMTok: 1, outputCostPerMTok: 1 },
373
+ { id: "perplexity/sonar-deep-research", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 8 },
374
+ { id: "perplexity/sonar-pro", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 8000, supportsTools: false, supportsVision: true, inputCostPerMTok: 3, outputCostPerMTok: 15 },
375
+ { id: "perplexity/sonar-pro-search", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 8000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15 },
376
+ { id: "perplexity/sonar-reasoning-pro", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 8 },
377
+ { id: "poolside/laguna-m.1:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
378
+ { id: "poolside/laguna-xs.2:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
379
+ { id: "prime-intellect/intellect-3", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.2, outputCostPerMTok: 1.1 },
380
+ { id: "qwen/qwen-2.5-72b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.36, outputCostPerMTok: 0.4 },
381
+ { id: "qwen/qwen-2.5-7b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.04, outputCostPerMTok: 0.1 },
382
+ { id: "qwen/qwen-2.5-coder-32b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.66, outputCostPerMTok: 1 },
383
+ { id: "qwen/qwen-plus", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.26, outputCostPerMTok: 0.78, cacheReadCostPerMTok: 0.052, cacheWriteCostPerMTok: 0.325 },
384
+ { id: "qwen/qwen-plus-2025-07-28", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.26, outputCostPerMTok: 0.78 },
385
+ { id: "qwen/qwen-plus-2025-07-28:thinking", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.26, outputCostPerMTok: 0.78, cacheWriteCostPerMTok: 0.325 },
386
+ { id: "qwen/qwen2.5-vl-72b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 32000, maxTokens: 8192, supportsTools: false, supportsVision: true, inputCostPerMTok: 0.25, outputCostPerMTok: 0.75 },
387
+ { id: "qwen/qwen3-14b", provider: "openrouter", api: "openai-completions", contextWindow: 40960, maxTokens: 40960, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.24 },
388
+ { id: "qwen/qwen3-235b-a22b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 8192, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.455, outputCostPerMTok: 1.82 },
389
+ { id: "qwen/qwen3-235b-a22b-2507", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.071, outputCostPerMTok: 0.1 },
390
+ { id: "qwen/qwen3-235b-a22b-thinking-2507", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.1, cacheReadCostPerMTok: 0.1 },
391
+ { id: "qwen/qwen3-30b-a3b", provider: "openrouter", api: "openai-completions", contextWindow: 40960, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.09, outputCostPerMTok: 0.45 },
392
+ { id: "qwen/qwen3-30b-a3b-instruct-2507", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 32000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.04815, outputCostPerMTok: 0.19305 },
393
+ { id: "qwen/qwen3-30b-a3b-thinking-2507", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.08, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.08 },
394
+ { id: "qwen/qwen3-32b", provider: "openrouter", api: "openai-completions", contextWindow: 40960, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.08, outputCostPerMTok: 0.28 },
395
+ { id: "qwen/qwen3-8b", provider: "openrouter", api: "openai-completions", contextWindow: 40960, maxTokens: 8192, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.05, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.05 },
396
+ { id: "qwen/qwen3-coder", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 65536, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.22, outputCostPerMTok: 1.8 },
397
+ { id: "qwen/qwen3-coder-30b-a3b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 160000, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.07, outputCostPerMTok: 0.27 },
398
+ { id: "qwen/qwen3-coder-flash", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.195, outputCostPerMTok: 0.975, cacheReadCostPerMTok: 0.039, cacheWriteCostPerMTok: 0.24375 },
399
+ { id: "qwen/qwen3-coder-next", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.11, outputCostPerMTok: 0.8, cacheReadCostPerMTok: 0.07 },
400
+ { id: "qwen/qwen3-coder-plus", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.65, outputCostPerMTok: 3.25, cacheReadCostPerMTok: 0.13, cacheWriteCostPerMTok: 0.8125 },
401
+ { id: "qwen/qwen3-coder:free", provider: "openrouter", api: "openai-completions", contextWindow: 262000, maxTokens: 262000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
402
+ { id: "qwen/qwen3-max", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.78, outputCostPerMTok: 3.9, cacheReadCostPerMTok: 0.156, cacheWriteCostPerMTok: 0.975 },
403
+ { id: "qwen/qwen3-max-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.78, outputCostPerMTok: 3.9 },
404
+ { id: "qwen/qwen3-next-80b-a3b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.09, outputCostPerMTok: 1.1 },
405
+ { id: "qwen/qwen3-next-80b-a3b-instruct:free", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 0, outputCostPerMTok: 0 },
406
+ { id: "qwen/qwen3-next-80b-a3b-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.0975, outputCostPerMTok: 0.78 },
407
+ { id: "qwen/qwen3-vl-235b-a22b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.2, outputCostPerMTok: 0.88, cacheReadCostPerMTok: 0.11 },
408
+ { id: "qwen/qwen3-vl-235b-a22b-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.26, outputCostPerMTok: 2.6 },
409
+ { id: "qwen/qwen3-vl-30b-a3b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.13, outputCostPerMTok: 0.52 },
410
+ { id: "qwen/qwen3-vl-30b-a3b-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.13, outputCostPerMTok: 1.56 },
411
+ { id: "qwen/qwen3-vl-32b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.104, outputCostPerMTok: 0.416 },
412
+ { id: "qwen/qwen3-vl-8b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.08, outputCostPerMTok: 0.5 },
413
+ { id: "qwen/qwen3-vl-8b-thinking", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.117, outputCostPerMTok: 1.365 },
414
+ { id: "qwen/qwen3.5-122b-a10b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.26, outputCostPerMTok: 2.08 },
415
+ { id: "qwen/qwen3.5-27b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.195, outputCostPerMTok: 1.56 },
416
+ { id: "qwen/qwen3.5-35b-a3b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.14, outputCostPerMTok: 1, cacheReadCostPerMTok: 0.05 },
417
+ { id: "qwen/qwen3.5-397b-a17b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.39, outputCostPerMTok: 2.34 },
418
+ { id: "qwen/qwen3.5-9b", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 81920, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.04, outputCostPerMTok: 0.15 },
419
+ { id: "qwen/qwen3.5-flash-02-23", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.065, outputCostPerMTok: 0.26 },
420
+ { id: "qwen/qwen3.5-plus-02-15", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.26, outputCostPerMTok: 1.56 },
421
+ { id: "qwen/qwen3.5-plus-20260420", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 1.8, cacheWriteCostPerMTok: 0.375 },
422
+ { id: "qwen/qwen3.6-27b", provider: "openrouter", api: "openai-completions", contextWindow: 262140, maxTokens: 262140, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.29, outputCostPerMTok: 3.2 },
423
+ { id: "qwen/qwen3.6-35b-a3b", provider: "openrouter", api: "openai-completions", contextWindow: 262140, maxTokens: 262140, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.14, outputCostPerMTok: 1 },
424
+ { id: "qwen/qwen3.6-flash", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.1875, outputCostPerMTok: 1.125, cacheWriteCostPerMTok: 0.234375 },
425
+ { id: "qwen/qwen3.6-max-preview", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.04, outputCostPerMTok: 6.24, cacheWriteCostPerMTok: 1.3 },
426
+ { id: "qwen/qwen3.6-plus", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.325, outputCostPerMTok: 1.95, cacheWriteCostPerMTok: 0.40625 },
427
+ { id: "qwen/qwen3.7-max", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 3.75, cacheReadCostPerMTok: 0.25, cacheWriteCostPerMTok: 1.5625 },
428
+ { id: "qwen/qwen3.7-plus", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.4, outputCostPerMTok: 1.6, cacheReadCostPerMTok: 0.08, cacheWriteCostPerMTok: 0.5 },
429
+ { id: "rekaai/reka-edge", provider: "openrouter", api: "openai-completions", contextWindow: 16384, maxTokens: 16384, supportsTools: true, supportsVision: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.1 },
430
+ { id: "rekaai/reka-flash-3", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 65536, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.2 },
431
+ { id: "relace/relace-apply-3", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 128000, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.85, outputCostPerMTok: 1.25 },
432
+ { id: "relace/relace-search", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 128000, supportsTools: true, supportsVision: false, inputCostPerMTok: 1, outputCostPerMTok: 3 },
433
+ { id: "sao10k/l3-lunaris-8b", provider: "openrouter", api: "openai-completions", contextWindow: 8192, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.04, outputCostPerMTok: 0.05 },
434
+ { id: "sao10k/l3.1-70b-hanami-x1", provider: "openrouter", api: "openai-completions", contextWindow: 16000, maxTokens: 16000, supportsTools: false, supportsVision: false, inputCostPerMTok: 3, outputCostPerMTok: 3 },
435
+ { id: "sao10k/l3.1-euryale-70b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.85, outputCostPerMTok: 0.85 },
436
+ { id: "sao10k/l3.3-euryale-70b", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.65, outputCostPerMTok: 0.75 },
437
+ { id: "stepfun/step-3.5-flash", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.09, outputCostPerMTok: 0.3, cacheReadCostPerMTok: 0.02 },
438
+ { id: "stepfun/step-3.7-flash", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 256000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.2, outputCostPerMTok: 1.15, cacheReadCostPerMTok: 0.04 },
439
+ { id: "switchpoint/router", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.85, outputCostPerMTok: 3.4 },
440
+ { id: "tencent/hunyuan-a13b-instruct", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, reasoning: true, inputCostPerMTok: 0.14, outputCostPerMTok: 0.57 },
441
+ { id: "tencent/hy3-preview", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.063, outputCostPerMTok: 0.21, cacheReadCostPerMTok: 0.021 },
442
+ { id: "thedrummer/cydonia-24b-v4.1", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 131072, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.3, outputCostPerMTok: 0.5, cacheReadCostPerMTok: 0.15 },
443
+ { id: "thedrummer/rocinante-12b", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.17, outputCostPerMTok: 0.43 },
444
+ { id: "thedrummer/skyfall-36b-v2", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.55, outputCostPerMTok: 0.8, cacheReadCostPerMTok: 0.25 },
445
+ { id: "thedrummer/unslopnemo-12b", provider: "openrouter", api: "openai-completions", contextWindow: 32768, maxTokens: 32768, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.4, outputCostPerMTok: 0.4 },
446
+ { id: "undi95/remm-slerp-l2-13b", provider: "openrouter", api: "openai-completions", contextWindow: 6144, maxTokens: 4096, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.45, outputCostPerMTok: 0.65 },
447
+ { id: "upstage/solar-pro-3", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.15, outputCostPerMTok: 0.6, cacheReadCostPerMTok: 0.015 },
448
+ { id: "writer/palmyra-x5", provider: "openrouter", api: "openai-completions", contextWindow: 1040000, maxTokens: 8192, supportsTools: false, supportsVision: false, inputCostPerMTok: 0.6, outputCostPerMTok: 6 },
449
+ { id: "x-ai/grok-4.20", provider: "openrouter", api: "openai-completions", contextWindow: 2000000, maxTokens: 2000000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.2 },
450
+ { id: "x-ai/grok-4.20-multi-agent", provider: "openrouter", api: "openai-completions", contextWindow: 2000000, maxTokens: 2000000, supportsTools: false, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 6, cacheReadCostPerMTok: 0.2 },
451
+ { id: "x-ai/grok-4.3", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 1000000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.25, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.2 },
452
+ { id: "x-ai/grok-build-0.1", provider: "openrouter", api: "openai-completions", contextWindow: 256000, maxTokens: 256000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 2, cacheReadCostPerMTok: 0.2 },
453
+ { id: "xiaomi/mimo-v2-flash", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 65536, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.1, outputCostPerMTok: 0.3, cacheReadCostPerMTok: 0.01 },
454
+ { id: "xiaomi/mimo-v2.5", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 131072, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.14, outputCostPerMTok: 0.28, cacheReadCostPerMTok: 0.0028 },
455
+ { id: "xiaomi/mimo-v2.5-pro", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.435, outputCostPerMTok: 0.87, cacheReadCostPerMTok: 0.0036 },
456
+ { id: "z-ai/glm-4-32b", provider: "openrouter", api: "openai-completions", contextWindow: 128000, maxTokens: 128000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.1, outputCostPerMTok: 0.1 },
457
+ { id: "z-ai/glm-4.5", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 98304, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.2, cacheReadCostPerMTok: 0.11 },
458
+ { id: "z-ai/glm-4.5-air", provider: "openrouter", api: "openai-completions", contextWindow: 131070, maxTokens: 131070, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.125, outputCostPerMTok: 0.85, cacheReadCostPerMTok: 0.06 },
459
+ { id: "z-ai/glm-4.5-air:free", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 96000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0 },
460
+ { id: "z-ai/glm-4.5v", provider: "openrouter", api: "openai-completions", contextWindow: 65536, maxTokens: 16384, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 1.8, cacheReadCostPerMTok: 0.11 },
461
+ { id: "z-ai/glm-4.6", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.43, outputCostPerMTok: 1.74, cacheReadCostPerMTok: 0.08 },
462
+ { id: "z-ai/glm-4.6v", provider: "openrouter", api: "openai-completions", contextWindow: 131072, maxTokens: 24000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 0.9, cacheReadCostPerMTok: 0.05 },
463
+ { id: "z-ai/glm-4.7", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.4, outputCostPerMTok: 1.75, cacheReadCostPerMTok: 0.08 },
464
+ { id: "z-ai/glm-4.7-flash", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.06, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.01 },
465
+ { id: "z-ai/glm-5", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 16384, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 1.92, cacheReadCostPerMTok: 0.12 },
466
+ { id: "z-ai/glm-5-turbo", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.2, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.24 },
467
+ { id: "z-ai/glm-5.1", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.98, outputCostPerMTok: 3.08, cacheReadCostPerMTok: 0.182 },
468
+ { id: "z-ai/glm-5v-turbo", provider: "openrouter", api: "openai-completions", contextWindow: 202752, maxTokens: 131072, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.2, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.24 },
469
+ { id: "~anthropic/claude-haiku-latest", provider: "openrouter", api: "openai-completions", contextWindow: 200000, maxTokens: 64000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 5, cacheReadCostPerMTok: 0.1, cacheWriteCostPerMTok: 1.25 },
470
+ { id: "~anthropic/claude-opus-latest", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 25, cacheReadCostPerMTok: 0.5, cacheWriteCostPerMTok: 6.25 },
471
+ { id: "~anthropic/claude-sonnet-latest", provider: "openrouter", api: "openai-completions", contextWindow: 1000000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 3, outputCostPerMTok: 15, cacheReadCostPerMTok: 0.3, cacheWriteCostPerMTok: 3.75 },
472
+ { id: "~google/gemini-flash-latest", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.5, outputCostPerMTok: 9, cacheReadCostPerMTok: 0.15, cacheWriteCostPerMTok: 0.083333 },
473
+ { id: "~google/gemini-pro-latest", provider: "openrouter", api: "openai-completions", contextWindow: 1048576, maxTokens: 65536, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 2, outputCostPerMTok: 12, cacheReadCostPerMTok: 0.2, cacheWriteCostPerMTok: 0.375 },
474
+ { id: "~moonshotai/kimi-latest", provider: "openrouter", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.684, outputCostPerMTok: 3.42, cacheReadCostPerMTok: 0.144 },
475
+ { id: "~openai/gpt-latest", provider: "openrouter", api: "openai-completions", contextWindow: 1050000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 5, outputCostPerMTok: 30, cacheReadCostPerMTok: 0.5 },
476
+ { id: "~openai/gpt-mini-latest", provider: "openrouter", api: "openai-completions", contextWindow: 400000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.75, outputCostPerMTok: 4.5, cacheReadCostPerMTok: 0.075 },
477
+ ],
478
+ "deepseek": [
479
+ { id: "deepseek-chat", provider: "deepseek", api: "openai-completions", contextWindow: 1000000, maxTokens: 384000, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.14, outputCostPerMTok: 0.28, cacheReadCostPerMTok: 0.028 },
480
+ { id: "deepseek-reasoner", provider: "deepseek", api: "openai-completions", contextWindow: 1000000, maxTokens: 384000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.14, outputCostPerMTok: 0.28, cacheReadCostPerMTok: 0.028 },
481
+ { id: "deepseek-v4-flash", provider: "deepseek", api: "openai-completions", contextWindow: 1000000, maxTokens: 384000, supportsTools: true, supportsVision: false, reasoning: true, thinkingLevelMap: { "xhigh": "xhigh" }, inputCostPerMTok: 0.14, outputCostPerMTok: 0.28, cacheReadCostPerMTok: 0.0028 },
482
+ { id: "deepseek-v4-pro", provider: "deepseek", api: "openai-completions", contextWindow: 1000000, maxTokens: 384000, supportsTools: true, supportsVision: false, reasoning: true, thinkingLevelMap: { "xhigh": "xhigh" }, inputCostPerMTok: 0.435, outputCostPerMTok: 0.87, cacheReadCostPerMTok: 0.003625 },
483
+ ],
484
+ "minimax": [
485
+ { id: "MiniMax-M2", provider: "minimax", api: "openai-completions", contextWindow: 196608, maxTokens: 128000, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2 },
486
+ { id: "MiniMax-M2.1", provider: "minimax", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2 },
487
+ { id: "MiniMax-M2.5", provider: "minimax", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2, cacheReadCostPerMTok: 0.03, cacheWriteCostPerMTok: 0.375 },
488
+ { id: "MiniMax-M2.5-highspeed", provider: "minimax", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.4, cacheReadCostPerMTok: 0.06, cacheWriteCostPerMTok: 0.375 },
489
+ { id: "MiniMax-M2.7", provider: "minimax", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 1.2, cacheReadCostPerMTok: 0.06, cacheWriteCostPerMTok: 0.375 },
490
+ { id: "MiniMax-M2.7-highspeed", provider: "minimax", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.4, cacheReadCostPerMTok: 0.06, cacheWriteCostPerMTok: 0.375 },
491
+ { id: "MiniMax-M3", provider: "minimax", api: "openai-completions", contextWindow: 512000, maxTokens: 128000, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.4, cacheReadCostPerMTok: 0.12 },
492
+ ],
493
+ "glm": [
494
+ { id: "glm-4.5", provider: "glm", api: "openai-completions", contextWindow: 131072, maxTokens: 98304, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.2, cacheReadCostPerMTok: 0.11, cacheWriteCostPerMTok: 0 },
495
+ { id: "glm-4.5-air", provider: "glm", api: "openai-completions", contextWindow: 131072, maxTokens: 98304, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.2, outputCostPerMTok: 1.1, cacheReadCostPerMTok: 0.03, cacheWriteCostPerMTok: 0 },
496
+ { id: "glm-4.5-flash", provider: "glm", api: "openai-completions", contextWindow: 131072, maxTokens: 98304, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0, cacheReadCostPerMTok: 0, cacheWriteCostPerMTok: 0 },
497
+ { id: "glm-4.5v", provider: "glm", api: "openai-completions", contextWindow: 64000, maxTokens: 16384, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 1.8 },
498
+ { id: "glm-4.6", provider: "glm", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.2, cacheReadCostPerMTok: 0.11, cacheWriteCostPerMTok: 0 },
499
+ { id: "glm-4.6v", provider: "glm", api: "openai-completions", contextWindow: 128000, maxTokens: 32768, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.3, outputCostPerMTok: 0.9 },
500
+ { id: "glm-4.7", provider: "glm", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.2, cacheReadCostPerMTok: 0.11, cacheWriteCostPerMTok: 0 },
501
+ { id: "glm-4.7-flash", provider: "glm", api: "openai-completions", contextWindow: 200000, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0, outputCostPerMTok: 0, cacheReadCostPerMTok: 0, cacheWriteCostPerMTok: 0 },
502
+ { id: "glm-4.7-flashx", provider: "glm", api: "openai-completions", contextWindow: 200000, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.07, outputCostPerMTok: 0.4, cacheReadCostPerMTok: 0.01, cacheWriteCostPerMTok: 0 },
503
+ { id: "glm-5", provider: "glm", api: "openai-completions", contextWindow: 204800, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1, outputCostPerMTok: 3.2, cacheReadCostPerMTok: 0.2, cacheWriteCostPerMTok: 0 },
504
+ { id: "glm-5-turbo", provider: "glm", api: "openai-completions", contextWindow: 200000, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.2, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.24, cacheWriteCostPerMTok: 0 },
505
+ { id: "glm-5.1", provider: "glm", api: "openai-completions", contextWindow: 200000, maxTokens: 131072, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.4, outputCostPerMTok: 4.4, cacheReadCostPerMTok: 0.26, cacheWriteCostPerMTok: 0 },
506
+ { id: "glm-5v-turbo", provider: "glm", api: "openai-completions", contextWindow: 200000, maxTokens: 131072, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 1.2, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.24, cacheWriteCostPerMTok: 0 },
507
+ ],
508
+ "kimi": [
509
+ { id: "kimi-k2-0711-preview", provider: "kimi", api: "openai-completions", contextWindow: 131072, maxTokens: 16384, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.6, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.15 },
510
+ { id: "kimi-k2-0905-preview", provider: "kimi", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 0.6, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.15 },
511
+ { id: "kimi-k2-thinking", provider: "kimi", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 2.5, cacheReadCostPerMTok: 0.15 },
512
+ { id: "kimi-k2-thinking-turbo", provider: "kimi", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, reasoning: true, inputCostPerMTok: 1.15, outputCostPerMTok: 8, cacheReadCostPerMTok: 0.15 },
513
+ { id: "kimi-k2-turbo-preview", provider: "kimi", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: false, inputCostPerMTok: 2.4, outputCostPerMTok: 10, cacheReadCostPerMTok: 0.6 },
514
+ { id: "kimi-k2.5", provider: "kimi", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.6, outputCostPerMTok: 3, cacheReadCostPerMTok: 0.1 },
515
+ { id: "kimi-k2.6", provider: "kimi", api: "openai-completions", contextWindow: 262144, maxTokens: 262144, supportsTools: true, supportsVision: true, reasoning: true, inputCostPerMTok: 0.95, outputCostPerMTok: 4, cacheReadCostPerMTok: 0.16 },
516
+ ],
517
+ };
518
+ //# sourceMappingURL=known-models.generated.js.map