Log in

Coding agents

Two agents, two different ways to point them here.

Claude Code

Set these three, then run claude as usual:

export ANTHROPIC_BASE_URL="https://api.iqshard.com"
export ANTHROPIC_AUTH_TOKEN="<your API key>"
export ANTHROPIC_MODEL="<model id from the models list>"

OpenCode

A provider entry in opencode.json, pointed at the OpenAI-compatible path:

{
  "provider": {
    "iqshard": {
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://api.iqshard.com/v1",
        "apiKey": "{env:IQSHARD_API_KEY}"
      }
    }
  }
}

Set IQSHARD_API_KEY to your key wherever OpenCode runs.