1package provider
2
3// Hand-curated catalog supplements that the bulk builtin catalog
4// (catalog_builtin.go) doesn't cover.
5//
6// - openai-responses: zot-specific provider id for the public OpenAI
7// Responses API (api.openai.com/v1/responses). Separate from
8// `openai` (Chat Completions) and `openai-codex` (ChatGPT subscription).
9// - kimi/kimi-k2-thinking: matches the Anthropic-Messages endpoint
10// at api.kimi.com/coding; not present in the bulk builtin file
11// because the `kimi` provider lives in models.go alongside the
12// other curated providers.
13
14func init() { Catalog = append(Catalog, supplementCatalog...) }
15
16var supplementCatalog = []Model{
17 // ----- kimi (anthropic-messages on api.kimi.com/coding) -----
18 {Provider: "kimi", ID: "kimi-k2-thinking", DisplayName: "Kimi K2 Thinking",
19 ContextWindow: 262144, MaxOutput: 32000, Reasoning: true,
20 BaseURL: "https://api.kimi.com/coding"},
21 {Provider: "kimi", ID: "k3", DisplayName: "Kimi K3",
22 ContextWindow: 262144, MaxOutput: 131072, Reasoning: true,
23 PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3,
24 BaseURL: "https://api.kimi.com/coding"},
25
26 // ----- Kimi K3 on OpenAI-compatible providers -----
27 {Provider: "moonshotai", ID: "kimi-k3", DisplayName: "Kimi K3",
28 ContextWindow: 262144, MaxOutput: 131072, Reasoning: true,
29 PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3,
30 BaseURL: "https://api.moonshot.ai/v1"},
31 {Provider: "moonshotai-cn", ID: "kimi-k3", DisplayName: "Kimi K3",
32 ContextWindow: 262144, MaxOutput: 131072, Reasoning: true,
33 PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3,
34 BaseURL: "https://api.moonshot.cn/v1"},
35 {Provider: "openrouter", ID: "moonshotai/kimi-k3", DisplayName: "Kimi K3",
36 ContextWindow: 262144, MaxOutput: 131072, Reasoning: true,
37 PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3,
38 BaseURL: "https://openrouter.ai/api/v1"},
39 {Provider: "vercel-ai-gateway", ID: "moonshotai/kimi-k3", DisplayName: "Kimi K3",
40 ContextWindow: 262144, MaxOutput: 131072, Reasoning: true,
41 PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3,
42 BaseURL: "https://ai-gateway.vercel.sh"},
43
44 // ----- xAI Responses API -----
45 {Provider: "xai", ID: "grok-4.5", DisplayName: "Grok 4.5", API: APIResponses,
46 ContextWindow: 2000000, MaxOutput: 30000, Reasoning: true,
47 PriceInput: 1.25, PriceOutput: 2.5, PriceCacheRead: 0.2,
48 BaseURL: "https://api.x.ai/v1"},
49
50 // ----- openai-responses (public OpenAI Responses API) -----
51 {Provider: "openai-responses", ID: "gpt-5", DisplayName: "GPT-5 (Responses)",
52 ContextWindow: 400000, MaxOutput: 128000, Reasoning: true,
53 PriceInput: 1.25, PriceOutput: 10.00, PriceCacheRead: 0.125},
54 {Provider: "openai-responses", ID: "gpt-5-mini", DisplayName: "GPT-5 mini (Responses)",
55 ContextWindow: 400000, MaxOutput: 128000, Reasoning: true,
56 PriceInput: 0.25, PriceOutput: 2.00, PriceCacheRead: 0.025},
57 {Provider: "openai-responses", ID: "gpt-5-nano", DisplayName: "GPT-5 nano (Responses)",
58 ContextWindow: 400000, MaxOutput: 128000, Reasoning: true,
59 PriceInput: 0.05, PriceOutput: 0.40, PriceCacheRead: 0.005},
60 {Provider: "openai-responses", ID: "gpt-5-codex", DisplayName: "GPT-5 Codex (Responses)",
61 ContextWindow: 400000, MaxOutput: 128000, Reasoning: true,
62 PriceInput: 1.25, PriceOutput: 10.00, PriceCacheRead: 0.125},
63 {Provider: "openai-responses", ID: "o3", DisplayName: "o3 (Responses)",
64 ContextWindow: 200000, MaxOutput: 100000, Reasoning: true,
65 PriceInput: 2.00, PriceOutput: 8.00, PriceCacheRead: 0.50},
66 {Provider: "openai-responses", ID: "o4-mini", DisplayName: "o4-mini (Responses)",
67 ContextWindow: 200000, MaxOutput: 100000, Reasoning: true,
68 PriceInput: 1.10, PriceOutput: 4.40, PriceCacheRead: 0.275},
69}