An unofficial, read-only Hacker News reader.

Moat: OpenRouter replacement (opens external site)

325 points by amanverasia 3 days ago | commandcode.ai | 163 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. I think the router format needs to be standardised. The openai chat API doesnt work great for routers.

    I haven't tested oh-my-pi, maybe it works. Can be a last resort (but I prefer the simplicity of pi).

    Replies (1)
    1. Oh I don't mean bootstrap a full router service; just the connection to any. Very simple because every router worth using implements the OpenAI and/or Anthropic API specs. The only thing that's really "custom" about a router that's relevant to base agent functionality is how to fetch and parse the list of models.

      A router service too should be fairly simple to setup though, as it's just a map of inference sources. The real work is in the deals struck with all those sources to get tokens priced so they can earn.