Do everyone has paid model of anthropic?

Why doesn’t it work with a free model on OpenRouter? It works perfectly when I run it locally, but when I submit it to CodeCrafters, it fails with this error:

openai.BadRequestError: Error code: 400 - {'error': {'message': 'xyz:free is not supported. Allowed: anthropic/claude-haiku-4.5', 'code': 400}}

As part of the tests, we inject a API key for anthropic/claude-haiku-4.5 model while running the code. That’s why we don’t support any other models.

So OpenRouter key is only required for running your code locally.