Baltor Get started

Endpoints

GMI Cloud

A hosted service with its own key and prices. This page lists the addresses it answers, the facts its documentation states, and the setup of each harness.

Addresses and facts

  • OpenAI Chat Completions: https://api.gmi-serving.com/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in GMICLOUD_API_KEY models.dev, read
Structured output
Unknown
Tool calling
15 of 15 listed models The share of this provider's models that models.dev records with tool calling. models.dev, read
Rate limits
Unknown
Prices
Unknown
Data retention
Unknown
Documentation
Read the page models.dev, read
Output limits Baltor recorded
Unknown

Harness setup

Replace MiniMaxAI/MiniMax-M2.7 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "gmicloud": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "GMI Cloud",
      "options": {
        "baseURL": "https://api.gmi-serving.com/v1",
        "apiKey": "{env:GMICLOUD_API_KEY}"
      },
      "models": {
        "MiniMaxAI/MiniMax-M2.7": {
          "name": "MiniMaxAI/MiniMax-M2.7"
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "gmicloud": {
      "baseUrl": "https://api.gmi-serving.com/v1",
      "api": "openai-completions",
      "apiKey": "$GMICLOUD_API_KEY",
      "models": [
        {
          "id": "MiniMaxAI/MiniMax-M2.7"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and GMI Cloud documents no Responses address. A gateway that offers one can sit in between.

  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and GMI Cloud documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Models it lists

Prices in US dollars per million tokens, input and output, as models.dev, read records them.

ModelInputOutputContextAs of
MiniMax-M2.7 MiniMaxAI/MiniMax-M2.70.300 USD1.20 USD196,608 older than 30 days
MiniMax-M3 MiniMaxAI/MiniMax-M30.600 USD2.40 USD1,048,576 older than 30 days
Qwen3.7 Max Qwen/Qwen3.7-Max2.50 USD7.50 USD1,000,000 older than 30 days
Claude Opus 4.6 anthropic/claude-opus-4.65.00 USD25.00 USD409,600 older than 30 days
Claude Opus 4.7 anthropic/claude-opus-4.74.50 USD22.50 USD409,600 older than 30 days
Claude Opus 4.8 anthropic/claude-opus-4.85.00 USD25.00 USD1,000,000 older than 30 days
Claude Sonnet 4.6 anthropic/claude-sonnet-4.63.00 USD15.00 USD409,600 older than 30 days
DeepSeek V4 Flash deepseek-ai/DeepSeek-V4-Flash0.112 USD0.224 USD1,048,575 older than 30 days
DeepSeek V4 Pro deepseek-ai/DeepSeek-V4-Pro1.39 USD2.78 USD1,048,576 older than 30 days
Kimi K2.6 moonshotai/Kimi-K2.60.855 USD3.60 USD65,536 older than 30 days
Kimi K2.7 Code Highspeed moonshotai/kimi-k2.7-code-highspeed1.90 USD8.00 USD262,144 older than 30 days
GPT-5.5 openai/gpt-5.55.00 USD30.00 USD1,050,000 older than 30 days
GLM-5 zai-org/GLM-5-FP80.600 USD1.92 USD202,752 older than 30 days
GLM-5.1 zai-org/GLM-5.1-FP80.980 USD3.08 USD202,752 older than 30 days
GLM-5.2 zai-org/GLM-5.2-FP80.979 USD3.08 USD1,000,000 older than 30 days

Sources of this page