main 4509ec7

extra_models.go RawHistoryFolder

1package provider
2
3// Hand-curated catalog supplements that the bulk builtin catalog
4// (catalog_builtin.go) doesn't cover.
5//
6//   - openai-responses: zut-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}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 476

↑↓ moveenter openesc close