Text-Generator: One API across many AI providers
Text-Generator is an open-source, OpenAI-compatible API that routes chat, code, reasoning and vision requests to a network of AI model providers.
What is Text-Generator?
Text-Generator is an OpenAI-compatible API that reaches a network of leading model providers through a single endpoint. Requests can target an exact model ID or use Auto profiles such as Auto Fast, Auto Cheap, Auto Code, Auto Reasoning and Auto Vision, which pick a model based on the task. Built-in fallbacks keep requests moving when a provider is rate-limited or unavailable, and model selection happens without sending the prompt through another AI call. The platform is fully open source, from the API to the router, and can be self-hosted. Developers keep their existing OpenAI SDK and change only the base URL and key. Usage runs through one credit balance, and you can use the managed gateway or bring your own provider keys.
Who is Text-Generator for?
- Developers adding chat, code or vision features to an app
- Teams that want provider fallback without managing multiple integrations
- Engineers who need to self-host or inspect the routing code
Is Text-Generator worth it?
A practical choice for teams that want one OpenAI-compatible endpoint with provider fallback and an open-source path
Where Text-Generator is strong
- OpenAI-compatible endpoint, so existing SDK code needs only a base URL change
- Automatic model selection profiles plus exact model IDs when consistency matters
- Fully open source with a self-hosting path
Where it falls short
- The source does not state specific subscription or credit prices
- Speech-to-text and crawling are mentioned in the tagline but not detailed in the source
How do you get started with Text-Generator?
- 01Create a free account and generate an API key
- 02Point the OpenAI client at the Text-Generator base URL and pick a model ID such as text-generator/auto
- 03Send a chat completion request and review the routing metadata in the response headers
Text-Generator: frequently asked questions
Is Text-Generator compatible with the OpenAI SDK?
Yes. The source shows Python, JavaScript, cURL and OpenAI SDK examples that only change the base URL to https://api.text-generator.io/v1 and use a Text-Generator API key.
How does automatic model selection work?
Auto profiles such as Auto Fast, Auto Cheap, Auto Code, Auto Reasoning and Auto Vision match each request to a model based on speed, quality and cost needs, and the source states that selection happens without sending your prompt through another AI call.
What happens if a provider is unavailable?
The platform includes built-in fallbacks so requests keep moving when a provider is rate-limited or unavailable. The Auto Reasoning page lists a fallback path through Claude Opus, DeepSeek Reasoner and Gemini 2.5 Pro.
Can I self-host it?
The source says the complete platform is available on GitHub and that it is fully open source, so you can inspect the code and run it yourself.
Text-Generator alternatives
The closest tools in our directory, matched on category, focus areas and audience.
| Tool | Best for | Free plan | Starting price | Focus areas |
|---|---|---|---|---|
| Text-Generator | Developers routing chat, code and vision requests across providers | Yes | — | — |
| Cloudglue | Developers adding video search and chat to AI products | Yes | $15/mo | — |
| Awan LLM | Developers and power users wanting flat-rate LLM API usage | Yes | $5/mo | — |
| LangSearch | Grounding AI agents in current web sources | Yes | Free | — |
| ModelsLab | Developers who want many generative models behind one API | No | $21/mo | — |
| Runware | Developers running many AI models or custom GPU workloads | No | — | — |
| Flaq AI | Developers routing image, video and LLM calls through one API | No | — | — |
| APIMart | Developers who want one API key across many AI models | No | — | — |
| PoYo.ai | Developers needing many generation models behind one API | No | — | — |
| Maximo AI | Developers wanting an OpenAI-compatible API over hosted models | Unknown | — | — |
| Morph: Apply AI edits to files FAST | Coding agent teams needing fast, accurate edit application | Unknown | — | — |
