Skip to content

CONNECTIONS

Your tools.
Connected.

Bring ModelMesh to the tools you already use. Choose your tool and model, then follow a setup made for your workflow.

One ModelMesh keyYour choice of model
Create an API key

CHOOSE YOUR TOOL

14 setup guides

Messages API

Connect Claude Code

Official documentation

Use an available Claude model with Anthropic-compatible gateway settings.

  1. 01

    Install Claude Code

    Use the official installation guide for your operating system. If Claude Code is installed, continue with the gateway settings.

  2. 02

    Set the gateway, key, and model

    Use the Anthropic base URL below. Claude Code appends /v1/messages. These settings apply to programs launched from this terminal.

    PowerShell
    $env:ANTHROPIC_BASE_URL = 'https://www.modelmesh.in/api'
    $env:ANTHROPIC_AUTH_TOKEN = 'YOUR_MODELMESH_KEY'
    $env:ANTHROPIC_MODEL = 'YOUR_MODEL_ID'
  3. 03

    Launch and verify the route

    Run /status inside Claude Code. Confirm that the Anthropic base URL and auth token source point to ModelMesh, then send a short prompt.

    Terminal
    claude
  4. 04

    Make the setup persistent

    After a successful request, merge this env block into your user settings. Do not put a live key in shared project settings.

    ~/.claude/settings.json
    {
      "env": {
        "ANTHROPIC_BASE_URL": "https://www.modelmesh.in/api",
        "ANTHROPIC_AUTH_TOKEN": "YOUR_MODELMESH_KEY",
        "ANTHROPIC_MODEL": "YOUR_MODEL_ID"
      }
    }
  5. 05

    Check your first request

    Start with a small prompt, then review Usage and Request logs in your dashboard. Coding tools need a model with tool-calling support. A successful response confirms this tool and model work together.

Connections · Model Mesh