{"data":{"slug":"openpipe-openpipe","name":"OpenPipe","tagline":"Open-source fine-tuning and model-hosting platform","github_url":"https://github.com/OpenPipe/OpenPipe","owner":"OpenPipe","repo":"OpenPipe","owner_avatar_url":"https://avatars.githubusercontent.com/u/139012218?v=4","primary_language":"TypeScript","stars":2826,"forks":178,"topics":["ai","llm","llmops","prompt-engineering"],"archived":false,"github_pushed_at":"2024-05-25T00:18:13+00:00","maintenance_label":"Dormant","stars_delta_30d":14,"url":"https://www.graphcanon.com/tools/openpipe-openpipe","markdown_url":"https://www.graphcanon.com/tools/openpipe-openpipe.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/openpipe-openpipe","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=openpipe-openpipe","description":"Turn expensive prompts into cheap fine-tuned models","homepage_url":"https://openpipe.ai","license":"Apache-2.0","open_issues":8,"watchers":18,"ai_summary":"Turn expensive LLM-based prompts into cheaper, finely tuned models.","readme_excerpt":"## **Note:** we’ve temporarily stopped development on the open-source version of OpenPipe to integrate some proprietary third-party code. We hope to make the non-proprietary parts of the repository open again under an open core model once we have the bandwidth to do so!\n\n <p align=\"center\">\n  <a href=\"https://openpipe.ai\">\n    <img height=\"70\" src=\"https://github.com/openpipe/openpipe/assets/41524992/70af25fb-1f90-42d9-8a20-3606e3b5aaba\" alt=\"logo\">\n  </a>\n</p>\n<h1 align=\"center\">\n  OpenPipe\n</h1>\n\n<p align=\"center\">\n  <i>Open-source fine-tuning and model-hosting platform.</i>\n</p>\n\n<p align=\"center\">\n  <a href=\"/LICENSE\"><img alt=\"License Apache-2.0\" src=\"https://img.shields.io/github/license/openpipe/openpipe?style=flat-square\"></a>\n  <a href='http://makeapullrequest.com'><img alt='PRs Welcome' src='https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square'/></a>\n  <a href=\"https://github.com/openpipe/openpipe/graphs/commit-activity\"><img alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/m/openpipe/openpipe?style=flat-square\"/></a>\n  <a href=\"https://github.com/openpipe/openpipe/issues\"><img alt=\"GitHub closed issues\" src=\"https://img.shields.io/github/issues-closed/openpipe/openpipe?style=flat-square\"/></a>\n <img src=\"https://img.shields.io/badge/Y%20Combinator-S23-orange?style=flat-square\" alt=\"Y Combinator S23\">\n</p>\n\n<p align=\"center\">\n  <a href=\"https://app.openpipe.ai/p/BRZFEx50Pf/request-logs\">Demo</a> - <a href=\"#running-locally\">Running Locally</a> - <a href=\"https://docs.openpipe.ai\">Docs</a>\n</p>\n\n<br>\nUse powerful but expensive LLMs to fine-tune smaller and cheaper models suited to your exact needs. Query your past requests and evaluate models against one another. Switch between OpenAI and fine-tuned models with one line of code.\n<br>\n\n## Features\n\n- Easy integration with OpenAI's SDK in both Python and TypeScript.\n  - [Python SDK](https://pypi.org/project/openpipe/)\n  - [TypeScript SDK](https://www.npmjs.com/package/openpipe)\n- OpenAI-compatible chat completions endpoint.\n- Fine-tune GPT 3.5, Mistral, and Llama 2 models. Host on-platform or download the weights.\n  - Model output is OpenAI-compatible.\n  - Switching from GPT 4 to a fine-tuned Mistral model only requires changing the model name.\n- Query logs using powerful built-in filters.\n- Import datasets in OpenAI-compatible JSONL files.\n- Prune large chunks of duplicate text like system prompts.\n- Compare output accuracy against base models like gpt-3.5-turbo.\n\n## Supported Base Models\n\n- [mistralai/Mixtral-8x7B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1)\n- [OpenPipe/mistral-ft-optimized-1227](https://huggingface.co/OpenPipe/mistral-ft-optimized-1227)\n- [meta-llama/Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B)\n- [meta-llama/Llama-3-70B](https://huggingface.co/meta-llama/Meta-Llama-3-70B)\n- [gpt-3.5-turbo-0613](https://openai.com/blog/gpt-3-5-turbo-fine-tuning-and-api-updates)\n- [gpt-3.5-turbo-1106](https://openai.com/blog/gpt-3-5-turbo-fine-tuning-and-api-updates)\n- [gpt-3.5-turbo-0125](https://openai.com/blog/gpt-3-5-turbo-fine-tuning-and-api-updates)\n\n## Documentation\n\n- See [docs](https://docs.openpipe.ai/introduction)\n\n## Running Locally\n\n1. Install [Postgresql](https://www.postgresql.org/download/).\n2. Install [NodeJS 20](https://nodejs.org/en/download/current) (earlier versions will very likely work but aren't tested).\n3. Install `pnpm`: `npm i -g pnpm`\n4. Clone this repository: `git clone https://github.com/openpipe/openpipe`\n5. Install the dependencies: `cd openpipe && pnpm install`\n6. Create a `.env` file (`cd app && cp .env.example .env`) and enter your `OPENAI_API_KEY`.\n7. If you just installed postgres and wish to use the default `DATABASE_URL` run the following commands:\n\n```sh\npsql postgres\nCREATE ROLE postgres WITH LOGIN PASSWORD 'postgres';\nALTER ROLE postgres SUPERUSER;\n```\n\n8. Update `DATABASE_URL` if necessary to point to your Postgres instance an","github_created_at":"2023-06-20T00:55:24+00:00","created_at":"2026-07-07T17:42:28.410807+00:00","updated_at":"2026-08-20T12:02:14.09199+00:00","categories":[{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"},{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"}],"tags":[{"slug":"ai","name":"ai"},{"slug":"fine-tuning","name":"fine-tuning"},{"slug":"llm","name":"llm"},{"slug":"model-hosting","name":"model-hosting"},{"slug":"openai-compatible","name":"openai-compatible"},{"slug":"prompt-engineering","name":"prompt-engineering"}],"trust":{"provenance":{"is_fork":false,"github_id":655949187,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-20T12:02:12.904Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":817,"last_release_at":null,"stars_delta_30d":14,"open_issues_delta_30d":-1},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:21:05.779Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-20T12:02:13.366Z"},"languages":{"value":["typescript"],"source":"github.language","observed_at":"2026-08-20T12:02:13.366Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-20T12:02:13.366Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["If you need to integrate with OpenAI's SDK in Python or TypeScript easily","When aiming to fine-tune GPT-3.5, Mistral, and Llama 2 models while maintaining OpenAI compatibility"],"when_not_to_use":["Avoid if requiring real-time support or updates as development is currently paused for integration of proprietary code","Not ideal for users needing immediate access to the latest features due to its transition phase"],"source":"enrich:decision_facts","observed_at":"2026-07-12T13:49:00.389Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"OpenPipe is an open-source fine-tuning platform for cheaper model hosting and training, currently in a transition phase."}]}}