Skip to content

TextCortex API guides

Roll out a multi-model API in production

Roll out TextCortex API access with model allowlists, request validation, monitoring and EU-hosted routing where required.

Roll out a multi-model API in production

The practical takeaway

Build on a multi-model API.

Start with one well-defined API workload, make it observable, and expand model choices deliberately. Keep the client integration stable while the routing configuration evolves.

Establish a server-side API boundary

Keep the TextCortex key in the server environment and authenticate your own application’s users before making model requests. Limit the input size and parameters clients can submit.

Maintain approved model identifiers and default settings in configuration. Use separate configuration for workloads that require EU-hosted inference.

Validate before sending production traffic

Create a request set that covers normal inputs, malformed content, missing context and the model capabilities you use. Check output parsing, tools, streaming and cancellation.

Exercise application behavior for timeouts, invalid credentials, unknown models and rate limits. Keep retries bounded and avoid repeating external actions.

Introduce traffic gradually

Start with a small eligible workload. Compare success rate, latency and token usage against your acceptance criteria and previous configuration.

Record which model served each request. Keep enough information to diagnose regressions while minimizing the sensitive content retained in logs.

Expand with a release process

Adding a model is a product change when it can alter answers, cost or processing location.

  • Evaluate the new model on the established request set.
  • Review capabilities and regional requirements.
  • Promote the configuration with an explicit rollback path.
  • Monitor task outcomes after release.

Questions

Your next questions, answered.

Is TextCortex limited to open-source models?

No. The API provides access to proprietary model families such as GPT, Claude and Gemini alongside open-weight families such as Kimi, GLM, DeepSeek and MiMo. Use GET /models to list the identifiers available to your account.

Can I use an OpenAI-compatible client?

Yes. Configure the client with the TextCortex base URL and API key. Use a TextCortex model identifier and the parameters supported by that model. Model discovery, chat completions and responses are documented in the API reference.

How do I start using the API?

Sign up for TextCortex, create an API key in your account settings, and use https://api.textcortex.com/v1 as the base URL. Retrieve the model catalog, select a model identifier and send a chat-completion request.

TextCortex AI

One integration. Your choice of models.

Sign up for TextCortex, create an API key and start building with the models your application needs.

Sources and documentation

Product documentation and provider references used for this guide. Reviewed on 5 October 2026.