Skip to content

RouterBase/routerbase-cookbook

Repository files navigation

RouterBase Cookbook

RouterBase is an OpenAI-compatible API gateway that lets developers call many AI models from one base URL: https://routerbase.com/v1.

This cookbook collects practical tutorials, copy-ready prompts, and small examples for teams evaluating RouterBase in real applications.

Static site:

  • https://routerbase.github.io/routerbase-cookbook/

Start Here

Examples

  • examples/node/routerbase-fetch.mjs: dependency-free Node.js helper for chat completions and model listing.
  • examples/python/routerbase_cookbook.py: dependency-free Python helper using the standard library.

Run local checks:

npm run verify

Article Drafts

These drafts are written for content platforms and can be published after account review:

  • article-drafts/devto-openai-compatible-routerbase.md
  • article-drafts/hashnode-single-base-url.md

Useful Links

License

MIT

About

Practical tutorials, article drafts, and examples for RouterBase.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors