@acedatacloud/openclaw-provider 2026.5.34 → 2026.10.1

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 (78) hide show
  1. package/README.md +72 -59
  2. package/assets/icon.png +0 -0
  3. package/dist/index.d.ts +4 -10
  4. package/dist/index.js +33 -19
  5. package/dist/src/chat/generated-catalog.d.ts +9 -7
  6. package/dist/src/chat/generated-catalog.js +3893 -65
  7. package/dist/src/chat/onboard.d.ts +1 -1
  8. package/dist/src/chat/onboard.js +13 -2
  9. package/dist/src/chat/provider-catalog.d.ts +4 -2
  10. package/dist/src/chat/provider-catalog.js +2 -51
  11. package/dist/src/chat/runtime.d.ts +4 -0
  12. package/dist/src/chat/runtime.js +77 -0
  13. package/dist/src/constants.d.ts +1 -1
  14. package/dist/src/constants.js +1 -1
  15. package/dist/src/search/acedata-search-config.js +6 -4
  16. package/dist/src/search/acedata-search-provider.d.ts +1 -1
  17. package/dist/src/search/acedata-search-shared.d.ts +2 -1
  18. package/dist/src/search/acedata-search-shared.js +37 -6
  19. package/dist/src/services/catalog.d.ts +46 -0
  20. package/dist/src/services/catalog.js +24 -0
  21. package/dist/src/services/client.d.ts +36 -0
  22. package/dist/src/services/client.js +315 -0
  23. package/dist/src/services/contracts/face.json +16 -0
  24. package/dist/src/services/contracts/fish-audio.json +15 -0
  25. package/dist/src/services/contracts/flux.json +13 -0
  26. package/dist/src/services/contracts/google-search.json +9 -0
  27. package/dist/src/services/contracts/gpt-image.json +13 -0
  28. package/dist/src/services/contracts/grok.json +12 -0
  29. package/dist/src/services/contracts/happyhorse.json +11 -0
  30. package/dist/src/services/contracts/kling.json +20 -0
  31. package/dist/src/services/contracts/midjourney.json +17 -0
  32. package/dist/src/services/contracts/minimax.json +13 -0
  33. package/dist/src/services/contracts/nano-banana.json +12 -0
  34. package/dist/src/services/contracts/qwen-image.json +11 -0
  35. package/dist/src/services/contracts/seedance.json +11 -0
  36. package/dist/src/services/contracts/seedream.json +13 -0
  37. package/dist/src/services/contracts/suno.json +27 -0
  38. package/dist/src/services/contracts/veo.json +15 -0
  39. package/dist/src/services/contracts/wan.json +12 -0
  40. package/dist/src/services/media.d.ts +25 -0
  41. package/dist/src/services/media.js +350 -0
  42. package/dist/src/services/parameters.d.ts +6 -0
  43. package/dist/src/services/parameters.js +165 -0
  44. package/dist/src/services/tools.d.ts +6 -0
  45. package/dist/src/services/tools.js +59 -0
  46. package/docs/architecture.md +58 -0
  47. package/docs/capabilities.md +75 -0
  48. package/docs/cookbook.md +77 -0
  49. package/docs/model-catalog.md +126 -0
  50. package/openclaw.plugin.json +5679 -8
  51. package/package.json +31 -23
  52. package/skills/acedata-face/SKILL.md +14 -0
  53. package/skills/acedata-fish-audio/SKILL.md +20 -0
  54. package/skills/acedata-flux/SKILL.md +18 -0
  55. package/skills/acedata-google-search/SKILL.md +14 -0
  56. package/skills/acedata-gpt-image/SKILL.md +18 -0
  57. package/skills/acedata-grok/SKILL.md +17 -0
  58. package/skills/acedata-happyhorse/SKILL.md +16 -0
  59. package/skills/acedata-kling/SKILL.md +25 -0
  60. package/skills/acedata-midjourney/SKILL.md +22 -0
  61. package/skills/acedata-minimax/SKILL.md +18 -0
  62. package/skills/acedata-nano-banana/SKILL.md +17 -0
  63. package/skills/acedata-qwen-image/SKILL.md +16 -0
  64. package/skills/acedata-seedance/SKILL.md +16 -0
  65. package/skills/acedata-seedream/SKILL.md +18 -0
  66. package/skills/acedata-suno/SKILL.md +32 -0
  67. package/skills/acedata-veo/SKILL.md +20 -0
  68. package/skills/acedata-wan/SKILL.md +17 -0
  69. package/index.ts +0 -110
  70. package/src/chat/generated-catalog.ts +0 -77
  71. package/src/chat/model-overrides.json +0 -93
  72. package/src/chat/onboard.ts +0 -33
  73. package/src/chat/provider-catalog.ts +0 -73
  74. package/src/constants.ts +0 -3
  75. package/src/search/acedata-search-client.ts +0 -160
  76. package/src/search/acedata-search-config.ts +0 -76
  77. package/src/search/acedata-search-provider.ts +0 -80
  78. package/src/search/acedata-search-shared.ts +0 -29
