Skip to main content

Error on openrouter

Hi,

Here’s an error I’ve been getting on openrouter, don’t understand why. Seems like Bolt is requesting the wrong model.

I’ve copied my openrouter log and the json returned (hopefully there’s no private information in there).

Can you investigate?

Thanks.

{
  "id": 39698886303,
  "generation_id": "gen-1768069338-WTEK9B3yYne8LW9k0o1e",
  "provider_name": "OpenAI",
  "model": "openai/gpt-4o-mini",
  "app_id": null,
  "external_user": null,
  "streamed": true,
  "cancelled": false,
  "generation_time": 1358,
  "latency": 1294,
  "moderation_latency": null,
  "created_at": "2026-01-10T18:22:21.136282+00:00",
  "tokens_prompt": 23858,
  "tokens_completion": 5,
  "native_tokens_prompt": 23870,
  "native_tokens_completion": 5,
  "native_tokens_completion_images": null,
  "native_tokens_reasoning": 0,
  "native_tokens_cached": 0,
  "num_media_prompt": null,
  "num_input_audio_prompt": null,
  "num_media_completion": 0,
  "num_search_results": 5,
  "origin": "",
  "usage": 0.0235835,
  "usage_upstream": 0.0135835,
  "finish_reason": "stop",
  "usage_cache": null,
  "usage_data": null,
  "usage_web": 0.02,
  "usage_file": 0,
  "byok_usage_inference": 0,
  "provider_responses": [
    {
      "id": "chatcmpl-CwXtL16eZkjozCVh9osqDKxoqC2xI",
      "status": 200,
      "is_byok": false,
      "latency": 1191,
      "endpoint_id": "77e40332-6f2a-4c48-bc14-e44596b30ce2",
      "provider_name": "OpenAI"
    }
  ],
  "provider_api_key_id": null,
  "api_type": "completions",
  "creator_user_id": "user_34TuReTR7rKw6lm81iF7ulBRIDY",
  "is_byok": false,
  "native_finish_reason": "stop"
}
1 comment

Log in to comment and vote

Comments1

  • Alexandre Champagne-Ruel

    •

    Jan 10

    Forgot to add: switching to Claude (on openrouter) worked perfectly with the same prompt.