An unofficial, read-only Hacker News reader. Join the beta →

Moat: OpenRouter replacement (opens external site)

323 points by amanverasia 1 day ago | commandcode.ai | 161 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. > pi doesnt support them

    Oh My Pi may have support. But also you can have Pi extend itself with that support. If you're starting from zero, Get ChatGPT or another provider with web chat to bootstrap the extension.

    Someone will eventually make a "router bootstrapper" recipe (if there isn't already) so anyone can generate code for a new router specific to their agent.

    Replies (1)
    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.