AI Space for coding agents

Point OpenCode, Claude Code or Codex at AI Space and switch between models without juggling accounts.

Three steps.

  1. 01

    Sign up

    Create an account with your email and make an API key on the Connect page.

  2. 02

    Paste the config

    Export your key as AISPACE_API_KEY, then drop this into ~/.config/opencode/opencode.json.

    {
      "$schema": "https://opencode.ai/config.json",
      "provider": {
        "aispace": {
          "npm": "@ai-sdk/openai-compatible",
          "options": { "baseURL": "https://ai.xyspace.dev/v1", "apiKey": "{env:AISPACE_API_KEY}" },
          "models": { "glm-5.3": {}, "kimi-k3": {} }
        }
      }
    }
  3. 03

    Run

    Start OpenCode and pick an AI Space model.

What you get.

  • Works with your agent

    An OpenAI- and Anthropic-compatible endpoint, plus an MCP server your agent can call to compare models mid-task.

  • Every model, one key

    Swap between GLM, Kimi, DeepSeek, Qwen and more by changing one model name.

  • See what you spend

    A usage dashboard shows requests by model and day, for you and your team.

Questions, answered.

Does it work with Claude Code and Codex?

Yes. The Connect page has step-by-step guides for OpenCode, Claude Code, Codex, Cursor and more.

Can my agent ask several models at once?

Yes. Add AI Space as an MCP server and your agent gains a tool that runs one prompt across several models.

Start today

Everything you need from AI, in one place.

Sign up with your email in under a minute; we send you a code, no password.

Get started