OpenRouterTeam/openrouter-examples
Examples of integrating the OpenRouter API
This project provides practical, ready-to-use code examples for integrating the OpenRouter API into various applications. It takes your OpenRouter API key and specific API calls, showing you exactly how to implement features like prompt caching using different programming tools. This is ideal for developers building applications that leverage large language models through OpenRouter, enabling them to quickly see how to interact with the API in their preferred environment.
303 stars.
Use this if you are a developer looking for concrete, runnable code snippets to integrate OpenRouter's features, like prompt caching, into your shell scripts or TypeScript applications.
Not ideal if you are an end-user without programming experience or if you need a graphical interface to interact with OpenRouter.
Stars
303
Forks
50
Language
TypeScript
License
MIT
Category
Last pushed
Jan 16, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/OpenRouterTeam/openrouter-examples"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
OpenCSGs/csghub-server
csghub-server is the backend server for CSGHub which helps user to manage datasets, modes, and...
Whth/fabricatio
Fabricatio is a Python library designed for building applications that leverage Large Language...
OpenCSGs/csghub
CSGHub is a brand-new open-source platform for managing LLMs, developed by the OpenCSG team. It...
Haidra-Org/horde-sdk
A python library to interact with AI-Horde's free generative AI APIs
Lightning-AI/litAI
LLM router + minimal agent framework in one. Call any LLM API with OpenAI format. Unified...