r/ollama•
qqby6482

Run ollama.com cloud free models in vs code copilot

I made an example config for vscode copilot so it can call ollama cloud models directly.

I validated each model answers a "hello how are you?" prompt, since the models that require a subscription would respond with http 401

i hope it might be useful for other people

[
  {
    "name": "open-ai-custom-ollama-cloud-example",
    "vendor": "customendpoint",
    "apiKey": "${secret_key}",
    "apiType": "chat-completions",
    "models": [
      {
        "id": "gemma3:12b",
        "name": "custom-gemma3:12b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 128000,
        "supportsReasoningEffort": []
      },
      {
        "id": "cogito-2.1:671b",
        "name": "custom-cogito-2.1:671b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "minimax-m2",
        "name": "custom-minimax-m2",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 1000000,
        "maxOutputTokens": 64000,
        "supportsReasoningEffort": []
      },
      {
        "id": "ministral-3:3b",
        "name": "custom-ministral-3:3b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 8192,
        "maxOutputTokens": 8192,
        "supportsReasoningEffort": []
      },
      {
        "id": "nemotron-3-super",
        "name": "custom-nemotron-3-super",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": []
      },
      {
        "id": "gpt-oss:20b",
        "name": "custom-gpt-oss:20b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 8192,
        "maxOutputTokens": 8192,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "minimax-m2.1",
        "name": "custom-minimax-m2.1",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 32768,
        "supportsReasoningEffort": []
      },
      {
        "id": "minimax-m3",
        "name": "custom-minimax-m3",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 16000,
        "supportsReasoningEffort": []
      },
      {
        "id": "glm-4.6",
        "name": "custom-glm-4.6",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 16000,
        "supportsReasoningEffort": []
      },
      {
        "id": "qwen3-coder-next",
        "name": "custom-qwen3-coder-next",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 32768,
        "maxOutputTokens": 8192,
        "supportsReasoningEffort": []
      },
      {
        "id": "ministral-3:14b",
        "name": "custom-ministral-3:14b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 32768,
        "maxOutputTokens": 32768,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "gemma3:27b",
        "name": "custom-gemma3:27b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 128000,
        "supportsReasoningEffort": []
      },
      {
        "id": "gemma4:31b",
        "name": "custom-gemma4:31b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 8192,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "qwen3-next:80b",
        "name": "custom-qwen3-next:80b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": false,
        "maxInputTokens": 32768,
        "maxOutputTokens": 32768,
        "supportsReasoningEffort": []
      },
      {
        "id": "nemotron-3-nano:30b",
        "name": "custom-nemotron-3-nano:30b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 128000,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "qwen3-vl:235b-instruct",
        "name": "custom-qwen3-vl:235b-instruct",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": []
      },
      {
        "id": "ministral-3:8b",
        "name": "custom-ministral-3:8b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 32768,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high",
          "expert"
        ]
      },
      {
        "id": "gemma3:4b",
        "name": "custom-gemma3:4b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 128000,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "devstral-small-2:24b",
        "name": "custom-devstral-small-2:24b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "id": "rnj-1:8b",
        "name": "custom-rnj-1:8b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": []
      },
      {
        "id": "nemotron-3-ultra",
        "name": "custom-nemotron-3-ultra",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 4096,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": []
      },
      {
        "id": "glm-4.7",
        "name": "custom-glm-4.7",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": []
      },
      {
        "id": "qwen3-coder:480b",
        "name": "custom-qwen3-coder:480b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": false,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4000,
        "supportsReasoningEffort": []
      },
      {
        "id": "gpt-oss:120b",
        "name": "custom-gpt-oss:120b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": []
      },
      {
        "id": "qwen3-vl:235b",
        "name": "custom-qwen3-vl:235b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": false,
        "maxInputTokens": 32768,
        "maxOutputTokens": 8192,
        "supportsReasoningEffort": []
      },
      {
        "id": "minimax-m2.5",
        "name": "custom-minimax-m2.5",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": false,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 8192,
        "supportsReasoningEffort": []
      },
      {
        "id": "devstral-2:123b",
        "name": "custom-devstral-2:123b",
        "url": "https://ollama.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 128000,
        "maxOutputTokens": 4096,
        "supportsReasoningEffort": [
          "low",
          "medium",
          "high"
        ]
      }
    ]
  }
]

Posted Jun 5, 2026, 4:49 AM UTC

20
Loading comments…