4 ms·
Does it work with claude-code-router? I was getting API errors this week trying to use qwen3 Cerebras through OpenRouter with Claude code router.
by ktsakas 1y ago
Does it work with claude-code-router? I was getting API errors this week trying to use qwen3 Cerebras through OpenRouter with Claude code router.
- amirhirsch 1y agoAPI Error: 422 {"error":{"message":"Error from provider: {\"message\":\"body.messages.0.system.content: Input should be a valid string\",\"type\":\"invalid_request_error\",\"param\":\"validation_error\",\"code\":\"wrong_api_format\"}
- amirhirsch 1y agoi ended up getting it working through copying the transformer in this issue: https://github.com/musistudio/claude-code-router/issues/407 https://github.com/musistudio/claude-code-router/issues/407 It hits the request per minute limit instantly and then you wait a minute.
- nubela 1y agoDid you make payment? I also found it unusable due to rate limits. Not sure if it is because I was on the free trial.
- d4rkp4ttern 1y agoI really wish Qwen3 folks put up an Anthropic-compatible API like the Kimi and GLM/Zai folks cleverly did — this makes their models trivially usable in Claude Code, via this dead-simple setup: https://github.com/pchalasani/claude-code-tools?tab=readme-ov-file#-using-claude-code-with-open-weight-anthropic-api-compatible-llm-providers https://github.com/pchalasani/claude-code-tools?tab=readme-o...