Skip to content

qq: is there any way to use the tool with OpenRouter's free models? #39

@slunak

Description

@slunak

Hey! Thanks for sharing the tool.

Can't seem to find a way to use OpenRouter's free models for free. Always getting:

Error: API error (402 Payment Required): {
  "error": {
    "message": "Insufficient credits. This account never purchased credits. Make sure your key is on the correct account or org, and if so, purchase more at https://openrouter.ai/settings/credits",
    "code": 402
  }
}

Config:

"default_profile": "openrouter",
  "model_providers": {
    "openrouter": {
      "name": "OpenRouter",
      "base_url": "https://openrouter.ai/api/v1",
      "env_key": "OPENROUTER_API_KEY",
      "api_key": "xxx",
      "local": false,
      "mode": "http"
    },
...
"profiles": {
    "openrouter": {
      "model_provider": "openrouter",
      "model": "openai/gpt-oss-20b"
    },

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions