Currently Quartaly API models are not showing in the opencode models list. Quartaly provides a OpenAI-compatible and Anthropic-compatible API at https://api.quatarly.cloud with various models including claude-opus-4-6-thinking, claude-sonnet-4-6-thinking, gpt-5.4, gemini-3.1-pro, etc.
Root Cause
The ProviderID schema is hardcoded in the opencode binary and only includes a fixed set of providers:
openrouter, anthropic, openai, google, google-vertex, github-copilot, amazon-bedrock, azure, mistral, gitlab
Any custom provider (like quartaly) that isn't in this list won't be shown in opencode models, even when credentials are configured in auth.json.
Current workaround
Custom providers can be configured in ~/.openclaw/agents/main/agent/models.json for the openclaw agent, but this doesn't affect the opencode model selector /models.
Request
Add quartaly to the list of recognized ProviderIDs so that:
- The quartaly API credentials stored in
auth.json are picked up
- Quartaly models appear in
opencode models output
- Users can select Quartaly models via the model selector UI
API Details
- Quartaly OpenAI-compatible:
https://api.quatarly.cloud/v1 (models: claude-sonnet-4-6, claude-opus-4-6-thinking, gpt-5.2-codex, gemini-3.1-pro-high, etc.)
- Quartaly Anthropic-compatible:
https://api.quatarly.cloud/ (models: claude-haiku-4-5-20251001, claude-opus-4-6-thinking, etc.)
- API Key: stored as
QUATARLY_API_KEY env var
Currently Quartaly API models are not showing in the
opencode modelslist. Quartaly provides a OpenAI-compatible and Anthropic-compatible API athttps://api.quatarly.cloudwith various models including claude-opus-4-6-thinking, claude-sonnet-4-6-thinking, gpt-5.4, gemini-3.1-pro, etc.Root Cause
The ProviderID schema is hardcoded in the opencode binary and only includes a fixed set of providers:
Any custom provider (like quartaly) that isn't in this list won't be shown in
opencode models, even when credentials are configured in auth.json.Current workaround
Custom providers can be configured in
~/.openclaw/agents/main/agent/models.jsonfor the openclaw agent, but this doesn't affect the opencode model selector/models.Request
Add
quartalyto the list of recognized ProviderIDs so that:auth.jsonare picked upopencode modelsoutputAPI Details
https://api.quatarly.cloud/v1(models: claude-sonnet-4-6, claude-opus-4-6-thinking, gpt-5.2-codex, gemini-3.1-pro-high, etc.)https://api.quatarly.cloud/(models: claude-haiku-4-5-20251001, claude-opus-4-6-thinking, etc.)QUATARLY_API_KEYenv var