Setup
DiscreteStack does not store your prompts or responses. Conversation content stays on your machine. We keep only non-content metadata needed to operate the service. If you need support, see Debug.

DiscreteStack

Model Overview

Two models, one endpoint. Pick the one that fits the job — both are multimodal and work with the tools you already use.

DiscreteStack Compact

Balanced model for everyday workloads.

The general-purpose option for small to moderately complex tasks — everyday business work, document analysis, content generation, and structured Q&A.

Business tasks Document analysis Content generation Structured Q&A
DiscreteStack Max

Advanced model for complex reasoning and multimodal tasks.

The most capable tier — use it for complex problem-solving, advanced analysis, technical tasks, and long or complicated instructions where accuracy matters more than speed.

Deep reasoning Technical tasks Long instructions Advanced analysis

DiscreteStack

Compact

The general-purpose model for everyday work — balanced speed and quality for small to moderately complex tasks.

API ID — discretestack-compact

Good for

Business tasks Document analysis Content generation Structured Q&A
Property Value
Context window 1M tokens
Max output 32k tokens
Modalities Text + image input, text output

DiscreteStack

Max

The most capable tier — complex problem-solving, advanced analysis, and technical tasks where accuracy matters more than speed.

API ID — discretestack-max

Good for

Deep reasoning Technical tasks Long instructions Advanced analysis
Property Value
Context window 256k tokens
Max output 32k tokens
Modalities Text + image input, text output

OpenCode

Configuration

Save this file, then replace the placeholder key — or paste your key in the header and copy.

~/.config/opencode/opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "myprovider": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "DiscreteStack",
      "options": {
        "baseURL": "https://api.discretestack.eu/v1",
        "apiKey": "sk-your-api-key"
      },
      "models": {
        "discretestack-max": {
          "name": "discretestack-max",
          "modalities": {
            "input": ["text", "image"],
            "output": ["text"]
          },
          "limit": {
            "context": 256000,
            "output": 32000
          }
        },
        "discretestack-compact": {
          "name": "discretestack-compact",
          "modalities": {
            "input": ["text", "image"],
            "output": ["text"]
          },
          "limit": {
            "context": 1000000,
            "output": 32000
          }
        }
      }
    }
  }
}

Replace sk-your-api-key with your DiscreteStack API key before saving.