Skip to content

TextCortex API · Models and routing

Every model family. One place to connect.

Explore proprietary and open-weight models through TextCortex’s API: GPT, Claude, Gemini, Kimi, GLM, DeepSeek, MiMo and more.

One API. Every model family.
GPTOpenAI
ClaudeAnthropic
GeminiGoogle
GLM5.3
DeepSeek
KimiK3
MiMo
TextCortex
GPT, Claude, Gemini and open-weight models. Routed through TextCortex.

Why TextCortex

Choose across providers, not between integrations.

Use a single API to compare model families and power different features. Retrieve the current identifiers from your account catalog, then select a model in each request.

01

Proprietary and open-weight models

Access GPT, Claude, Gemini, Kimi, GLM, DeepSeek, MiMo and more through TextCortex. Choose models from the catalog available to your account.

02

One OpenAI-compatible API

Use a familiar client, one TextCortex API key and a common base URL. Change the model identifier to switch between supported models.

03

EU-hosted model options

Use EU-hosted routes for European inference requirements. Hosting depends on the selected model and route; the wider catalog also includes other deployments.

Proprietary model families

Bring leading proprietary models into the same integration as your open-weight choices. Select the version and capabilities exposed to your account.

  • GPT models from OpenAI.
  • Claude models from Anthropic.
  • Gemini models from Google.

EU-hosted model pages

Explore the European deployments requested for this model collection. Hosting is attached to the selected route, not to every model in the wider catalog.

Read identifiers from the API

Call GET /models with your TextCortex key. Use the returned identifier in your request rather than constructing one from a display name. Model versions can change independently of the application using them.

Keep a versioned list of approved models in your application configuration. Evaluate new entries before moving production traffic, and remove retired identifiers from your task mapping.

Choose by the result you need

For coding, run the output against your project checks. For extraction, score field accuracy and output validity. For a user-facing assistant, measure helpfulness and response time on representative conversations.

Use the model selection guide to compare candidates and the API pricing guide to estimate usage.

Make your first API request

Create a TextCortex account and generate an API key in account settings. Install the OpenAI Python package on your server. Store the key in TEXTCORTEX_API_KEY and set TEXTCORTEX_MODEL to an identifier returned by GET /models.

This example keeps credentials in environment variables. The same client configuration works when you choose another supported model. Read the API reference for endpoint-specific parameters.

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["TEXTCORTEX_API_KEY"],
    base_url="https://api.textcortex.com/v1",
)

for model in client.models.list():
    print(model.id)

response = client.chat.completions.create(
    model=os.environ["TEXTCORTEX_MODEL"],
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

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.

Are all models in the catalog EU-hosted?

TextCortex offers EU-hosted model routes and a broader multi-provider catalog. Select the EU-hosted deployment required by your application; catalog membership alone does not establish where a particular request is processed.

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.