If you use OpenCode and want to switch among model families without maintaining a separate coding subscription for every provider, this guide shows a practical setup and a budget-selection method.
The current AceDataCloud Coding Plan is a 30-day, Credit-metered API package, not an official Claude, ChatGPT, or other vendor membership. All four tiers expose the same Coding model scope; they differ mainly in included Credits. The published entry tier, Coding Plus, is anchored at ¥99 / $14.645677 and currently includes 500 Credits (400 base plus a 100-Credit promotion bonus). The promotion is listed to end on November 30, 2026 at 23:59:59 UTC+8.
Choose a budget before choosing a model
Current package data gives a useful way to compare tiers without pretending that Credits equal a fixed number of prompts:
| Plan | USD price | Promotional Credits | Effective USD/Credit |
|---|---|---|---|
| Coding Plus | $14.645677 | 500 | $0.02929 |
| Coding Standard | $44.232902 | 1,600 | $0.02765 |
| Coding Pro | $103.407354 | 4,000 | $0.02585 |
| Coding Max | $206.962643 | 10,000 | $0.02070 |
The last column is simply price / amount under the current promotion. It is not a per-token model price and should not be compared directly with a consumer subscription fee.
Use the workload, not model access, to select a tier:
- Plus: short projects, test generation, or evaluating the integration with a controlled budget.
- Standard: daily development across multiple repositories and regular code review.
- Pro: sustained agent sessions, complex refactors, or frequent use of higher-cost models.
- Max: shared teams, automation, and multi-agent workloads.
Usage depends on the selected model, input context, output, cache writes, cache reads, tool calls, and parallel work. Remaining Credits carry forward only when you renew before expiry; otherwise they expire. There is no automatic renewal.
Understand the protocol boundary
The plan exposes three relevant protocol styles:
- Claude Messages for clients designed around Anthropic's request format.
- OpenAI Responses for clients built for the Responses API.
- OpenAI-compatible Chat Completions for tools that accept a custom OpenAI-style provider.
OpenCode uses the third option in this setup. That matters because “the plan supports a model family” does not imply “every client supports every model through every protocol.” Treat the client, protocol, API credential scope, and model ID as four separate compatibility checks.
The public catalog currently covers model families including Claude, GPT/Codex, GLM, Kimi, and DeepSeek. Use the live model catalog rather than copying a model ID from an old article.
Minimal OpenCode configuration
First, create or open a Coding Application in Ace Data Cloud and copy its API key. Keep it out of source control:
export ACEDATACLOUD_API_KEY="YOUR_CODING_APPLICATION_API_KEY"
Install OpenCode using its supported installer or npm:
curl -fsSL https://opencode.ai/install | bash
# or
npm install -g opencode-ai
Then create or edit ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"acedatacloud": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ace Data Cloud",
"options": {
"baseURL": "https://api.acedata.cloud/v1",
"apiKey": "{env:ACEDATACLOUD_API_KEY}"
},
"models": {
"MODEL_ID": { "name": "MODEL_ID" }
}
}
}
}
Replace both MODEL_ID values with the same model identifier. The adapter is @ai-sdk/openai-compatible because this OpenCode provider uses Chat Completions.
Do not put a service UUID, API UUID, or display name in the model field. The model identifier is the id returned by the model catalog.
Discover and validate the model
Query the live catalog with the same Coding Application credential:
curl https://api.acedata.cloud/v1/models \
-H "Authorization: Bearer $ACEDATACLOUD_API_KEY"
The global /v1/models response is useful for discovering IDs, but it is not automatically filtered to your Coding credential. Cross-check the chosen ID against the Coding Plan scope and the Chat Completions protocol before adding it to OpenCode.
Now run three checks:
opencode auth list
opencode models acedatacloud
opencode run --model acedatacloud/MODEL_ID "Reply only OK"
A successful one-line response confirms the basic chain: OpenCode loaded the configuration, resolved the environment variable, found the provider, and completed a request with that model.
If validation fails:
- 401: the key is invalid, missing, or not exported in the shell that launched OpenCode.
- Model absent: check the JSON path, syntax, provider name, and exact model ID.
- Client still uses another endpoint: fully restart the CLI or IDE extension and confirm it is reading the same user-level configuration.
- Insufficient balance: renew the Coding Application; it does not fall back to a general account balance.
- Protocol error: confirm that the selected model is available through the OpenAI-compatible Chat Completions path, not only another API format.
Assign models by task, not habit
A multi-model plan is most useful when routing decisions are explicit. A simple policy is:
- use a lower-cost model for repository indexing, repetitive edits, test scaffolding, and formatting;
- move to a stronger reasoning or coding model for architecture decisions, difficult debugging, and cross-file refactors;
- keep a second model family available for review when the first approach stalls;
- measure Credit consumption over a real project before moving to a larger tier.
This avoids paying for maximum capability on every step while preserving the option to escalate. It also makes the 30-day quota easier to forecast than an unstructured “use the best model everywhere” workflow.
References and next steps
Review the Coding Plan and current packages, then follow the Coding Plan configuration center for client-specific protocol guidance.
Sources from Ace Data Cloud:
Top comments (0)