1. 7API
  2. Docs
  3. Oh My Pi

Oh My Pi (OMP)

Install

bash
curl -fsSL https://omp.sh/install | sh

Configure

Save the file below as:

  • macOS / Linux: ~/.omp/agent/models.yml
  • Windows: %USERPROFILE%\.omp\agent\models.yml

Replace YOUR_7API_KEY with your key, then launch omp and pick a model with /model.

models.yml
providers:
  7api:
    baseUrl: https://7api.st/v1
    api: openai-completions
    auth: apiKey
    apiKey: "YOUR_7API_KEY"
    models:
      - id: gpt-6-astra
        name: GPT-6 Astra
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1050000
        maxTokens: 128000
      - id: gpt-6.2-astra
        name: GPT-6.2 Astra
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1050000
        maxTokens: 128000
      - id: gpt-6.1-sol
        name: GPT-6.1 Sol
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1050000
        maxTokens: 128000
      - id: gpt-6.2-sol
        name: GPT-6.2 Sol
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1050000
        maxTokens: 128000
      - id: gpt-6-sol
        name: GPT-6 Sol
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1050000
        maxTokens: 128000
      - id: gpt-6-luna
        name: GPT-6 Luna
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1050000
        maxTokens: 128000
      - id: gpt-5.6-sol
        name: GPT-5.6 Sol
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 128000
      - id: gpt-5.6-terra
        name: GPT-5.6 Terra
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 128000
      - id: gpt-5.6-luna
        name: GPT-5.6 Luna
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 128000
      - id: gpt-5.5
        name: GPT-5.5
        api: openai-responses
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh] }
        contextWindow: 1000000
        maxTokens: 128000
      - id: claude-fable-5-2
        name: Claude Fable 5.2
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-opus-5-5-max
        name: Claude Opus 5.5 Max
        api: anthropic-messages
        input: [text, image]
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 128000
      - id: claude-opus-5-5
        name: Claude Opus 5.5
        api: anthropic-messages
        input: [text, image]
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 128000
      - id: claude-opus-5
        name: Claude Opus 5
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-opus-4-8
        name: Claude Opus 4.8
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-opus-4-7
        name: Claude Opus 4.7
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-opus-4-6
        name: Claude Opus 4.6
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-sonnet-5-5
        name: Claude Sonnet 5.5
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-sonnet-5
        name: Claude Sonnet 5
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: claude-haiku-5-5
        name: Claude Haiku 5.5
        api: anthropic-messages
        reasoning: true
        thinking: { mode: anthropic-adaptive, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 64000
      - id: gemini-4-carbon
        name: Gemini 4 Carbon
        reasoning: true
        contextWindow: 1048576
        maxTokens: 16384
      - id: gemini-4-argon
        name: Gemini 4 Argon
        reasoning: true
        contextWindow: 128000
        maxTokens: 16384
      - id: deepseek-v4-flash-0731
        name: DeepSeek V4 Flash
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: deepseek-v4.1-flash
        name: DeepSeek V4.1 Flash
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: deepseek-v4.1-flash-1017
        name: DeepSeek V4.1 Flash 1017
        input: [text, image]
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: deepseek-v4.1-flash-1017-hq
        name: DeepSeek V4.1 Flash 1017 HQ
        input: [text, image]
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: deepseek-v4.1-flash-1017-abliterated
        name: DeepSeek V4.1 Flash 1017 Abliterated
        reasoning: true
        thinking: { mode: effort, efforts: [low, high, max], defaultLevel: high }
        contextWindow: 1000000
        maxTokens: 65536
      - id: deepseek-v4.1-flash-1017-abliterated-fast
        name: DeepSeek V4.1 Flash 1017 Abliterated Fast
        input: [text, image]
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: deepseek-v4-pro-0813
        name: DeepSeek V4 Pro
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: mimo-v2.6-pro
        name: MiMo V2.6 Pro
        reasoning: true
        contextWindow: 600000
        maxTokens: 65536
      - id: mimo-v2.6-flash
        name: MiMo V2.6 Flash
        reasoning: true
        contextWindow: 600000
        maxTokens: 65536
      - id: kimi-k3
        name: Kimi K3
        reasoning: true
        thinking: { mode: effort, efforts: [low, high, max], defaultLevel: max, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 65536
      - id: kimi-k3.1-pro
        name: Kimi K3.1 Pro
        input: [text, image]
        reasoning: true
        thinking: { mode: effort, efforts: [low, high, max], defaultLevel: max, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 32000
      - id: grok-4.7
        name: Grok 4.7
        reasoning: true
        contextWindow: 500000
        maxTokens: 65536
      - id: grok-4.6
        name: Grok 4.6
        reasoning: true
        contextWindow: 500000
        maxTokens: 65536
      - id: grok-4.5
        name: Grok 4.5
        reasoning: true
        contextWindow: 200000
        maxTokens: 64000
  7api-glm:
    baseUrl: https://7api.st/v1
    api: openai-completions
    apiKey: "YOUR_7API_KEY"
    compat:
      supportsReasoningEffort: true
      thinkingFormat: openai
      reasoningContentField: reasoning_content
    models:
      - id: glm-5.2
        name: GLM-5.2
        reasoning: true
        thinking: { mode: effort, efforts: [low, medium, high, xhigh, max] }
        contextWindow: 1000000
        maxTokens: 65536
      - id: glm-5.3
        name: GLM-5.3
        reasoning: true
        thinking: { mode: effort, efforts: [low, high, xhigh, max], defaultLevel: high, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 65536
      - id: glm-5.3-uncensored
        name: GLM-5.3 Uncensored
        reasoning: true
        thinking: { mode: effort, efforts: [max], defaultLevel: max, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 65536
      - id: glm-5.3-flash
        name: GLM-5.3 Flash
        reasoning: true
        thinking: { mode: effort, efforts: [low, high, xhigh, max], defaultLevel: high, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 65536
      - id: glm-5.3-flash-uncensored
        name: GLM-5.3 Flash Uncensored
        reasoning: true
        thinking: { mode: effort, efforts: [max], defaultLevel: max, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 65536
      - id: glm-5.3-abliterated
        name: GLM-5.3 Abliterated
        reasoning: true
        thinking: { mode: effort, efforts: [high, xhigh, max], defaultLevel: high, requiresEffort: true }
        contextWindow: 1000000
        maxTokens: 130000

Effort

Run /effort to see the selected model's reasoning levels, /effort high to pick one, or Shift+Tab to cycle through them. The file gives each model its supported effort range and the request format it works best with: Responses for GPT, Messages for Claude, and Chat Completions for the rest. To check what OMP loaded, run omp models ls 7api --json.