@@ -0,0 +1,58 @@
1
+ # Provider architecture and distribution
2
+
3
+ ## Decision
4
+
5
+ Ship one vendor-maintained `@acedatacloud/openclaw-provider` package in this repository.
6
+ Keep chat, search, shared transport, native media adapters and per-service contracts in separate modules.
7
+
8
+ | Option | Installation and auth | Maintenance/review | Discovery | Decision |
9
+ | --- | --- | --- | --- | --- |
10
+ | One package per service | Up to 18 installs and repeated setup | Many releases, scans and duplicated transport | Many similar listings; no guaranteed ranking benefit | Not the initial OpenClaw design |
11
+ | LLM package plus media package | Two installs; shared credentials need coordination | Two release/security boundaries | Clear category split | Reasonable if ownership or dependencies diverge later |
12
+ | One vendor provider, modular capabilities | One install; shared key or optional service-scoped keys | One reviewed transport; independently tested adapters | Models category plus native media capability discovery, named service models and tools | Selected |
13
+
14
+ OpenClaw's provider guide registers media and search beside text inference. Its OpenAI,
15
+ Google, MiniMax and fal providers use that pattern. A plugin is an ownership boundary;
16
+ a capability is a host contract. Dify's independent package convention is not an
17
+ OpenClaw requirement. We do not add vendor-specific code to core.
18
+
19
+ - [Provider media and search](https://docs.openclaw.ai/plugins/sdk-provider-plugins/media-and-search)
20
+ - [Provider voice](https://docs.openclaw.ai/plugins/sdk-provider-plugins/voice-and-audio)
21
+ - [Adding capabilities](https://docs.openclaw.ai/plugins/adding-capabilities)
22
+ - [Manifest model fields](https://docs.openclaw.ai/plugins/manifest/models)
23
+ - [ClawHub publishing](https://github.com/openclaw/clawhub/blob/main/docs/publishing.md)
24
+
25
+ ## Native contracts and advanced tools
26
+
27
+ Use native image/video/music/speech/search providers for common generation. The host
28
+ owns model selection and its normal policy and delivery behavior. We do not introduce
29
+ model fallback or replace a requested model. Advanced operations use optional,
30
+ namespaced tools registered in `contracts.tools`; operators allowlist only what they
31
+ need. Tool metadata exists before runtime loading. Native media models are registered
32
+ in the unified model catalog with service-specific provider IDs and labels.
33
+
34
+ The public Dify request contracts are reused at pinned source commits, with one shared
35
+ TypeScript request validator, authentication/transport and task-normalization layer.
36
+ Every creation request is sent once. A pending/timeout result preserves the task ID;
37
+ retrieval never resubmits generation. Deletions/archive operations require explicit
38
+ `confirm: true`. Returned data omits credentials, raw requests and internal routes.
39
+
40
+ All authenticated API calls go to `https://api.acedata.cloud` with redirects disabled.
41
+ Generated media downloads carry no API key and use OpenClaw's public SSRF guard and
42
+ bounded response reads. Reference URLs and prompts go to the service to perform the
43
+ requested operation. Advanced media tools can incur Ace Credits without a separate
44
+ provider-specific approval dialog: normal OpenClaw policy still applies. Larger counts,
45
+ higher resolutions and premium models may cost more. Install consent is not a spending
46
+ cap. Use service-scoped credentials and the platform's own account limits where needed.
47
+
48
+ ## Discovery and truthful marketing
49
+
50
+ Use the single `models` category and actual native media contracts. OpenClaw derives
51
+ Media membership for enabled plugins that declare generation capabilities. Include
52
+ service names, concrete examples and exact tool/model identifiers in documentation,
53
+ skill descriptions and package metadata; do not repeat near-identical packages to
54
+ influence ranking. Use the original Ace Data Cloud logo. Names such as Suno/Veo identify
55
+ services accessible through Ace Data Cloud, not endorsements from those vendors.
56
+
57
+ An installable npm release, a ClawHub staged upload, a public market listing and an
58
+ official publisher badge are separate gates. Claims and links must match verified state.
@@ -0,0 +1,75 @@
1
+ # Service capability reference
2
+
3
+ One Ace Data Cloud provider package includes the existing 90-model chat catalog and
4
+ 17 service modules with 97 optional operations. The source baseline is the current
5
+ Dify service repositories, verified on October 11, 2026. Each contract records its
6
+ immutable repository commit. Full operation parameters are exposed in the tool schema.
7
+
8
+ Use native providers for ordinary image, video, music and speech generation. Use the
9
+ named optional tools for advanced operations, task recovery and batch retrieval.
10
+ A successful task submission is not completed output. Keep the task ID and retrieve
11
+ it until the result is terminal; never repeat creation just because polling timed out.
12
+
13
+ | Service | Operations | Stable optional tool names |
14
+ | --- | ---: | --- |
15
+ | Face Transform | 1 | `acedata_face_transform` |
16
+ | Fish Audio | 7 | `acedata_fish_generate_audio`, `acedata_fish_search_voices`, `acedata_fish_get_voice`, `acedata_fish_create_model`, `acedata_fish_create_voice`, `acedata_fish_task_retrieve`, `acedata_fish_tasks_retrieve_batch` |
17
+ | Flux | 5 | `acedata_flux_generate_image`, `acedata_flux_edit_image`, `acedata_flux_generate_video`, `acedata_flux_task_retrieve`, `acedata_flux_tasks_retrieve_batch` |
18
+ | Google Search | 1 | `acedata_serp_google` |
19
+ | GPT Image | 5 | `acedata_gpt_image_generate_image`, `acedata_gpt_image_edit_image`, `acedata_gpt_image_list_tasks`, `acedata_gpt_image_task_retrieve`, `acedata_gpt_image_tasks_retrieve_batch` |
20
+ | Grok | 4 | `acedata_grok_generate_video`, `acedata_grok_chat_completions`, `acedata_grok_task_retrieve`, `acedata_grok_tasks_retrieve_batch` |
21
+ | Happy Horse | 3 | `acedata_happyhorse_generate_video`, `acedata_happyhorse_task_retrieve`, `acedata_happyhorse_tasks_retrieve_batch` |
22
+ | Kling | 12 | `acedata_kling_generate_video`, `acedata_kling_generate_motion`, `acedata_kling_lip_sync`, `acedata_kling_talking_photo`, `acedata_kling_goods_studio`, `acedata_kling_video_commerce`, `acedata_kling_virtual_try_on`, `acedata_kling_apparel`, `acedata_kling_voices`, `acedata_kling_elements`, `acedata_kling_task_retrieve`, `acedata_kling_tasks_retrieve_batch` |
23
+ | Midjourney | 9 | `acedata_midjourney_imagine`, `acedata_midjourney_edits`, `acedata_midjourney_describe`, `acedata_midjourney_translate`, `acedata_midjourney_videos`, `acedata_midjourney_get_seed`, `acedata_midjourney_shorten`, `acedata_midjourney_task_retrieve`, `acedata_midjourney_tasks_retrieve_batch` |
24
+ | MiniMax H3 | 5 | `acedata_minimax_generate_video`, `acedata_minimax_list_tasks`, `acedata_minimax_delete_task`, `acedata_minimax_task_retrieve`, `acedata_minimax_tasks_retrieve_batch` |
25
+ | Nano Banana | 4 | `acedata_nano_banana_generate_image`, `acedata_nano_banana_edit_image`, `acedata_nano_banana_task_retrieve`, `acedata_nano_banana_tasks_retrieve_batch` |
26
+ | Qwen Image | 3 | `acedata_qwen_image`, `acedata_qwen_image_task_retrieve`, `acedata_qwen_image_tasks_retrieve_batch` |
27
+ | Seedance | 3 | `acedata_seedance_generate_video`, `acedata_seedance_task_retrieve`, `acedata_seedance_tasks_retrieve_batch` |
28
+ | Seedream | 5 | `acedata_seedream_generate_image`, `acedata_seedream_edit_image`, `acedata_seedream_decompose_image`, `acedata_seedream_task_retrieve`, `acedata_seedream_tasks_retrieve_batch` |
29
+ | Suno | 19 | `acedata_suno_generate_audios`, `acedata_suno_generate_lyrics`, `acedata_suno_upload_reference_audio`, `acedata_suno_get_mp4`, `acedata_suno_get_mp3`, `acedata_suno_get_wav`, `acedata_suno_get_midi`, `acedata_suno_get_timing`, `acedata_suno_create_vox_audio`, `acedata_suno_enhance_style`, `acedata_suno_mashup_lyrics`, `acedata_suno_create_voice`, `acedata_suno_create_persona`, `acedata_suno_list_personas`, `acedata_suno_delete_persona`, `acedata_suno_custom_models`, `acedata_suno_projects`, `acedata_suno_task_retrieve`, `acedata_suno_tasks_retrieve_batch` |
30
+ | Veo | 7 | `acedata_veo_generate_video`, `acedata_veo_extend_video`, `acedata_veo_edit_objects`, `acedata_veo_reshoot_video`, `acedata_veo_upsample_video`, `acedata_veo_task_retrieve`, `acedata_veo_tasks_retrieve_batch` |
31
+ | Wan | 4 | `acedata_wan_generate_video`, `acedata_wan3_generate`, `acedata_wan_task_retrieve`, `acedata_wan_tasks_retrieve_batch` |
32
+
33
+ ## Enabling only the tools you need
34
+
35
+ ```json
36
+ {
37
+ "tools": {
38
+ "alsoAllow": ["acedata_suno_generate_audios", "acedata_suno_task_retrieve"]
39
+ }
40
+ }
41
+ ```
42
+
43
+ Use your normal Ace Data Cloud provider credential. A key scoped to chat alone cannot
44
+ access media services. Configure service-scoped overrides under
45
+ `plugins.entries.acedatacloud.config.serviceCredentials.<service-id>.apiKey` when
46
+ needed. Do not put keys in prompts, tool arguments or issue reports.
47
+
48
+ ## Native model references
49
+
50
+ Examples: `acedatacloud-nano-banana/nano-banana-2.1`,
51
+ `acedatacloud-gpt-image/gpt-image-2`, `acedatacloud-seedance/doubao-seedance-2-0-mini-260615`,
52
+ `acedatacloud-veo/veo31-fast`, `acedatacloud-suno/chirp-v6` and
53
+ `acedatacloud-fish-audio/s2-pro`. Native media model choice is separate from the chat
54
+ model. No media default replaces an existing user choice during onboarding.
55
+
56
+ ## Scope and availability
57
+
58
+ Generation/edit/task APIs, controls and advanced operations match the pinned Dify
59
+ contracts. This does not claim every model, expensive parameter combination or destructive
60
+ operation has been executed live. Automated contract proof, native runtime proof and
61
+ representative real API results are recorded separately.
62
+
63
+ Hailuo, Luma and Producer have no successful Dify primary-workflow recovery evidence
64
+ as of this baseline and are not advertised as working capabilities. Sora is retired.
65
+ The model catalog does not silently convert image products into chat models. Realtime
66
+ voice, transcription, embeddings and perception must use their own verified API contracts;
67
+ text-to-speech is not a claim of support for those different capabilities.
68
+
69
+ ## Billing and data
70
+
71
+ Generation and paid tools consume Ace Credits. Model, resolution, duration and count
72
+ affect cost. Reference files/URLs and prompts are sent to Ace Data Cloud. See the
73
+ [platform service pricing](https://platform.acedata.cloud) before choosing expensive
74
+ options. Each tool returns sanitized result data plus task/trace IDs. Service-specific
75
+ source schemas and defaults are checked in under `src/services/contracts/`.
@@ -0,0 +1,77 @@
1
+ # Configure Ace Data Cloud in OpenClaw
2
+
3
+ Download the archive from the [GitHub release](https://github.com/AceDataCloud/OpenClawProvider/releases/tag/v2026.10.1),
4
+ install it, and use the onboarding prompt for the API key:
5
+
6
+ ```sh
7
+ openclaw plugins install npm-pack:./acedatacloud-openclaw-provider-2026.10.1.tgz
8
+ openclaw onboard --auth-choice acedatacloud-api-key
9
+ ```
10
+
11
+ The package is vendor maintained. A GitHub release does not imply npm publication,
12
+ OpenClaw bundling or ClawHub approval. Review the host's install prompts.
13
+
14
+ For environment-based authentication, set `ACEDATA_API_KEY` or
15
+ `ACEDATACLOUD_API_KEY` in the environment where OpenClaw runs. Non-interactive
16
+ onboarding accepts `--acedata-api-key`; prefer the interactive prompt to avoid
17
+ putting keys in shell history.
18
+
19
+ Select a model and inspect the full available catalog:
20
+
21
+ ```sh
22
+ openclaw models set acedatacloud/gpt-4.1-mini
23
+ openclaw models list --provider acedatacloud
24
+ openclaw infer model run --model acedatacloud/gpt-4.1-mini --prompt "Reply with OPENCLAW_OK" --local
25
+ ```
26
+
27
+ Each model selects its documented API and base URL. Claude Opus/Sonnet 5.5 use
28
+ Messages with Bearer authentication; Responses-only models use Responses. Other
29
+ models use their family's Chat Completions endpoint. See [the supported
30
+ catalog](model-catalog.md) for all 90 model IDs, capabilities, and reference costs.
31
+ Image, video, and music generation are separate capabilities.
32
+
33
+ ```sh
34
+ openclaw models set acedatacloud/gpt-6.1-sol
35
+ openclaw models set acedatacloud/claude-sonnet-5-5
36
+ openclaw models set acedatacloud/gemini-3.8-flash
37
+ ```
38
+
39
+ The default remains GPT-4.1 mini for new installations. Existing model selections
40
+ are preserved. The model picker exposes only the selected model's supported
41
+ reasoning controls; account access and balance still apply.
42
+
43
+ ## Optional web search
44
+
45
+ An appropriately scoped search API key is required. The plugin reuses the named
46
+ environment variables, or reads an explicit plugin-scoped search key:
47
+
48
+ ```json
49
+ {
50
+ "plugins": {
51
+ "entries": {
52
+ "acedatacloud": {
53
+ "enabled": true,
54
+ "config": { "webSearch": { "apiKey": "YOUR_SEARCH_KEY" } }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ ```
60
+
61
+ ```sh
62
+ openclaw infer web search --provider acedatacloud --query "OpenClaw" --limit 2 --json
63
+ ```
64
+
65
+ Search uses `/serp/google`, separately from the model base URL. If required, the
66
+ plugin's `webSearch.baseUrl` overrides the search service origin; only set it to a
67
+ service you trust with that search key. The model authentication profile is not
68
+ automatically the search credential.
69
+
70
+ ## Publishing and verification
71
+
72
+ Build and inspect an exact tarball before submitting it to ClawHub. Include the
73
+ public GitHub commit and package version, then wait for publication checks.
74
+ After approval, verify `openclaw plugins search "Ace Data Cloud"`, install using
75
+ the exact ClawHub package/version, onboard in isolated state, and run a model turn.
76
+ Only then record a successful market-discovery milestone. Official publisher
77
+ status and default bundling require separate OpenClaw decisions.
@@ -0,0 +1,126 @@
1
+ # Supported model catalog
2
+
3
+ The plugin includes **90 public chat models** across seven families, refreshed on October 11, 2026. Catalog membership is derived from the [published Ace Data Cloud directory](https://platform.acedata.cloud/api/v1/models/catalog/?modality=chat) and each bound API contract. Models are not restricted to the subset used for smoke tests.
4
+
5
+ Each request preserves the selected public model ID. The plugin does not add fallback or substitute models. Unknown IDs are not assigned invented capabilities. The three excluded chat-classified products (`gpt-4o-all`, `gpt-4o-image`, `gpt-5.1-all`) expose image-generation or mixed-product behavior, not this standard text-inference contract. Runtime discovery also contains embeddings, image models and retired entries; those do not become chat models.
6
+
7
+ ## Protocols and capabilities
8
+
9
+ | Protocol | Models | Routing |
10
+ | ---------------- | -----: | ------------------------------------------------------------------ |
11
+ | Chat Completions | 83 | `/openai`, `/v1`, `/gemini`, `/grok`, `/deepseek`, `/kimi`, `/glm` |
12
+ | Responses | 5 | `/openai/responses` |
13
+ | Messages | 2 | `/v1/messages`, with explicit Bearer authentication |
14
+
15
+ Input and reasoning metadata are model-specific. Image input is advertised only when both the model definition and the current public Ace Data Cloud catalog support it. Native PDF/audio/video input is not copied onto Chat Completions models. Reasoning levels and toggles use the selected host protocol; toggle-only hosts do not receive an unsupported `reasoning_effort`.
16
+
17
+ Context/output limits use the reviewed public model definitions from [Models.dev](https://github.com/anomalyco/models.dev/tree/dev/models). The four public API aliases `gpt-4`, `gpt-4o`, `gemini-2.5-flash-lite`, and `gemini-3.5-flash-lite` use conservative plugin budgets, and do not claim a specific canonical checkpoint. Account access, service limits, and upstream availability may impose additional limits.
18
+
19
+ ## Model list
20
+
21
+ | Model | API | Image input | Reasoning controls |
22
+ | ---------------------------- | ------------------ | ----------- | ----------------------------------- |
23
+ | `claude-3-5-haiku-20241022` | openai-completions | no | — |
24
+ | `claude-3-5-sonnet-20240620` | openai-completions | yes | — |
25
+ | `claude-3-5-sonnet-20241022` | openai-completions | yes | — |
26
+ | `claude-3-7-sonnet-20250219` | openai-completions | yes | low, medium, high |
27
+ | `claude-3-haiku-20240307` | openai-completions | yes | — |
28
+ | `claude-3-sonnet-20240229` | openai-completions | yes | — |
29
+ | `claude-fable-5` | openai-completions | yes | low, medium, high, xhigh, max |
30
+ | `claude-fable-5-1` | openai-completions | yes | low, medium, high, xhigh, max |
31
+ | `claude-haiku-4-5-20251001` | openai-completions | yes | low, medium, high, max |
32
+ | `claude-opus-4-1-20250805` | openai-completions | yes | low, medium, high |
33
+ | `claude-opus-4-20250514` | openai-completions | yes | low, medium, high |
34
+ | `claude-opus-4-5-20251101` | openai-completions | yes | low, medium, high |
35
+ | `claude-opus-4-6` | openai-completions | yes | low, medium, high |
36
+ | `claude-opus-4-7` | openai-completions | yes | low, medium, high, xhigh, max |
37
+ | `claude-opus-4-8` | openai-completions | yes | low, medium, high, xhigh, max |
38
+ | `claude-opus-5` | openai-completions | yes | low, medium, high, xhigh, max |
39
+ | `claude-opus-5-5` | anthropic-messages | yes | low, medium, high, xhigh, max |
40
+ | `claude-sonnet-4-20250514` | openai-completions | yes | low, medium, high |
41
+ | `claude-sonnet-4-5-20250929` | openai-completions | yes | low, medium, high |
42
+ | `claude-sonnet-4-6` | openai-completions | yes | low, medium, high, max |
43
+ | `claude-sonnet-5` | openai-completions | yes | low, medium, high, xhigh, max |
44
+ | `claude-sonnet-5-5` | anthropic-messages | yes | low, medium, high, xhigh, max |
45
+ | `deepseek-r1` | openai-completions | no | model-managed |
46
+ | `deepseek-r1-0528` | openai-completions | no | model-managed |
47
+ | `deepseek-v3` | openai-completions | no | — |
48
+ | `deepseek-v3-250324` | openai-completions | no | — |
49
+ | `deepseek-v3.2-exp` | openai-completions | no | on/off |
50
+ | `deepseek-v4-flash` | openai-completions | no | on/off; low, high, max |
51
+ | `deepseek-v4-pro` | openai-completions | no | on/off; low, high, max |
52
+ | `deepseek-v4.1-flash` | openai-completions | no | on/off; low, high, max |
53
+ | `gemini-2.5-flash` | openai-completions | yes | low, medium, high |
54
+ | `gemini-2.5-flash-lite` | openai-completions | yes | — |
55
+ | `gemini-2.5-pro` | openai-completions | yes | low, medium, high |
56
+ | `gemini-3-flash-preview` | openai-completions | yes | minimal, low, medium, high |
57
+ | `gemini-3.1-flash-lite` | openai-completions | yes | minimal, low, medium, high |
58
+ | `gemini-3.1-pro-preview` | openai-completions | yes | low, medium, high |
59
+ | `gemini-3.5-flash` | openai-completions | yes | minimal, low, medium, high |
60
+ | `gemini-3.5-flash-lite` | openai-completions | yes | — |
61
+ | `gemini-3.6-flash` | openai-completions | yes | minimal, low, medium, high |
62
+ | `gemini-3.7-flash` | openai-completions | yes | low, medium, high |
63
+ | `gemini-3.8-flash` | openai-completions | yes | low, medium, high |
64
+ | `glm-4.6` | openai-completions | no | on/off |
65
+ | `glm-4.7` | openai-completions | no | on/off |
66
+ | `glm-5` | openai-completions | no | on/off |
67
+ | `glm-5-turbo` | openai-completions | no | on/off |
68
+ | `glm-5.1` | openai-completions | no | on/off |
69
+ | `glm-5.2` | openai-completions | no | high, max |
70
+ | `glm-5.3` | openai-completions | no | low, high, max |
71
+ | `gpt-4` | openai-completions | no | — |
72
+ | `gpt-4.1` | openai-completions | yes | — |
73
+ | `gpt-4.1-mini` | openai-completions | yes | — |
74
+ | `gpt-4.1-nano` | openai-completions | yes | — |
75
+ | `gpt-4o` | openai-completions | yes | — |
76
+ | `gpt-4o-mini` | openai-completions | yes | — |
77
+ | `gpt-5` | openai-completions | yes | minimal, low, medium, high |
78
+ | `gpt-5-mini` | openai-completions | yes | low, medium, high |
79
+ | `gpt-5-nano` | openai-completions | yes | minimal, low, medium, high |
80
+ | `gpt-5-pro` | openai-responses | yes | high |
81
+ | `gpt-5.1` | openai-completions | yes | none, low, medium, high |
82
+ | `gpt-5.2` | openai-completions | yes | none, low, medium, high, xhigh |
83
+ | `gpt-5.4` | openai-completions | yes | none, low, medium, high, xhigh |
84
+ | `gpt-5.4-mini` | openai-completions | yes | none, low, medium, high, xhigh |
85
+ | `gpt-5.4-nano` | openai-completions | yes | none, low, medium, high, xhigh |
86
+ | `gpt-5.4-pro` | openai-responses | yes | medium, high, xhigh |
87
+ | `gpt-5.5` | openai-completions | yes | none, low, medium, high, xhigh |
88
+ | `gpt-5.5-pro` | openai-responses | yes | medium, high, xhigh |
89
+ | `gpt-5.6-luna` | openai-completions | yes | none, low, medium, high, xhigh, max |
90
+ | `gpt-5.6-sol` | openai-completions | yes | none, low, medium, high, xhigh, max |
91
+ | `gpt-5.6-sol-fast` | openai-completions | yes | none, low, medium, high, xhigh, max |
92
+ | `gpt-5.6-terra` | openai-completions | yes | none, low, medium, high, xhigh, max |
93
+ | `gpt-6-astra` | openai-completions | yes | low, medium, high, xhigh, max |
94
+ | `gpt-6-luna` | openai-completions | yes | none, low, medium, high, xhigh, max |
95
+ | `gpt-6-sol` | openai-completions | yes | none, low, medium, high, xhigh, max |
96
+ | `gpt-6.1-sol` | openai-completions | yes | low, medium, high, xhigh, max |
97
+ | `grok-3` | openai-completions | no | — |
98
+ | `grok-4` | openai-completions | no | low, medium, high |
99
+ | `grok-4.5` | openai-completions | yes | low, medium, high |
100
+ | `grok-4.7` | openai-completions | yes | low, medium, high, xhigh |
101
+ | `kimi-k2-thinking` | openai-completions | no | model-managed |
102
+ | `kimi-k2-thinking-turbo` | openai-completions | no | model-managed |
103
+ | `kimi-k2.5` | openai-completions | no | on/off |
104
+ | `kimi-k2.6` | openai-completions | yes | on/off |
105
+ | `kimi-k3` | openai-completions | yes | low, high, max |
106
+ | `o1` | openai-completions | no | low, medium, high |
107
+ | `o1-mini` | openai-completions | no | model-managed |
108
+ | `o1-pro` | openai-responses | no | low, medium, high |
109
+ | `o3` | openai-completions | yes | low, medium, high |
110
+ | `o3-mini` | openai-completions | no | low, medium, high |
111
+ | `o3-pro` | openai-responses | yes | low, medium, high |
112
+ | `o4-mini` | openai-completions | yes | low, medium, high |
113
+
114
+ ## Cost estimates
115
+
116
+ Per-model USD-per-million-token values are calculated from the exact public API billing expressions and each service's current entry package. On October 6, 2026, the referenced package is $7 / 40 Credits ($0.175/Credit). Cached-input and cache-write fields are included when metered. Zero for an unmetered cache field is not a free-inference or cache-capability promise. Long-context pricing uses half-open token ranges matching the API condition boundaries.
117
+
118
+ For example, GPT-4.1 mini input/output/cached-input estimates are $0.147173075 / $0.588692650 / $0.036793225 per million tokens. Native Messages cached input and cache creation are separate token counters; their estimates are not derived by subtracting cache tokens twice. The account's package, usage, and billed amount remain authoritative.
119
+
120
+ The original 89 models were checked with 534 short/long-context ordinary-input, cache-read, and cache-write pricing samples. Representative production tools tests cover all seven families, and separate protocol tests cover native Responses and Messages; this does not claim every model/control has been individually invoked.
121
+
122
+ ## Maintenance
123
+
124
+ `src/chat/model-catalog.json` is the reviewed source snapshot, with per-model public API references, package rates and metadata. `pnpm sync-catalog` generates runtime and manifest entries from the same source; `pnpm sync-catalog:check` prevents projection drift. Refresh the published directory and bound API records together, then update metadata for every added or changed model instead of restricting membership to tested examples. Never use the billing-rule inventory alone as a public model list.
125
+
126
+ Fast serving alias `gpt-5.6-sol-fast` was reconciled on October 11 with the public catalog and both API enums. It preserves the exact requested ID and uses the GPT-5.6 Sol model contract, with its separately published fast prices. Six independent short/long-context price samples and a real tool-call result are reused from the provider-directory validation.