Use NeverMetered with LiteLLM

Call the gateway from the LiteLLM SDK or put it behind a LiteLLM proxy.

OpenAI Chat
Model
qwen3.8-27b
8,192 max output tokens on the free planReplace YOUR_API_KEY with your key.
  1. 1

    Create an API key

    Create a key in API keys and name it after the tool, for example “LiteLLM”. A dedicated key per tool lets you see its usage separately and give it its own parallel-stream cap. The key is shown once; the snippets below use YOUR_API_KEY where it goes.

  2. 2

    Export your key

    export NEVERMETERED_API_KEY="YOUR_API_KEY"
  3. 3

    Call it from Python

    The openai/ prefix routes the request to the OpenAI-compatible api_base.

    main.py
    import os
    import litellm
    
    response = litellm.completion(
        model="openai/qwen3.8-27b",
        api_base="https://api.nevermetered.com/v1",
        api_key=os.environ["NEVERMETERED_API_KEY"],
        messages=[{"role": "user", "content": "Reply with the word ready"}],
    )
    print(response.choices[0].message.content)
  4. 4

    Or add it to a LiteLLM proxy

    config.yaml
    model_list:
      - model_name: qwen3.8-27b
        litellm_params:
          model: openai/qwen3.8-27b
          api_base: https://api.nevermetered.com/v1
          api_key: os.environ/NEVERMETERED_API_KEY
  5. 5

    Verify it works

    Run the script (or send a request through the proxy). The request shows up in Requests within a few seconds, with its input, cached and output tokens.

Tips
  • Every LiteLLM proxy user shares your parallel-stream limit. Give the proxy its own key so you can see its usage separately.

Troubleshooting

404 model_not_found
Use a model id exactly as GET /v1/models lists it, for example qwen3.8-27b. Plans can restrict which models a key may call.
429 concurrency_limit_exceeded
All your parallel streams are busy and your queue allowance is full. Lower the tool's parallelism (subagents, batch size), or get more streams on your plan.
Answers stop mid-sentence
The response hit your plan's output cap of 8,192 tokens (finish reason length or max_tokens). Ask for shorter steps, or upgrade for a higher cap.
403 email_verification_required
Free requests need a verified email. Click the link in your verification email (you can resend it from the dashboard), or upgrade.
429 daily_quota_exceeded
You've used today's free requests; agents send one request per step, so they go quickly. The allowance resets at 00:00 UTC, and paid plans have no daily limit.
503 / 504 request_queue_timeout
The service stayed busy longer than the queue timeout and nothing was generated. Retry with backoff, and give the tool a generous request timeout.